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

Side by Side Diff: lib/test.dart

Issue 1580973002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 11 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 | « lib/src/utils.dart ('k') | test/io.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) 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 test;
6
7 import 'dart:async'; 5 import 'dart:async';
8 6
9 import 'package:path/path.dart' as p; 7 import 'package:path/path.dart' as p;
10 8
11 import 'src/backend/declarer.dart'; 9 import 'src/backend/declarer.dart';
12 import 'src/backend/test_platform.dart'; 10 import 'src/backend/test_platform.dart';
13 import 'src/frontend/timeout.dart'; 11 import 'src/frontend/timeout.dart';
14 import 'src/runner/engine.dart'; 12 import 'src/runner/engine.dart';
15 import 'src/runner/reporter/expanded.dart'; 13 import 'src/runner/reporter/expanded.dart';
16 import 'src/runner/runner_suite.dart'; 14 import 'src/runner/runner_suite.dart';
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 /// prefer [tearDown], and only use [tearDOwnAll] if the callback is 236 /// prefer [tearDown], and only use [tearDOwnAll] if the callback is
239 /// prohibitively slow. 237 /// prohibitively slow.
240 void tearDownAll(callback()) => _declarer.tearDownAll(callback); 238 void tearDownAll(callback()) => _declarer.tearDownAll(callback);
241 239
242 /// Registers an exception that was caught for the current test. 240 /// Registers an exception that was caught for the current test.
243 void registerException(error, [StackTrace stackTrace]) { 241 void registerException(error, [StackTrace stackTrace]) {
244 // This will usually forward directly to [Invoker.current.handleError], but 242 // This will usually forward directly to [Invoker.current.handleError], but
245 // going through the zone API allows other zones to consistently see errors. 243 // going through the zone API allows other zones to consistently see errors.
246 Zone.current.handleUncaughtError(error, stackTrace); 244 Zone.current.handleUncaughtError(error, stackTrace);
247 } 245 }
OLDNEW
« no previous file with comments | « lib/src/utils.dart ('k') | test/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698