MockLocationStrategy class

A mock implementation of LocationStrategy that allows tests to fire simulated location events.

Inheritance
Annotations
  • @Injectable()

Constructors

MockLocationStrategy()

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? state, String title, String url, String queryParams) → void
override
replaceState(Object? state, String title, String url, String queryParams) → void
override
simulatePopState(String url) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited