| OLD | NEW |
| 1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
| 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
| 4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 #library("dunit"); | 6 #library("dunit"); |
| 7 | 7 |
| 8 typedef void Test(); | 8 typedef void Test(); |
| 9 typedef TestResult SynchTest(); | 9 typedef TestResult SynchTest(); |
| 10 typedef Future<TestResult> AsynchTest(); | 10 typedef Future<TestResult> AsynchTest(); |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 tearDown(); | 108 tearDown(); |
| 109 return new TestError(description, x); | 109 return new TestError(description, x); |
| 110 } | 110 } |
| 111 }); | 111 }); |
| 112 } | 112 } |
| 113 | 113 |
| 114 abstract void registerTests(TestSuite suite); | 114 abstract void registerTests(TestSuite suite); |
| 115 void setUp() {} | 115 void setUp() {} |
| 116 void tearDown() {} | 116 void tearDown() {} |
| 117 } | 117 } |
| OLD | NEW |