Index: runtime/tests/dart/src/TimerCancel2Test.dart |
diff --git a/runtime/tests/dart/src/TimerCancel2Test.dart b/runtime/tests/dart/src/TimerCancel2Test.dart |
deleted file mode 100644 |
index aa6d1e1fdb915dfa7b8f6d4b64ebe03fce96aa26..0000000000000000000000000000000000000000 |
--- a/runtime/tests/dart/src/TimerCancel2Test.dart |
+++ /dev/null |
@@ -1,24 +0,0 @@ |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// Test that a timeout handler can cancel itself. |
-class TimerCancel2Test { |
- static void testSelfCancel() { |
- var cancelTimer; |
- |
- void cancelHandler(Timer timer) { |
- cancelTimer.cancel(); |
- } |
- |
- cancelTimer = new Timer(cancelHandler, 1, true); |
- } |
- |
- static void testMain() { |
- testSelfCancel(); |
- } |
-} |
- |
-main() { |
- TimerCancel2Test.testMain(); |
-} |