Test class

Describes a single Test.

Constructors

Test(String name, int duration, String skipReason, Iterable<Problem> problems, Iterable<String> prints, bool isHidden)
Creates a Test with the given name, duration, skipReason, problems, prints and isHidden.

Properties

duration int
How long did the test take. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isHidden bool
Indicates that the test is hidden. [...]
final
isSkipped bool
Returns whether the test is skipped.
read-only
name String
The name of the test, including prefixes from any containing groups.
final
prints Iterable<String>
Messages printed during the test.
final
problems Iterable<Problem>
Problems occurred during the test.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
skipReason String
Indicates why was the test skipped.
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