2016-04-29 00:50:03 +00:00
|
|
|
import {ElementRef} from '@angular/core';
|
2016-06-08 23:38:52 +00:00
|
|
|
import {ChangeDetectorRef} from '@angular/core/src/change_detection/change_detection';
|
2016-04-29 00:50:03 +00:00
|
|
|
import {SpyObject} from '@angular/core/testing/testing_internal';
|
2016-06-08 23:38:52 +00:00
|
|
|
import {DomAdapter} from '@angular/platform-browser/src/dom/dom_adapter';
|
2015-08-26 18:41:41 +00:00
|
|
|
|
2016-01-06 22:13:44 +00:00
|
|
|
export class SpyChangeDetectorRef extends SpyObject {
|
2016-04-14 21:52:35 +00:00
|
|
|
constructor() {
|
|
|
|
|
super(ChangeDetectorRef);
|
|
|
|
|
this.spy('detectChanges');
|
|
|
|
|
this.spy('checkNoChanges');
|
|
|
|
|
}
|
2015-08-26 18:41:41 +00: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 22:07:31 +00:00
|
|
|
}
|