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

Side by Side Diff: test/backend/invoker_test.dart

Issue 1053443002: Rename the package to "test". (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 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
« no previous file with comments | « test/backend/declarer_test.dart ('k') | test/backend/platform_selector/ast_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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 'dart:async'; 5 import 'dart:async';
6 6
7 import 'package:fake_async/fake_async.dart'; 7 import 'package:fake_async/fake_async.dart';
8 import 'package:unittest/src/backend/invoker.dart'; 8 import 'package:test/src/backend/invoker.dart';
9 import 'package:unittest/src/backend/metadata.dart'; 9 import 'package:test/src/backend/metadata.dart';
10 import 'package:unittest/src/backend/state.dart'; 10 import 'package:test/src/backend/state.dart';
11 import 'package:unittest/src/backend/suite.dart'; 11 import 'package:test/src/backend/suite.dart';
12 import 'package:unittest/unittest.dart'; 12 import 'package:test/test.dart';
13 13
14 import '../utils.dart'; 14 import '../utils.dart';
15 15
16 void main() { 16 void main() {
17 var suite; 17 var suite;
18 setUp(() { 18 setUp(() {
19 lastState = null; 19 lastState = null;
20 suite = new Suite([]); 20 suite = new Suite([]);
21 }); 21 });
22 22
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 expect(liveTest.onPrint.take(2).toList(), 504 expect(liveTest.onPrint.take(2).toList(),
505 completion(equals(["Hello,", "world!"]))); 505 completion(equals(["Hello,", "world!"])));
506 506
507 return liveTest.run(); 507 return liveTest.run();
508 }, prints(isEmpty)); 508 }, prints(isEmpty));
509 }); 509 });
510 } 510 }
511 511
512 LocalTest _localTest(body(), {tearDown()}) => 512 LocalTest _localTest(body(), {tearDown()}) =>
513 new LocalTest("test", new Metadata(), body, tearDown: tearDown); 513 new LocalTest("test", new Metadata(), body, tearDown: tearDown);
OLDNEW
« no previous file with comments | « test/backend/declarer_test.dart ('k') | test/backend/platform_selector/ast_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698