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

Unified Diff: tests/isolate/src/TestFramework.dart

Issue 9017016: Avoid error about instantiating abstract class AsynchronousTestCase. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/src/TestFramework.dart
diff --git a/tests/isolate/src/TestFramework.dart b/tests/isolate/src/TestFramework.dart
index 1122e96e8f84e98daae013626c0d624199d0b361..7fecd142930f65cd6d616ac951f7ac2b15b7dd9f 100644
--- a/tests/isolate/src/TestFramework.dart
+++ b/tests/isolate/src/TestFramework.dart
@@ -276,6 +276,11 @@ class AsynchronousTestCase extends TestCase {
}
}
+ // AsynchronousTestCase.run() calls variable test, not function performTest.
+ void performTest() {
+ Expect.fail('performTest called in AsynchronousTestCase');
+ }
+
AsynchronousTestFunction test;
static int running = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698