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

Side by Side Diff: tests/lib/async/stream_state_helper.dart

Issue 2656743002: Remove package:unittest from some tests (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 stream_state_helper; 5 library stream_state_helper;
6 6
7 import "package:unittest/unittest.dart"; 7 import "package:test/test.dart";
8 import "dart:async"; 8 import "dart:async";
9 import "dart:collection"; 9 import "dart:collection";
10 10
11 class SubscriptionProtocolTest { 11 class SubscriptionProtocolTest {
12 final StreamProtocolTest _streamTest; 12 final StreamProtocolTest _streamTest;
13 final int id; 13 final int id;
14 StreamSubscription _subscription; 14 StreamSubscription _subscription;
15 15
16 SubscriptionProtocolTest(this.id, this._subscription, this._streamTest); 16 SubscriptionProtocolTest(this.id, this._subscription, this._streamTest);
17 17
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 } 580 }
581 581
582 bool _testBroadcastCancel() { 582 bool _testBroadcastCancel() {
583 _actual = "*[BroadcastCancel]"; 583 _actual = "*[BroadcastCancel]";
584 return true; 584 return true;
585 } 585 }
586 586
587 /** Returns a representation of the event it was tested against. */ 587 /** Returns a representation of the event it was tested against. */
588 String toString() => _actual; 588 String toString() => _actual;
589 } 589 }
OLDNEW
« no previous file with comments | « tests/lib/async/stream_single_to_multi_subscriber_test.dart ('k') | tests/lib/async/stream_state_nonzero_timer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698