Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: tests/corelib/src/ListImplementationVMTest.dart

Issue 8339015: Rename GrowableObjectArray to ListImplementation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/corelib/src/ListImplementation2VMTest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « tests/corelib/src/ListImplementation2VMTest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698