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

Side by Side Diff: lib/test.dart

Issue 1158873005: pkg/test: remove unused imports (Closed) Base URL: https://github.com/dart-lang/test.git@master
Patch Set: Created 5 years, 6 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/runner/browser/polymer.dart ('k') | no next file » | 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; 5 library test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:path/path.dart' as p; 9 import 'package:path/path.dart' as p;
10 10
11 import 'src/backend/declarer.dart'; 11 import 'src/backend/declarer.dart';
12 import 'src/backend/invoker.dart';
13 import 'src/backend/suite.dart'; 12 import 'src/backend/suite.dart';
14 import 'src/backend/test_platform.dart'; 13 import 'src/backend/test_platform.dart';
15 import 'src/frontend/timeout.dart'; 14 import 'src/frontend/timeout.dart';
16 import 'src/runner/reporter/expanded.dart'; 15 import 'src/runner/reporter/expanded.dart';
17 import 'src/utils.dart'; 16 import 'src/utils.dart';
18 17
19 export 'package:matcher/matcher.dart'; 18 export 'package:matcher/matcher.dart';
20 19
21 export 'src/frontend/expect.dart'; 20 export 'src/frontend/expect.dart';
22 export 'src/frontend/expect_async.dart'; 21 export 'src/frontend/expect_async.dart';
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 /// group. [callback] will be run before any tear-down callbacks in parent 170 /// group. [callback] will be run before any tear-down callbacks in parent
172 /// groups or at the top level. 171 /// groups or at the top level.
173 void tearDown(callback()) => _declarer.tearDown(callback); 172 void tearDown(callback()) => _declarer.tearDown(callback);
174 173
175 /// Registers an exception that was caught for the current test. 174 /// Registers an exception that was caught for the current test.
176 void registerException(error, [StackTrace stackTrace]) { 175 void registerException(error, [StackTrace stackTrace]) {
177 // This will usually forward directly to [Invoker.current.handleError], but 176 // This will usually forward directly to [Invoker.current.handleError], but
178 // going through the zone API allows other zones to consistently see errors. 177 // going through the zone API allows other zones to consistently see errors.
179 Zone.current.handleUncaughtError(error, stackTrace); 178 Zone.current.handleUncaughtError(error, stackTrace);
180 } 179 }
OLDNEW
« no previous file with comments | « lib/src/runner/browser/polymer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698