Commit graph

1662 commits

Author SHA1 Message Date
Spencer Alger
1bec508c1f fixed time comparison logic in discover, wrote tests to prove it. 2014-08-07 14:44:48 -07:00
Spencer Alger
bf3b6d8dbb fixed time comparison logic in discover, wrote tests to prove it. 2014-08-07 14:44:48 -07:00
Spencer Alger
9c68fe0de3 fixed a bug in diff_object, wrote a test to prove it. 2014-08-07 14:44:02 -07:00
Spencer Alger
5a05d6dab3 fixed a bug in diff_object, wrote a test to prove it. 2014-08-07 14:44:02 -07:00
Shelby Sturgis
6f6e054fda Merge branch 'develop' into vislib/refactor1
Merging develop
2014-08-07 21:38:12 +03:00
Spencer Alger
b459bb3d14 fixed a test case that was checking for empty too soon. 2014-08-07 10:48:23 -07:00
Spencer Alger
cb19464882 fixed a test case that was checking for empty too soon. 2014-08-07 10:48:23 -07:00
Shelby Sturgis
b6a62d4a8c adding labels test suite to test index.html file 2014-08-07 20:26:55 +03:00
Shelby Sturgis
181f3a4951 adding labels test and update to color tests suite from Juan's repo 2014-08-07 20:24:47 +03:00
Shelby Sturgis
7940f92cf7 adding vislib unit tests: 2014-08-07 20:16:38 +03:00
Shelby Sturgis
36e3ae8981 adding vislib tests and new refactored vislib modules 2014-08-07 20:13:02 +03:00
Spencer Alger
6908e7e795 moved "listener.defer.resolved" off of the defer object, rebuilding logic now in one place 2014-08-06 15:20:25 -07:00
Spencer Alger
6d5847a4d7 moved "listener.defer.resolved" off of the defer object, rebuilding logic now in one place 2014-08-06 15:20:25 -07:00
Joe Fleming
e652474e99 use bluebird promises instead of scopeApply, since it gives us verbose errors 2014-08-06 15:01:02 -07:00
Joe Fleming
d650cf92a4 use bluebird promises instead of scopeApply, since it gives us verbose errors 2014-08-06 15:01:02 -07:00
Joe Fleming
213fa420a5 ensure we can emit from inside the handler 2014-08-06 14:42:02 -07:00
Joe Fleming
2081daa7b4 ensure we can emit from inside the handler 2014-08-06 14:42:02 -07:00
Joe Fleming
e9a0a9725f remove .only, use auto release sinon, stub notifier, make sure errors are sent to nofity.fatal 2014-08-06 14:15:27 -07:00
Joe Fleming
8dd3591769 remove .only, use auto release sinon, stub notifier, make sure errors are sent to nofity.fatal 2014-08-06 14:15:27 -07:00
Joe Fleming
bd178e195c remove promiseemitter, properly handle synchronous emits, add tests 2014-08-06 13:46:32 -07:00
Joe Fleming
6985470fe1 remove promiseemitter, properly handle synchronous emits, add tests 2014-08-06 13:46:32 -07:00
Spencer Alger
ea003c2582 renamed factories/_base_object and factories/_events so they are not marked private 2014-08-05 17:01:32 -07:00
Spencer Alger
25162258d5 renamed factories/_base_object and factories/_events so they are not marked private 2014-08-05 17:01:32 -07:00
Chris Cowan
90beb6a7db Adding changes from feedback:
- Cleared listners on emit
- Added an off method to Events
- Added destory to State
2014-08-05 13:59:58 -07:00
Chris Cowan
b45933217d Adding changes from feedback:
- Cleared listners on emit
- Added an off method to Events
- Added destory to State
2014-08-05 13:59:58 -07:00
Chris Cowan
30f5469429 Removing isolated_scope and replacing it with events (PromiseEmitter) 2014-08-05 12:46:15 -07:00
Chris Cowan
6897ceda63 Removing isolated_scope and replacing it with events (PromiseEmitter) 2014-08-05 12:46:15 -07:00
Chris Cowan
6565df8f64 Removing angular-mocks 2014-08-05 12:46:15 -07:00
Chris Cowan
aa8981f2f7 Removing angular-mocks 2014-08-05 12:46:15 -07:00
Chris Cowan
5f739b8f4d Moving event to use Angular event's system 2014-08-05 12:46:15 -07:00
Chris Cowan
4a81f871ca Moving event to use Angular event's system 2014-08-05 12:46:15 -07:00
Chris Cowan
c8da15ae0a State Object Refactor
Refactored the State object to clean some things up and add some tests.
Also fixed the defaults so they are properly applied.

- Changed State#commit to State#save()
- Added a base class for State
- Refactored AppState to inherit State
- Refactored GlboalState to inherit State
- Added utils/diff_object with tests for creating a diff report and
  applying the changes to the target while ignorning vars with an
  underscore prefix and functions
2014-08-05 12:46:15 -07:00
Chris Cowan
f6159de406 State Object Refactor
Refactored the State object to clean some things up and add some tests.
Also fixed the defaults so they are properly applied.

- Changed State#commit to State#save()
- Added a base class for State
- Refactored AppState to inherit State
- Refactored GlboalState to inherit State
- Added utils/diff_object with tests for creating a diff report and
  applying the changes to the target while ignorning vars with an
  underscore prefix and functions
2014-08-05 12:46:15 -07:00
Chris Cowan
c6c83806a8 Moving event to use Angular event's system 2014-08-05 12:46:14 -07:00
Chris Cowan
96d3d2926c Moving event to use Angular event's system 2014-08-05 12:46:14 -07:00
Chris Cowan
07e3cb2948 State Object Refactor
Refactored the State object to clean some things up and add some tests.
Also fixed the defaults so they are properly applied.

- Changed State#commit to State#save()
- Added a base class for State
- Refactored AppState to inherit State
- Refactored GlboalState to inherit State
- Added utils/diff_object with tests for creating a diff report and
  applying the changes to the target while ignorning vars with an
  underscore prefix and functions
2014-08-05 12:45:01 -07:00
Chris Cowan
42f444118d State Object Refactor
Refactored the State object to clean some things up and add some tests.
Also fixed the defaults so they are properly applied.

- Changed State#commit to State#save()
- Added a base class for State
- Refactored AppState to inherit State
- Refactored GlboalState to inherit State
- Added utils/diff_object with tests for creating a diff report and
  applying the changes to the target while ignorning vars with an
  underscore prefix and functions
2014-08-05 12:45:01 -07:00
Spencer Alger
d73abecbe1 refactored discover hit sort, added tests 2014-08-04 14:36:08 -07:00
Spencer Alger
9f280efad1 refactored discover hit sort, added tests 2014-08-04 14:36:08 -07:00
Spencer Alger
e46b6b488d automatically mock angular in the tests
added SearchSource#getNormalizedSort() method

Closes #217
2014-08-01 14:13:28 -07:00
Spencer Alger
6b149b25ce automatically mock angular in the tests
added SearchSource#getNormalizedSort() method

Closes #217
2014-08-01 14:13:28 -07:00
Spencer Alger
9fce04d47a removed courier tests 2014-08-01 12:24:35 -07:00
Spencer Alger
ac2c11def0 removed courier tests 2014-08-01 12:24:35 -07:00
Rashid Khan
05e65b3d2d Add simple test for spinner 2014-07-30 11:02:03 -07:00
Rashid Khan
3ee0553880 Add simple test for spinner 2014-07-30 11:02:03 -07:00
Spencer Alger
29fb533a45 fixed refs that pointed to modules removed in 0eca7724ce 2014-07-22 15:14:02 -07:00
Spencer Alger
d6f412f8b2 fixed refs that pointed to modules removed in 0eca7724ce 2014-07-22 15:14:02 -07:00
Spencer Alger
9f0f69d1bd provide hooks for app loading lifecycle, using them to prevent race condition in tests 2014-07-22 11:22:58 -07:00
Spencer Alger
8142626b6d provide hooks for app loading lifecycle, using them to prevent race condition in tests 2014-07-22 11:22:58 -07:00
Spencer Alger
1d58055cf8 completed the splitting of _wrap_route_with_prep.js 2014-07-16 11:43:36 -07:00