2015-08-26 14:41:41 -04:00
|
|
|
library core.spies;
|
|
|
|
|
2015-09-04 01:01:36 -04:00
|
|
|
import 'package:angular2/core.dart';
|
2015-09-22 15:54:08 -04:00
|
|
|
import 'package:angular2/src/core/di/injector.dart';
|
2015-08-26 14:41:41 -04:00
|
|
|
import 'package:angular2/src/core/change_detection/change_detection.dart';
|
|
|
|
import 'package:angular2/src/core/render/api.dart';
|
2015-10-02 10:37:23 -04:00
|
|
|
import 'package:angular2/src/core/linker/directive_resolver.dart';
|
|
|
|
import 'package:angular2/src/core/linker/view.dart';
|
|
|
|
import 'package:angular2/src/core/linker/element_ref.dart';
|
|
|
|
import 'package:angular2/src/core/linker/view_manager.dart';
|
|
|
|
import 'package:angular2/src/core/linker/proto_view_factory.dart';
|
|
|
|
import 'package:angular2/src/core/linker/view_pool.dart';
|
|
|
|
import 'package:angular2/src/core/linker/view_listener.dart';
|
|
|
|
import 'package:angular2/src/core/linker/element_injector.dart';
|
2015-08-26 14:41:41 -04:00
|
|
|
import 'package:angular2/src/core/dom/dom_adapter.dart';
|
|
|
|
import 'package:angular2/test_lib.dart';
|
2015-10-02 12:30:36 -04:00
|
|
|
import 'package:angular2/src/core/compiler/xhr.dart';
|
2015-08-26 14:41:41 -04:00
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyDependencyProvider extends SpyObject implements DependencyProvider {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyChangeDetector extends SpyObject implements ChangeDetector {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
2015-09-30 18:28:26 -04:00
|
|
|
@proxy
|
|
|
|
class SpyChangeDispatcher extends SpyObject implements ChangeDispatcher {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
2015-08-26 14:41:41 -04:00
|
|
|
@proxy
|
|
|
|
class SpyIterableDifferFactory extends SpyObject
|
|
|
|
implements IterableDifferFactory {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyInjector extends SpyObject implements Injector {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyDirectiveResolver extends SpyObject implements DirectiveResolver {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyView extends SpyObject implements AppView {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyElementRef extends SpyObject implements ElementRef {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyAppViewManager extends SpyObject implements AppViewManager {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyRenderer extends SpyObject implements Renderer {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyAppViewPool extends SpyObject implements AppViewPool {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyAppViewListener extends SpyObject implements AppViewListener {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
2015-10-01 13:07:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyProtoViewFactory extends SpyObject implements ProtoViewFactory {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
2015-08-26 14:41:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyProtoElementInjector extends SpyObject implements ProtoElementInjector {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyElementInjector extends SpyObject implements ElementInjector {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyPreBuiltObjects extends SpyObject implements PreBuiltObjects {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyDomAdapter extends SpyObject implements DomAdapter {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
2015-09-02 18:07:31 -04:00
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyXHR extends SpyObject implements XHR {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
2015-09-25 12:43:21 -04:00
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyRenderEventDispatcher extends SpyObject implements RenderEventDispatcher {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
2015-09-30 20:52:33 -04:00
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyNgControl extends SpyObject implements NgControl {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@proxy
|
|
|
|
class SpyValueAccessor extends SpyObject implements ControlValueAccessor {
|
|
|
|
noSuchMethod(m) => super.noSuchMethod(m);
|
|
|
|
}
|