PendingTest class Null safety

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. [...]
read-only, inherited
id String
Returns the id of the test which is a concatenation of the suite name and the test name.
read-only
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.
read-only, inherited
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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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