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

Side by Side Diff: tests/corelib/growable_object_array_vm_test.dart

Issue 10244009: test rename overhaul: step 7 - corelib tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #library("GrowableObjectArrayTest.dart"); 5 #library("GrowableObjectArrayTest.dart");
6 #import("dart:coreimpl"); 6 #import("dart:coreimpl");
7 7
8 class GrowableObjectArrayTest { 8 class GrowableObjectArrayTest {
9 9
10 static void testOutOfBoundForIndexOf() { 10 static void testOutOfBoundForIndexOf() {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 GrowableObjectArray<int> h = new GrowableObjectArray<int>.withCapacity(10); 104 GrowableObjectArray<int> h = new GrowableObjectArray<int>.withCapacity(10);
105 List constArray = const [0, 1, 2, 3, 4]; 105 List constArray = const [0, 1, 2, 3, 4];
106 h.addAll(constArray); 106 h.addAll(constArray);
107 Expect.equals(5, h.length); 107 Expect.equals(5, h.length);
108 } 108 }
109 } 109 }
110 110
111 main() { 111 main() {
112 GrowableObjectArrayTest.testMain(); 112 GrowableObjectArrayTest.testMain();
113 } 113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698