PendingTest class
Describes a pending test. The pending test should describe the name, number of steps, version, and provide a loader to load the full test details.
- Annotations
Constructors
- PendingTest({bool active = true, required TestLoader loader, required String name, required int numSteps, required String? suiteName, required int version})
- Constructs the pending test.
- PendingTest.memory(Test test)
-
Constructs the pending test from an already loaded in-memory test. This
is really just a metadata wrapper for the passed in test.
factory
Properties
- active → bool
-
Flag that states whether the test is active by default or not.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Returns the id of the test which is a concatenation of the suite
name and the test name.
no setter
- loader → TestLoader
-
Loader that can load the full test details.
final
- name → String
-
Name of the test to be loaded.
final
- numSteps → int
-
Number of steps in the test that can be loaded.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suiteName → String?
-
Name of the test suite the test is a part of.
final
- version → int
-
Version of the test to be loaded.
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