angular-cn/modules/@angular/router-deprecated/test/spies.dart

21 lines
545 B
Dart
Raw Normal View History

2015-08-26 14:41:41 -04:00
library router.spies;
import 'package:angular2/platform/common.dart' show PlatformLocation, Location;
2015-08-26 14:41:41 -04:00
import 'package:angular2/router.dart';
import 'package:angular2/testing_internal.dart';
2015-08-26 14:41:41 -04:00
@proxy
class SpyLocation extends SpyObject implements Location {}
2015-08-26 14:41:41 -04:00
@proxy
class SpyRouter extends SpyObject implements Router {}
2015-08-26 14:41:41 -04:00
@proxy
class SpyRouterOutlet extends SpyObject implements RouterOutlet {}
class SpyPlatformLocation extends SpyObject implements PlatformLocation {
String pathname = null;
String search = null;
String hash = null;
}