MockLocationStrategy class
A mock implementation of LocationStrategy that allows tests to fire simulated location events.
- Inheritance
-
- Object
- LocationStrategy
- MockLocationStrategy
- Annotations
-
- @Injectable()
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- internalBaseHref ↔ String
-
getter/setter pair
- internalHash ↔ String
-
getter/setter pair
- internalPath ↔ String
-
getter/setter pair
- internalTitle ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
urlChanges
↔ List<
String> -
getter/setter pair
Methods
-
back(
) → void -
override
-
forward(
) → void -
override
-
getBaseHref(
) → String -
override
-
hash(
) → String -
Creates a combined hash code for a number of objects.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onPopState(
EventListener fn) → void -
override
-
path(
) → String -
override
-
prepareExternalUrl(
String internal) → String -
override
-
pushState(
Object? ctx, String title, String path, String query) → void -
override
-
replaceState(
Object? ctx, String title, String path, String query) → void -
override
-
simulatePopState(
String url) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited