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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698