MatrixAppTest class final
Tests that the matrix adds to the apps it generates and runs with
flutter test: the files of a directory for the apps that
appliesTo accepts.
They check what only a running app shows, such as that the start-up of
the app works with the platform side of its plugins mocked, and a
package keeps them, such as the package of the module they test. They
are not part of the apps that smf create generates.
Constructors
Properties
- appliesTo → bool Function(MatrixApp app)
-
Whether the tests run in an app of the matrix.
final
-
devDependencies
→ List<
String> -
The packages that the tests use besides those of the app, which the
matrix adds to the app as dev dependencies, such as the mocks of the
platform side of a plugin.
final
- directory → String
-
The directory of the files that go into an app, each at its path
relative to the directory, such as
test/firebase_core_test.dart, over the file of the app at that path, if the app has one.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Map<
String, String> Function(MatrixApp app)? -
The values of the placeholders of the files in an app of the matrix,
besides
app_name.final
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