angular-docs-cn/modules/@angular/core/testing
Julie Ralph 8a9e9c7bd3 fix(core/testing): clean up the core testing public API (#9466)
Previously, we were exporting internal mocks and helpers. Move these
to core/testing/testing_internal or remove them if they were
never used.

Remove deprecated items - injectAsync, clearPendingTimers.

BREAKING CHANGE:

Remove the following APIs from `@angular/core/testing`, which have been deprecated or were
never intended to be publicly exported:

```
injectAsync
clearPendingTimers
Log
MockAppliacationHref
MockNgZone
clearPendingTimers
getTypeOf
instantiateType
```

Instead of `injectAsync`, use `async(inject())`.

`clearPendingTimers` is no longer required.
2016-06-23 17:10:22 -07:00
..
animation chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
async.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
async.ts fix(core/testing): clean up the core testing public API (#9466) 2016-06-23 17:10:22 -07:00
async_test_completer.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
fake_async.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
fake_async.ts fix(core/testing): clean up the core testing public API (#9466) 2016-06-23 17:10:22 -07:00
lang_utils.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
lang_utils.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
logger.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
mock_application_ref.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
ng_zone_mock.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
test_injector.ts fix(core/testing): clean up the core testing public API (#9466) 2016-06-23 17:10:22 -07:00
testing.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
testing.ts fix(core/testing): clean up the core testing public API (#9466) 2016-06-23 17:10:22 -07:00
testing_internal.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
testing_internal.ts fix(core/testing): clean up the core testing public API (#9466) 2016-06-23 17:10:22 -07:00