SerializableTester class

A Tester for a single test case

Constructors

SerializableTester(ListTesterMode mode)
A tester for a single test case

Properties

hashCode int
The hash code for this object.
no setterinherited
mode ListTesterMode
Determines how addTestValue and finish will behave.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testCase int
An internal counter for how many test values have been added.
getter/setter pair
testOutput List<String>
Holds the expected testOutput, which is determined depending on the mode
final

Methods

addTestValue(dynamic value) → void
Adds value to the expected output or compares value to the expected output, depending on mode.
finish(String path, String testName) FutureOr<void>
Finishes the test by either saving the expected testOutput or doing nothing, depending on mode
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