Moved a number of members to the unittest
package.
TestFailure
, ErrorFormatter
, expect
, fail
, and 'wrapAsync'.completes
, completion
, throws
, and throwsA
Matchers.Throws
class.throws...Error
Matchers.Removed FailureHandler
, DefaultFailureHandler
, configureExpectFailureHandler
, and getOrCreateExpectFailureHandler
. Now that expect
is in the unittest
package, these are no longer needed.
String
s containing characters that must be represented as escape sequences.isEmpty
and isNotEmpty
matchers and simply access the isEmpty
respectively isNotEmpty
fields. This allows them to work with custom collections. See Issue 21792 and Issue 21562prints
matcher test on dart2js.prints
matcher that matches output a callback emits via print
.isNotEmpty
matcher.Refactored libraries and tests.
Fixed spelling mistake.
isNaN
and isNotNaN
matchers.equals()
.@deprecated
annotation on matchers due to Issue 19173Matchers related to bad language use have been removed. These represent code structure that should rarely or never be validated in tests.
isAbstractClassInstantiationError
throwsAbstractClassInstantiationError
isFallThroughError
throwsFallThroughError
Added types to a number of method arguments.
The structure of the library and test code has been updated.