2016-04-28 20:50:03 -04:00
|
|
|
import {ElementRef} from '@angular/core';
|
2016-06-08 19:38:52 -04:00
|
|
|
import {ChangeDetectorRef} from '@angular/core/src/change_detection/change_detection';
|
2016-04-28 20:50:03 -04:00
|
|
|
import {SpyObject} from '@angular/core/testing/testing_internal';
|
2016-06-08 19:38:52 -04:00
|
|
|
import {DomAdapter} from '@angular/platform-browser/src/dom/dom_adapter';
|
2015-08-26 14:41:41 -04:00
|
|
|
|
2016-01-06 17:13:44 -05:00
|
|
|
export class SpyChangeDetectorRef extends SpyObject {
|
2016-04-14 17:52:35 -04:00
|
|
|
constructor() {
|
|
|
|
super(ChangeDetectorRef);
|
|
|
|
this.spy('detectChanges');
|
|
|
|
this.spy('checkNoChanges');
|
|
|
|
}
|
2015-08-26 14:41:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export class SpyIterableDifferFactory extends SpyObject {}
|
|
|
|
|
|
|
|
export class SpyElementRef extends SpyObject {
|
|
|
|
constructor() { super(ElementRef); }
|
|
|
|
}
|
|
|
|
|
|
|
|
export class SpyDomAdapter extends SpyObject {
|
|
|
|
constructor() { super(DomAdapter); }
|
2015-09-02 18:07:31 -04:00
|
|
|
}
|