2016-06-23 12:47:54 -04: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
|
|
|
|
*/
|
|
|
|
|
2019-08-22 22:16:25 -04:00
|
|
|
import {DomAdapter} from '@angular/common/src/dom_adapter';
|
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';
|
2017-03-02 15:12:46 -05:00
|
|
|
import {SpyObject} from '@angular/core/testing/src/testing_internal';
|
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); }
|
|
|
|
}
|