2015-11-23 13:47:06 -05:00
|
|
|
import {Router, RouterOutlet, Location, PlatformLocation} from 'angular2/router';
|
2015-10-13 03:29:13 -04:00
|
|
|
import {SpyObject, proxy} from 'angular2/testing_internal';
|
2015-08-26 14:41:41 -04:00
|
|
|
|
|
|
|
export class SpyRouter extends SpyObject {
|
|
|
|
constructor() { super(Router); }
|
|
|
|
}
|
|
|
|
|
|
|
|
export class SpyRouterOutlet extends SpyObject {
|
|
|
|
constructor() { super(RouterOutlet); }
|
|
|
|
}
|
|
|
|
|
|
|
|
export class SpyLocation extends SpyObject {
|
|
|
|
constructor() { super(Location); }
|
2015-11-23 13:47:06 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export class SpyPlatformLocation extends SpyObject {
|
|
|
|
pathname: string = null;
|
|
|
|
constructor() { super(SpyPlatformLocation); }
|
|
|
|
}
|