DescriptionAbort unit tests in the event of async failure while awaiting a future.
Previously, if a unit test returned a future, then while the unit test
framework was awaiting that future, asynchronous failures occurring
during callback functions would not abort the test.
In addition to fixing the bug, fix a flaw in the _defer() function
which prevented async_exception_test from actually testing
asynchronous exceptions.
BUG= http://dartbug.com/20153
R=kevmoo@google.com
Committed: https://code.google.com/p/dart/source/detail?r=39013
Patch Set 1 #
Total comments: 8
Patch Set 2 : Rework based on review comments #Patch Set 3 : Update pubspec and changelog #
Messages
Total messages: 7 (0 generated)
|