aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2011-07-27feat($xhr): add custom error callback to $xhr, $xhr.cache, $xhr.bulk, $resourceKarl Seamon
Closes #408
2011-07-27style(): fix couple of missing semi-colonsVojta Jina
2011-07-26fix(ng:show/ng:hide): use jqLite.show/jqLite.hideDi Peng
The previous implementation didn't handle situation when in css something was hidden with a cascaded display:none rule and then we wanted to show it. Unfortunatelly our test doesn't test this scenario because it's too complicated. :-/
2011-07-26feat(number/currency filter): format numbers and currency using patternDi Peng
both numbers and currency need to be formatted using a generic pattern which can be replaced for a different pattern when angular is working in a non en-US locale for now only en-US locale is supported, but that will change in the future
2011-07-26style(ng:options): fix style and some docsIgor Minar
2011-07-26fix(ng:options): add support for option groupsMisko Hevery
Closes# 450
2011-07-26fix(directive): ng:options to support ng:changeMisko Hevery
Closes #463
2011-07-26fix(directive): ng:options to support iterating over objectsMisko Hevery
Closes #448
2011-07-26fix(directive): ng:options incorrectly re-grew options on datasource changeMisko Hevery
Closes #464
2011-07-26fix(directive): ng:options now support binding to expressionMisko Hevery
Closes #449
2011-07-26style(warnings): prevent the browser from making bogus GET requests during testsMisko Hevery
2011-07-26style(warnings): added missing semi colonsMisko Hevery
2011-07-22feat(angular.version): add angular.versionDi Peng
- placeholders are replaced with actual angular versions when doing rake compile
2011-07-20feat(filter.date): add support for default datetime formats in enDi Peng
- add support for full,long, medium, short datetime formats in en Breaks MMMMM. now we don't support MMMMM anymore as old implementation differs from Unicode Locale Data format we are following. - removed support for fullDateTime and fullTime as it means too much trouble with full timeZone names - added docs for the new features
2011-07-20feat(TzDate): add mock "toString" method to TzDate.Di Peng
- If the third param of TzDate constructor is defined, toStirng will just return this third parameter. Otherwise, toString will still be treated as unimplemented method
2011-07-19Revert "fix(ng:class): preserve classes added post compilation"Igor Minar
This reverts commit 2428907259fa80ec3b1b4bfd85ea20028a9f4fa5. We decided to revert this because it is not bullet proof. The issue is that we can't reliably have both angular and non-angular code in charge of the DOM. We could work around some issues here and there, but we can't do it reliably, so it's better not to support DOM manipulation that happens outside of angular. There is a good chance that once we integrate with MDVs our possition will change, but until then our position is that only angular or angular widgets/directives can change change DOM that was compiled.
2011-07-18feat($browser.$defer.cancel): support canceling defered tasksIgor Minar
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-07-18refactor($browser): hide startPoll and poll methodsDiPeng
Breaks $browser.poll() method is moved inline to $browser.startpoll() Breaks $browser.startpoll() method is made private Refactor tests to reflect updated browser API Closes #387
2011-07-17style(jqLiteSpec): add spaceDi Peng
2011-07-17feat(jqlite): added show(),hide() and eq() methods to jqliteDi Peng
- add those three methods to jqlite
2011-07-13fix(ng:class): preserve classes added post compilationDi Peng
- make sure ng:class preserve classes added after compilation Closes #355
2011-07-13refactor($browser.xhr): use $browser.addJs for JSONPIgor Minar
There is no reason why we shouldn't reuse $browser.addJs for JSONP requests.
2011-07-13fix($browser.addJs): make addJs jQuery compatibleIgor Minar
Change addJs implementation to avoid use of jQuery because of issues that affect angular-ie-compat.js. See inlined comment for more info.
2011-07-13fix($browser.xhr): properly delete jsonp callbacksIgor Minar
2011-07-12fix:jqLite: Set event.target on IE<8Vojta Jina
IE<8's Event has not target property - it has srcElement property. Fix that to be consistent as jQuery.
2011-07-12fix:jqLite: Normalize non-existing attributes to undefined as jQueryVojta Jina
jqLite was returning null, but jQuery returns undefined
2011-07-12fix:jqLite: Fix binding to more events separated by spaceVojta Jina
The var eventHandler was defined outside forEach loop, so registering more events caused calling listeners registered by the last one. Regression: elm.bind('click keyup', callback1); elm.bind('click', callback2); elm.bind('keyup', callback3); Firing click event would have executed callback1, callback3 !
2011-07-12test(ng:repeat): add tests for $position for small arrays/objectsIgor Minar
2011-07-01fix:exceptionHandler mock: should not specify dependenciesIgor Minar
also added a test for this mock service
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