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 // Dart test program for testing stopwatch support. | 5 // Dart test program for testing stopwatch support. |
6 | 6 |
7 library stopwatch_test; | 7 library stopwatch_test; |
8 | 8 |
9 import "package:expect/expect.dart"; | 9 import "package:expect/expect.dart"; |
10 | 10 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 Expect.isTrue(checkTicking(sw)); | 119 Expect.isTrue(checkTicking(sw)); |
120 Expect.isTrue(checkStopping(sw)); | 120 Expect.isTrue(checkStopping(sw)); |
121 checkRestart(); | 121 checkRestart(); |
122 checkReset(); | 122 checkReset(); |
123 } | 123 } |
124 } | 124 } |
125 | 125 |
126 main() { | 126 main() { |
127 StopwatchTest.testMain(); | 127 StopwatchTest.testMain(); |
128 } | 128 } |
OLD | NEW |