Index: tests/corelib/src/ListImplementationVMTest.dart |
=================================================================== |
--- tests/corelib/src/ListImplementationVMTest.dart (revision 505) |
+++ tests/corelib/src/ListImplementationVMTest.dart (working copy) |
@@ -2,13 +2,13 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-#library("GrowableObjectArrayTest.dart"); |
+#library("ListImplementationTest.dart"); |
#import("dart:coreimpl"); |
-class GrowableObjectArrayTest { |
+class ListImplementationTest { |
static void testOutOfBoundForIndexOf() { |
- GrowableObjectArray<int> array = new GrowableObjectArray<int>(); |
+ ListImplementation<int> array = new ListImplementation<int>(); |
for (int i = 0; i < 64; i++) { |
array.add(i); |
Expect.equals(-1, array.indexOf(4, i + 1)); |
@@ -17,7 +17,7 @@ |
} |
static testMain() { |
- GrowableObjectArray<int> array = new GrowableObjectArray<int>(); |
+ ListImplementation<int> array = new ListImplementation<int>(); |
array.add(1); |
array.add(2); |
array.add(3); |
@@ -65,7 +65,7 @@ |
Expect.equals(2, array[0]); |
// Check correct copy order/ |
- array = new GrowableObjectArray<int>(); |
+ array = new ListImplementation<int>(); |
for (int i = 0; i < 10; i++) { |
array.add(i); |
} |
@@ -80,7 +80,7 @@ |
testOutOfBoundForIndexOf(); |
- GrowableObjectArray<int> h = new GrowableObjectArray<int>.withCapacity(10); |
+ ListImplementation<int> h = new ListImplementation<int>.withCapacity(10); |
Array constArray = const [0, 1, 2, 3, 4]; |
h.addAll(constArray); |
Expect.equals(5, h.length); |
@@ -88,5 +88,5 @@ |
} |
main() { |
- GrowableObjectArrayTest.testMain(); |
+ ListImplementationTest.testMain(); |
} |