| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #library('multiple_timer_test'); |
| 6 |
| 5 #import("dart:isolate"); | 7 #import("dart:isolate"); |
| 6 | 8 |
| 7 class MultipleTimerTest { | 9 class MultipleTimerTest { |
| 8 | 10 |
| 9 static final int TIMEOUT1 = 1000; | 11 static final int TIMEOUT1 = 1000; |
| 10 static final int TIMEOUT2 = 2000; | 12 static final int TIMEOUT2 = 2000; |
| 11 static final int TIMEOUT3 = 500; | 13 static final int TIMEOUT3 = 500; |
| 12 static final int TIMEOUT4 = 1500; | 14 static final int TIMEOUT4 = 1500; |
| 13 | 15 |
| 14 static void testMultipleTimer() { | 16 static void testMultipleTimer() { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 static int _startTime2; | 68 static int _startTime2; |
| 67 static int _startTime3; | 69 static int _startTime3; |
| 68 static int _startTime4; | 70 static int _startTime4; |
| 69 static List<int> _order; | 71 static List<int> _order; |
| 70 static int _message; | 72 static int _message; |
| 71 } | 73 } |
| 72 | 74 |
| 73 main() { | 75 main() { |
| 74 MultipleTimerTest.testMain(); | 76 MultipleTimerTest.testMain(); |
| 75 } | 77 } |
| OLD | NEW |