OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 #import("dart:io"); | 5 #import("dart:io"); |
6 | 6 |
7 class TimerTest { | 7 class TimerTest { |
8 | 8 |
9 static final int _STARTTIMEOUT = 1050; | 9 static final int _STARTTIMEOUT = 1050; |
10 static final int _DECREASE = 200; | 10 static final int _DECREASE = 200; |
(...skipping 23 matching lines...) Expand all Loading... |
34 } | 34 } |
35 | 35 |
36 static int _startTime; | 36 static int _startTime; |
37 static int _timeout; | 37 static int _timeout; |
38 static int _iteration; | 38 static int _iteration; |
39 } | 39 } |
40 | 40 |
41 main() { | 41 main() { |
42 TimerTest.testMain(); | 42 TimerTest.testMain(); |
43 } | 43 } |
OLD | NEW |