aboutsummaryrefslogtreecommitdiffstats
path: root/test/service/deferSpec.js
AgeCommit message (Collapse)Author
2012-03-28chore(module): move files around in preparation for more modulesMisko Hevery
2012-01-12refactor(module): strict separation between module-config / app-runtimeMisko Hevery
2012-01-09feat(browser.defer): flush should throw exception when queue is emptyIgor Minar
2011-11-14refactor(injector): switch to injector 2.0 introduce modulesMisko Hevery
2011-11-14refactor(injector): turn scope into a serviceMisko Hevery
- turn scope into a $rootScope service. - injector is now a starting point for creating angular application. - added inject() method which wraps jasmine its/beforeEach/afterEach, and which allows configuration and injection of services. - refactor tests to use inject() where possible BREAK: - removed angular.scope() method
2011-10-22fix(defer.cancel): should return false instead of undefinedIgor Minar
2011-10-22feat($defer): add $defer.cancelIgor Minar
This functionality was previously available only as obscure $browser.defer.cancel. I also added docs and tests and fixed an issue in .defer.cancel mock.
2011-10-11chore(formating): clean code to be function() {Misko Hevery
2011-08-02feat(scope): new and improved scope implementationMisko Hevery
- Speed improvements (about 4x on flush phase) - Memory improvements (uses no function closures) - Break $eval into $apply, $dispatch, $flush - Introduced $watch and $observe Breaks angular.equals() use === instead of == Breaks angular.scope() does not take parent as first argument Breaks scope.$watch() takes scope as first argument Breaks scope.$set(), scope.$get are removed Breaks scope.$config is removed Breaks $route.onChange callback has not "this" bounded
2011-07-18feat(strict mode): adding strict mode flag to all js filesIgor Minar
the flag must be in all src and test files so that we get the benefit of running in the strict mode even in jstd the following script was used to modify all files: for file in `find src test -name "*.js"`; do echo -e "'use strict';\n" > temp.txt cat $file >> temp.txt mv temp.txt $file done
2011-07-18fix(strict mode): fix all issues discovered by strict mode and unit/e2e testsIgor Minar
2011-05-31Rename deprecated wasCalled() -> toHaveBeenCalled() in all specsVojta Jina
As well as wasNotCalled(), wasCalledWith(), wasNotCalledWith()
2011-02-25Added delay parameter to the $defer serviceMisko Hevery
2011-02-15split up services into individual filesIgor Minar
- split up services into files under src/service - split up specs into files under test/service - rewrite all specs so that they don't depend on one global forEach - get rid of obsolete code and tests in ng:switch - rename mock $log spec from "$log" to "$log mock"