Victor Woeltjen
ad5691142e
[Code Style] Rename shadowing variables
2016-05-20 13:05:32 -07:00
Victor Woeltjen
fa77139077
[Code Style] Run gulp fixstyle
...
...to apply code style settings from #142 .
2016-05-19 11:29:13 -07:00
Victor Woeltjen
0b11ddbcfd
[Build] Satisfy JSHint
...
Restore globals lost during removal due to merge, remove unused
variables and use threequals in new scripts.
2016-04-08 16:22:40 -07:00
Victor Woeltjen
5088453712
[Build] Remove use strict, global
...
Remove usages of use strict and global declarations that are
no longer necessary with JSHint configuration, from files
added/changed since #724
2016-04-08 16:11:12 -07:00
Victor Woeltjen
d6ec7e9ab8
[Build] Remove unused variables from specs
...
...to satisfy JSHint.
2016-03-04 12:56:14 -08:00
Victor Woeltjen
f34ef8c4c8
[Build] Add global declarations to mocks
2016-03-04 11:53:08 -08:00
Victor Woeltjen
ac5ac8d34e
[Build] Remove boilerplate from scripts
...
No longer necessary after JSHint configuration.
2016-03-04 10:46:38 -08:00
Victor Woeltjen
53a49a671b
[Create] Test optional filter parameter
2016-02-10 14:31:56 -08:00
Victor Woeltjen
99a454f943
[Create] Update CopyService spec
...
...to reflect API usage after #656
2016-02-10 14:21:09 -08:00
Victor Woeltjen
0f231838ec
[Create] Update test inputs to CopyTask
...
...to reflect changes for #656
2016-02-10 14:05:04 -08:00
Victor Woeltjen
995d71f901
[Duplicate] Add test case
...
Add test case for single-element string arrays, to
replicate bug around type coercion.
https://github.com/nasa/openmctweb/issues/444
2015-12-17 15:07:16 -08:00
Henry
6302e45c10
Fixed bug in copying #428
2015-12-17 13:47:31 -08:00
Henry
83e77303aa
[Copy] Duplication of layouts does not retain position and size of all elements. #428
2015-12-16 11:11:20 -08:00
Victor Woeltjen
19f07aa398
[Duplicate] Add trailing newline
2015-12-08 16:34:36 -08:00
Victor Woeltjen
46f9b31cff
[Duplicate] Test rewriting of identifiers
2015-12-08 16:27:46 -08:00
Henry
6aa77ff468
#338 fixed failing test
2015-12-03 16:41:06 -08:00
Henry
96249e6bcc
Removed redundant line in test spec
2015-12-03 15:51:27 -08:00
Henry
baec0f9719
#338 added new test case for creation of links when object type is not createable
2015-12-03 15:28:07 -08:00
Henry
6aab9f4e34
Added test for linking
2015-12-03 14:47:42 -08:00
Henry
734e979c94
#338 Fixed failing tests after refactor
2015-12-03 12:49:54 -08:00
Henry
793ed7ebe6
[UI] Progress indicator for pending operations - Refactoring for code clarity
2015-11-05 17:32:52 -08:00
Henry
e1c6c76612
Refactored some CopyService functions out to CopyTask
2015-11-05 16:39:46 -08:00
Henry
21a37db15b
#127 fixed failing test caused by fix for persistence spaces
2015-11-05 11:50:56 -08:00
Andrew Henry
863c3f1720
Fixed jslint issues
2015-11-04 20:48:22 -08:00
Henry
5e1b0f38b7
Migrated to using notifications and fixed tests
2015-11-04 20:26:23 -08:00
Henry
bd1c3cb7da
All test cases passing + added test cases for copy
2015-11-04 20:26:23 -08:00
Henry
cbd21212d1
Original tests that are still valid are passing
2015-11-04 20:26:23 -08:00
Henry
5cd458a733
Updating tests
2015-11-04 20:26:23 -08:00
Andrew Henry
2f90a89065
Fixed more failing tests
2015-11-04 20:26:23 -08:00
Henry
4312857fd4
Fixed failing tests
2015-11-04 20:26:22 -08:00
Andrew Henry
6c4c53dde7
Debugging test failures
2015-11-04 20:26:17 -08:00
Pete Richards
70bc17c79f
Merge remote-tracking branch 'github-open/open97' into open-master
2015-09-23 13:44:48 -07:00
Victor Woeltjen
fa60d62039
[Entanglement] Simplify test case
...
...per review feedback from nasa/openmctweb#98
2015-09-23 12:49:04 -07:00
Victor Woeltjen
082122ddec
[Entanglement] Move policyService.allow.andReturn
...
...to locations where the specified return value
can be more closely correlated to the relevant
test cases. nasa/openmctweb#98
2015-09-23 12:46:23 -07:00
Victor Woeltjen
6dbccd5000
[Entanglement] Update test cases around error-throwing
...
...per code review feedback, nasa/openmctweb#97
2015-09-23 12:43:03 -07:00
Victor Woeltjen
4743833f7c
[Entanglement] Verify revalidation
...
Verify that move/copy/link revalidate when performed and
throw errors when moving/copying/linking would be invalid.
nasa/openmctweb#98
2015-09-22 15:49:22 -07:00
Victor Woeltjen
6996883b85
[Entanglement] Update specs
...
Update specs for move/copy/link services to account
for re-validation at time an action is performed.
nasa/openmctweb#98
2015-09-22 15:42:39 -07:00
Victor Woeltjen
597b18af1c
[LinkService] Amend test cases
...
Remove redundant test case; modify composition-checking
test case to expose correct capability information.
In response to feedback from nasa/openmctweb#98
2015-09-22 14:07:46 -07:00
Victor Woeltjen
411f0d904d
[Entanglement] Test LocatingObjectDecorator
2015-09-17 14:45:05 -07:00
Victor Woeltjen
b2649de649
[Composition] Update specs
...
Update specs for changes to the return value of
composition.add, nasa/openmctweb#97
2015-09-02 11:45:52 -07:00
Victor Woeltjen
8759fdbd95
[Composition] Update specs
...
Update specs to reflect usage of the add method in
the composition capability.
2015-09-02 09:37:26 -07:00
Victor Woeltjen
b39753d0a6
[Entanglement] Separate out location
...
Separate out location property from the CreationService,
instead handle in the entanglement bundle; this is
consistent with changes for identity management (attaching
a creator to newly-created domain object models).
for nasa/openmctweb#92
2015-09-01 10:57:56 -07:00
Pete Richards
a94763041e
[Move] correct logic and specification
2015-08-19 13:16:36 -07:00
Pete Richards
9cf30f4213
[Location] setPrimaryLocation takes location.
...
Rename "persistLocation" to be more clearly named, and make it take an
argument to allow for greater control outside the capability.
2015-08-19 11:25:41 -07:00
Pete Richards
c80e9bfa26
[Style] JSLint Compliance
2015-08-06 15:21:28 -07:00
Pete Richards
f72f88adfa
[Location] Use parent id as location
...
Use the parent id as the location for a model.
This greatly reduces the recursive work that must be done
during move operations to keep the location accurate.
Additionally, the locationService now implements a method
`persistLocation` which can be used to persist the current object
location as it's original location.
2015-08-06 15:05:47 -07:00
Pete Richards
10ec30ba76
[Entanglement] MoveService updates the location of moved objects
...
The move service updates the location of moved objects when those
objects are originals.
2015-08-06 15:05:46 -07:00
Pete Richards
3fb4296d23
[Testing] MockLinkService returns linked object
...
MockLinkService.perform returns a promise for the linked domainObject.
When resolving the promise and not specifying an object to resolve it
with, it will resolve it with the domainObject that was originally
passed to it.
2015-08-06 15:05:46 -07:00
Pete Richards
197ec0eb2c
[Tests] Update Link Service Tests
2015-08-06 15:05:42 -07:00
Pete Richards
3783ed69d7
[Entanglement] Move updates location of originals
...
When moving original objects, the location is updated to match the new
location.
2015-08-06 15:03:08 -07:00