Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(614)

Unified Diff: tests/lib/async/run_async6_test.dart

Issue 15823008: Fix bug in VM timer implementation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: update test status Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/isolate/isolate.status ('k') | tests/lib/lib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/run_async6_test.dart
diff --git a/tests/lib/async/run_async_test.dart b/tests/lib/async/run_async6_test.dart
similarity index 63%
copy from tests/lib/async/run_async_test.dart
copy to tests/lib/async/run_async6_test.dart
index 0ec7afae1fa6b2c289bc09a3c4fe067f382c0896..e408b30bd70eecb8847f4496ff8fa8c84e744c5d 100644
--- a/tests/lib/async/run_async_test.dart
+++ b/tests/lib/async/run_async6_test.dart
@@ -7,8 +7,16 @@ library run_async_test;
import 'dart:async';
import '../../../pkg/unittest/lib/unittest.dart';
+bool _unhandledExceptionCallback(exception) => true;
+
main() {
test("run async test", () {
- runAsync(expectAsync0(() {}));
+ var callback = expectAsync0(() {});
+ runAsync(() {
+ runAsync(() {
+ callback();
+ });
+ throw new Exception('exception');
+ });
});
}
« no previous file with comments | « tests/isolate/isolate.status ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698