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

Side by Side Diff: test/frontend/set_up_all_test.dart

Issue 1426973002: Get rid of an unused library. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 1 month 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 | « lib/src/runner/load_exception_suite.dart ('k') | test/runner/engine_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';
6
7 import 'package:async/async.dart'; 5 import 'package:async/async.dart';
8 import 'package:test/test.dart'; 6 import 'package:test/test.dart';
9 7
10 import '../utils.dart'; 8 import '../utils.dart';
11 9
12 void main() { 10 void main() {
13 test("runs once before all tests", () { 11 test("runs once before all tests", () {
14 return expectTestsPass(() { 12 return expectTestsPass(() {
15 var setUpAllRun = false; 13 var setUpAllRun = false;
16 setUpAll(() { 14 setUpAll(() {
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 setUpAll(() => throw "error"); 313 setUpAll(() => throw "error");
316 setUpAll(shouldNotRun); 314 setUpAll(shouldNotRun);
317 315
318 test("test", shouldNotRun); 316 test("test", shouldNotRun);
319 }); 317 });
320 318
321 expect(await engine.run(), isFalse); 319 expect(await engine.run(), isFalse);
322 }); 320 });
323 }); 321 });
324 } 322 }
OLDNEW
« no previous file with comments | « lib/src/runner/load_exception_suite.dart ('k') | test/runner/engine_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698