aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2011-07-01fix:$browser mock: defer.flush() should flush all fnsIgor Minar
2011-06-30feat:$xhr: provide access to $xhr header defaultsIgor Minar
$xhr header defaults are now exposed as $xhr.defaults.headers.common and $xhr.default.headers.<httpmethod>. This allows applications to configure their defaults as needed. This commit doesn't allow headers to be set per request, only per application. Per request change would require api change, which I tried to avoid *for now*.
2011-06-27fix:tests: replace angular.annotate with annotateIgor Minar
forgot to fix tests in 6aee2938a71c99fdd35639725c6900347999f658
2011-06-27test:ng#class: added a better unit test for ng:classDi Peng
2011-06-27fix:testabilityPatch: remove annotate since it's not publicIgor Minar
2011-06-23feat:filter.date: add day/month string format supportDi Peng
Support new date format, specifically day of week/Month of year in string e.g. {{ someDate | data:"EEE, MMM d, yyyy" }} -> "Wed, Jul 10, 2011" Closes #396
2011-06-23fix:ng:repeater - fix $position when collection size changesMisko Hevery
2011-06-23style:ApiSpecs - clean up test names to match jasmine conventionsMisko Hevery
2011-06-23fix:$orderBy - return unsorted array if no predicateMisko Hevery
Closes #399
2011-06-23fix:scope - reintroduce support for eager servicesDi Peng
8cad231 broke $eager services Problem is that the injector.eager function is not invoked when a new scope is created. Added a test to make sure service is eagerly instantiated. Closes #403
2011-06-23test:angular.service - add tests for $injectDi Peng
2011-06-17Fix failing unit tests in IE7 (Binder, select widget)Vojta Jina
The fix does not change any production code, we only need to ignore couple of attributes that IE7 should not display: * value attribute for LI * selected attribut for SELECT Simplified condition in compiler test, this should have been part of f9f0905f4ad7b1d0bb9b606a6d25fb1f88354a78
2011-06-17Fix compiler test for IE9Vojta Jina
Older IEs serialize html uppercased, but IE9 does not... Would be better to expect case insensitive, unfortuntaly jasmine does not allow to user regexps for throw expectations. Closes #392
2011-06-17Remove obsolete scenario folderVojta Jina
* moved scenario e2e tests in test/scenario/e2e folder * remove $location test
2011-06-16Added ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected to ↵Di Peng
markup.js. Also added coresponding descriptions live examples and tests for each directive to be displayed on the website. Closes #351
2011-06-15Fix test for scenario.Application - should remove old iframeVojta Jina
This behavior was changed by e83465c362c53ac7451183a775456f3112262f6e So this commit should have been part of e83465c362c53ac7451183a775456f3112262f6e Also removed hiding and navigating to about:blank as it makes no sense now...
2011-06-08remove ng:format=indexMisko Hevery
2011-06-08Added ng:options directiveMisko Hevery
Closes #301
2011-06-08Added prepend() to jqLiteMisko Hevery
2011-06-08Added support for deferring callbacks in timeMisko Hevery
2011-06-08Fixed indentation errorMisko Hevery
2011-06-08Throw error when compiling multiple rootsMisko Hevery
Closes #338
2011-06-08Refactor injector to have invoke method for speed reasonsMisko Hevery
2011-06-08Cleanup parser code to expose smaller APIMisko Hevery
2011-06-08Added HashMapMisko Hevery
2011-06-08Added nextUid() function for unified way of generating IDs in angularMisko Hevery
2011-06-08Proper handling of special attributes in jqliteMisko Hevery
2011-06-08fix JSON to match native browser behaviorMisko Hevery
2011-06-08better error reporting for exceptionsMisko Hevery
2011-06-08code cleanup: missing ; and indentationMisko Hevery
2011-06-08Number filter would return incorrect value when fractional part had leading ↵Misko Hevery
zeros.
2011-06-06added input#val methodDi Peng
Closes #237
2011-06-05renamed $pause to $sleep AND $wait to $pauseDi Peng
Closes #207
2011-06-02Fix CSS tests on OperaVojta Jina
Opera translates name colors to numbers (red -> #ff0000) Other browsers like FF or Chrome translate number to rgb (#ff0000 -> rgb(255, 0, 0) So avoiding colors in tests is probably the easiest solution...
2011-06-02Refactor $browser's lazy start pollingVojta Jina
+ unit tests
2011-06-02Fix hashchange event on IE8 compatibility modeVojta Jina
Stupid IE8 in compatibility mode or in IE7 mode returns true for `('onhashchange' in window)`, but does not support hashchange event. Closes #353
2011-06-02Fix unit test in IE7Vojta Jina
2011-05-31Rename deprecated wasCalled() -> toHaveBeenCalled() in all specsVojta Jina
As well as wasNotCalled(), wasCalledWith(), wasNotCalledWith()
2011-05-31Normalize IE XHR bug (status code 1223 to 204)Vojta Jina
See http://bugs.jquery.com/ticket/1450
2011-05-19Remove trailing white spaces from all source filesVojta Jina
find . -name "*.js" -print | xargs sed -Ei s/[[:space:]]*$//
2011-05-19JSTD adapter for running e2e testsVojta Jina
Couple of changes into angular.scenario runner: - add autotest config (runs tests when document ready) - update ObjectModel (forwards events) - use only one ObjectModel instance for all outputters - expose error msg and line number in ObjectModel.Spec and ObjectModel.Step - fix generating spec.ids - fix 'html' output so that it does not mutate ObjectModel Couple of changes into docs / generator: - rename copy -> copyTpl - move docs/static into docs/examples (to avoid conflict with jstd proxy) Running all docs e2e tests: ======================================================== 1/ compile angular-scenario, jstd-scenario-adapter >> rake compile 2/ build docs >> rake docs 3/ start jstd server >> ./server-scenario.sh 4/ capture some browser 5/ run node server to serve static content >> node ../lib/nodeserver/server.js 6/ run tests >> ./test-scenario.sh
2011-05-19XHR should add Content-type header only for POSTVojta Jina
Sending Content-type header causes JSTD (Jetty) proxy to change GET methods into POST.
2011-05-19Don't check url (by HEAD request) before navigateToVojta Jina
Removed angular.scenario.Application.checkUrlStatus_ method and these tests: * should call error handler if status check fails * should perform a HEAD request to verify file existence * should call error handler if status code is less than 200 * should call error handler if status code is greater than 299 * should call error handler if status code is greater than 299
2011-04-25Fix some typos, missing semi-colons, etc...Vojta Jina
This is a combination of 4 commits: * Fix some small typos, missing semi-colons, etc. * Fix comment for angular.scenario.SpecRunner.run method * Fixed some missing semi-colons in cookbook * Fixed missing semi-colon in nodeserver/server.js
2011-04-11add test for ng:view sync cache regressionIgor Minar
test for 9bd2c396
2011-04-09fix build for IE9Igor Minar
all unit tests now pass under IE9
2011-04-08fix e2e runner testsIgor Minar
2011-04-07use special nodeName_ impl only for IE<9Igor Minar
apparently IE9 is one step closer to becoming a real browser by treating xmlns-like ("foo:") prefixes in node names as part of the node name. fixes: https://groups.google.com/forum/?lnk=srg#!topic/angular/TGdrV4GsL8U
2011-04-04correct $resource's success callback executionIgor Minar
succcess callbacks should be executed for status codes in the range of <200,300).
2011-03-31encode query params correctly but not too agressivelyIgor Minar