2016-06-23 09:47:54 -07:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
2016-04-28 17:50:03 -07:00
|
|
|
import {ElementRef} from '@angular/core';
|
2016-06-08 16:38:52 -07:00
|
|
|
import {ChangeDetectorRef} from '@angular/core/src/change_detection/change_detection';
|
2017-03-02 12:12:46 -08:00
|
|
|
import {SpyObject} from '@angular/core/testing/src/testing_internal';
|
2016-06-08 16:38:52 -07:00
|
|
|
import {DomAdapter} from '@angular/platform-browser/src/dom/dom_adapter';
|
2015-08-26 11:41:41 -07:00
|
|
|
|
2016-01-06 14:13:44 -08:00
|
|
|
export class SpyChangeDetectorRef extends SpyObject {
|
2016-04-14 14:52:35 -07:00
|
|
|
constructor() {
|
|
|
|
super(ChangeDetectorRef);
|
|
|
|
this.spy('detectChanges');
|
|
|
|
this.spy('checkNoChanges');
|
|
|
|
}
|
2015-08-26 11:41:41 -07: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 15:07:31 -07:00
|
|
|
}
|