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

Side by Side Diff: test/frontend/expect_async_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
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 'package:unittest/src/backend/state.dart'; 5 import 'package:test/src/backend/state.dart';
6 import 'package:unittest/unittest.dart'; 6 import 'package:test/test.dart';
7 7
8 import '../utils.dart'; 8 import '../utils.dart';
9 9
10 void main() { 10 void main() {
11 group("supports a function with this many arguments:", () { 11 group("supports a function with this many arguments:", () {
12 test("0", () { 12 test("0", () {
13 var callbackRun = false; 13 var callbackRun = false;
14 return runTest(() { 14 return runTest(() {
15 expectAsync(() { 15 expectAsync(() {
16 callbackRun = true; 16 callbackRun = true;
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 caughtError = true; 319 caughtError = true;
320 } 320 }
321 }).then((liveTest) { 321 }).then((liveTest) {
322 expectTestFailed(liveTest, 'oh no'); 322 expectTestFailed(liveTest, 'oh no');
323 expect(returnValue, isNull); 323 expect(returnValue, isNull);
324 expect(caughtError, isFalse); 324 expect(caughtError, isFalse);
325 }); 325 });
326 }); 326 });
327 }); 327 });
328 } 328 }
OLDNEW
« no previous file with comments | « test/backend/platform_selector/scanner_test.dart ('k') | test/frontend/matcher/completion_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698