bot_test library

Classes

EventWatcher<T>

Properties

finishes Matcher
Matches a Future that completes successfully with a value. Note that this creates an asynchronous expectation. The call to expect() that includes this will return immediately and execution will continue. Later, when the future completes, the actual expectation will run. [...]
read / write
throwsInvalidOperationError Matcher
final
throwsNullArgumentError Matcher
final

Functions

expectFutureComplete(Future future, [ Action1 onComplete ]) → void
expectFutureFail(Future future, [ void onException(dynamic error) ]) → void
finishesWith(dynamic matcher) Matcher
Matches a Future that completes succesfully with a value that matches matcher. Note that this creates an asynchronous expectation. The call to expect() that includes this will return immediately and execution will continue. Later, when the future completes, the actual expectation will run. [...]
pending() → void