chore: router move-only
This commit is contained in:
20
modules/@angular/router-deprecated/test/spies.dart
Normal file
20
modules/@angular/router-deprecated/test/spies.dart
Normal file
@ -0,0 +1,20 @@
|
||||
library router.spies;
|
||||
|
||||
import 'package:angular2/platform/common.dart' show PlatformLocation, Location;
|
||||
import 'package:angular2/router.dart';
|
||||
import 'package:angular2/testing_internal.dart';
|
||||
|
||||
@proxy
|
||||
class SpyLocation extends SpyObject implements Location {}
|
||||
|
||||
@proxy
|
||||
class SpyRouter extends SpyObject implements Router {}
|
||||
|
||||
@proxy
|
||||
class SpyRouterOutlet extends SpyObject implements RouterOutlet {}
|
||||
|
||||
class SpyPlatformLocation extends SpyObject implements PlatformLocation {
|
||||
String pathname = null;
|
||||
String search = null;
|
||||
String hash = null;
|
||||
}
|
Reference in New Issue
Block a user