MatrixMocks class final

A function among the files of a MatrixAppTest that sets up the mocks of the platform side of what the module of the tests runs in an app (see MatrixAppTest.mocks).

Constructors

MatrixMocks(String path, String function)
Creates the mocks that the function function of the file at path sets up.
const

Properties

function → String
The name of the top-level function of the file that sets up the mocks, such as mockFirebaseCore. The matrix calls it without arguments once the binding of the tests is initialized, and leaves out what it returns, so it sets up the mocks before it returns.
final
hashCode → int
The hash code for this object.
no setterinherited
path → String
The path of the Dart file with the function among the files of the tests, in their directory test/, such as test/firebase_core_mocks.dart.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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