for fixup - keep RootTestComponent around, but deprecate
This commit is contained in:
parent
686457890d
commit
d0c65c144a
|
@ -22,13 +22,21 @@ import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
|||
|
||||
import {DebugElement, DebugElement_} from 'angular2/src/core/debug/debug_element';
|
||||
|
||||
export abstract class ComponentFixture {
|
||||
|
||||
/**
|
||||
* @deprecated Use ComponentFixture
|
||||
*/
|
||||
export abstract class RootTestComponent {
|
||||
debugElement: DebugElement;
|
||||
|
||||
abstract detectChanges(): void;
|
||||
abstract destroy(): void;
|
||||
}
|
||||
|
||||
|
||||
export abstract class ComponentFixture extends RootTestComponent {}
|
||||
|
||||
|
||||
export class ComponentFixture_ extends ComponentFixture {
|
||||
/** @internal */
|
||||
_componentRef: ComponentRef;
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
*
|
||||
*/
|
||||
export * from './src/testing/testing';
|
||||
export {ComponentFixture, TestComponentBuilder} from './src/testing/test_component_builder';
|
||||
export {
|
||||
ComponentFixture,
|
||||
RootTestComponent,
|
||||
TestComponentBuilder
|
||||
} from './src/testing/test_component_builder';
|
||||
export * from './src/testing/test_injector';
|
||||
export * from './src/testing/fake_async';
|
||||
|
|
Loading…
Reference in New Issue