mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
- split mocks between angular-mocks.js and mocks.js - src/angular-mocks.js now contains only mocks that we want to ship - test/mocks.js contains mocks that we use internally for testing angular - created angular.mock namespace - created public $exceptionHandler mock rethrows errors - created public $log mock stores all logs messages in an array that can be accessed to make assertions - internally we now have factory to create $exceptionHandler that we can assert on - internally we also keep track of all messages logged and fail tests if messages were not expected and cleaned up (checked via global beforeEach and afterEach) - updated RakeFile and docs reader.js to point to the new angular-mocks.js location - made real $exceptionHandler and $log factories accessible from tests and simplified their specs - fixed typos in several spec descriptions - added log assertions throughout the test suite
31 lines
678 B
Plaintext
31 lines
678 B
Plaintext
server: http://localhost:9876
|
|
|
|
load:
|
|
- lib/jasmine-1.0.1/jasmine.js
|
|
- lib/jasmine-jstd-adapter/JasmineAdapter.js
|
|
- lib/jquery/jquery-1.4.2.js
|
|
- test/jquery_alias.js
|
|
- src/Angular.js
|
|
- src/JSON.js
|
|
- src/*.js
|
|
- example/personalLog/*.js
|
|
- test/testabilityPatch.js
|
|
- src/scenario/Scenario.js
|
|
- src/scenario/output/*.js
|
|
- src/scenario/*.js
|
|
- src/angular-mocks.js
|
|
- test/mocks.js
|
|
- test/scenario/*.js
|
|
- test/scenario/output/*.js
|
|
- test/*.js
|
|
- example/personalLog/test/*.js
|
|
|
|
exclude:
|
|
- src/angular.prefix
|
|
- src/angular.suffix
|
|
- src/angular-bootstrap.js
|
|
- src/AngularPublic.js
|
|
- src/scenario/angular-bootstrap.js
|
|
- test/jquery_remove.js
|
|
|