angular-docs-cn/modules/@angular/compiler/testing
Julie Ralph a33195dcf3 fix(core/testing compiler/testing): move TestComponentBuilder to core/testing (#9590)
TestComponentBuilder now lives in core/testing. compiler/testing contains a private
OverridingTestComponentBuilder implementation which handles the private behavior
we need to override templates. This is part of the effort to simplify the testing
imports and hide compiler APIs.

Closes #9585

BREAKING CHANGE:

`TestComponentBuilder` is now imported from `@angular/core/testing`. Imports
from `@angular/compiler/testing` are deprecated.

Before:

```
import {TestComponentBuilder, TestComponentRenderer, ComponentFixtureAutoDetect} from '@angular/compiler/testing';
```

After:
```
import {TestComponentBuilder, TestComponentRenderer, ComponentFixtureAutoDetect} from '@angular/core/testing';
```
2016-06-24 17:35:01 -07:00
..
directive_resolver_mock.ts feat(core): add `@Component.precompile` and `ComponentFactoryResolver` 2016-06-23 12:10:04 -07:00
schema_registry_mock.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
test_component_builder.ts fix(core/testing compiler/testing): move TestComponentBuilder to core/testing (#9590) 2016-06-24 17:35:01 -07:00
view_resolver_mock.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
xhr_mock.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00