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

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

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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
« no previous file with comments | « tests/corelib/queue_single_test.dart ('k') | tests/corelib/range_error_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
8 import 'dart:collection'; 7 import 'dart:collection';
9 8
10 abstract class QueueTest { 9 abstract class QueueTest {
11 10
12 Queue newQueue(); 11 Queue newQueue();
13 Queue newQueueFrom(Iterable iterable); 12 Queue newQueueFrom(Iterable iterable);
14 13
15 void testMain() { 14 void testMain() {
16 Queue queue = newQueue(); 15 Queue queue = newQueue();
17 checkQueue(queue, 0, 0); 16 checkQueue(queue, 0, 0);
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 q.addAll(i255.skip(35).take(96)); 338 q.addAll(i255.skip(35).take(96));
340 q.addAll(i255.skip(35 + 96)); 339 q.addAll(i255.skip(35 + 96));
341 Expect.listEquals(i255.toList(), q.toList()); 340 Expect.listEquals(i255.toList(), q.toList());
342 } 341 }
343 342
344 main() { 343 main() {
345 new DoubleLinkedQueueTest().testMain(); 344 new DoubleLinkedQueueTest().testMain();
346 new ListQueueTest().testMain(); 345 new ListQueueTest().testMain();
347 trickyTest(); 346 trickyTest();
348 } 347 }
OLDNEW
« no previous file with comments | « tests/corelib/queue_single_test.dart ('k') | tests/corelib/range_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698