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.
no setterinherited
isHidden bool
Indicates that the test is hidden.
final
isSkipped bool
Returns whether the test is skipped.
no setter
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.
no setterinherited
skipReason String?
Indicates why was the test skipped.
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