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

Side by Side Diff: tests/corelib/queue_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 library queue.test; 5 library queue.test;
6 6
7 import "package:expect/expect.dart";
7 import 'dart:collection'; 8 import 'dart:collection';
8 9
9 class QueueTest { 10 class QueueTest {
10 11
11 static testMain() { 12 static testMain() {
12 Queue queue = new Queue(); 13 Queue queue = new Queue();
13 checkQueue(queue, 0, 0); 14 checkQueue(queue, 0, 0);
14 15
15 queue.addFirst(1); 16 queue.addFirst(1);
16 checkQueue(queue, 1, 1); 17 checkQueue(queue, 1, 1);
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 entry1 = entry1.nextEntry(); 180 entry1 = entry1.nextEntry();
180 entry2 = entry2.nextEntry(); 181 entry2 = entry2.nextEntry();
181 } 182 }
182 Expect.equals(null, entry2); 183 Expect.equals(null, entry2);
183 } 184 }
184 } 185 }
185 186
186 main() { 187 main() {
187 QueueTest.testMain(); 188 QueueTest.testMain();
188 } 189 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698