| 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 "package:expect/expect.dart"; |
| 6 |
| 5 class ListTest { | 7 class ListTest { |
| 6 | 8 |
| 7 static testMain() { | 9 static testMain() { |
| 8 testList(); | 10 testList(); |
| 9 testExpandableList(); | 11 testExpandableList(); |
| 10 } | 12 } |
| 11 | 13 |
| 12 static void expectValues(list, val1, val2, val3, val4) { | 14 static void expectValues(list, val1, val2, val3, val4) { |
| 13 Expect.equals(true, list.length == 4); | 15 Expect.equals(true, list.length == 4); |
| 14 Expect.equals(true, list.length == 4); | 16 Expect.equals(true, list.length == 4); |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 } | 145 } |
| 144 } | 146 } |
| 145 | 147 |
| 146 class Yes { | 148 class Yes { |
| 147 operator ==(var other) => true; | 149 operator ==(var other) => true; |
| 148 } | 150 } |
| 149 | 151 |
| 150 main() { | 152 main() { |
| 151 ListTest.testMain(); | 153 ListTest.testMain(); |
| 152 } | 154 } |
| OLD | NEW |