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

Side by Side Diff: lib/unittest.dart

Issue 955543002: Move a bunch of src/ files into subdirectories. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Fix library tags Created 5 years, 10 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/vm_listener.dart ('k') | test/console_reporter_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) 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 unittest; 5 library unittest;
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/configuration.dart'; 11 import 'src/backend/declarer.dart';
12 import 'src/declarer.dart'; 12 import 'src/backend/invoker.dart';
13 import 'src/console_reporter.dart'; 13 import 'src/backend/suite.dart';
14 import 'src/invoker.dart'; 14 import 'src/deprecated/configuration.dart';
15 import 'src/suite.dart'; 15 import 'src/deprecated/test_case.dart';
16 import 'src/test_case.dart'; 16 import 'src/runner/console_reporter.dart';
17 17
18 export 'package:matcher/matcher.dart' 18 export 'package:matcher/matcher.dart';
19 hide
20 completes,
21 completion,
22 configureExpectFailureHandler,
23 DefaultFailureHandler,
24 ErrorFormatter,
25 expect,
26 fail,
27 FailureHandler,
28 getOrCreateExpectFailureHandler,
29 prints,
30 TestFailure,
31 Throws,
32 throws,
33 throwsA,
34 throwsArgumentError,
35 throwsConcurrentModificationError,
36 throwsCyclicInitializationError,
37 throwsException,
38 throwsFormatException,
39 throwsNoSuchMethodError,
40 throwsNullThrownError,
41 throwsRangeError,
42 throwsStateError,
43 throwsUnimplementedError,
44 throwsUnsupportedError;
45 19
46 export 'src/configuration.dart'; 20 export 'src/deprecated/configuration.dart';
47 export 'src/expect.dart'; 21 export 'src/deprecated/simple_configuration.dart';
48 export 'src/expect_async.dart'; 22 export 'src/deprecated/test_case.dart';
49 export 'src/future_matchers.dart'; 23 export 'src/frontend/expect.dart';
50 export 'src/prints_matcher.dart'; 24 export 'src/frontend/expect_async.dart';
51 export 'src/simple_configuration.dart'; 25 export 'src/frontend/future_matchers.dart';
52 export 'src/test_case.dart'; 26 export 'src/frontend/prints_matcher.dart';
53 export 'src/throws_matcher.dart'; 27 export 'src/frontend/throws_matcher.dart';
54 export 'src/throws_matchers.dart'; 28 export 'src/frontend/throws_matchers.dart';
55 29
56 /// The global declarer. 30 /// The global declarer.
57 /// 31 ///
58 /// This is used if a test file is run directly, rather than through the runner. 32 /// This is used if a test file is run directly, rather than through the runner.
59 Declarer _globalDeclarer; 33 Declarer _globalDeclarer;
60 34
61 /// Gets the declarer for the current scope. 35 /// Gets the declarer for the current scope.
62 /// 36 ///
63 /// When using the runner, this returns the [Zone]-scoped declarer that's set by 37 /// When using the runner, this returns the [Zone]-scoped declarer that's set by
64 /// [VmListener]. If the test file is run directly, this returns 38 /// [VmListener]. If the test file is run directly, this returns
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 void setSoloTest(int id) {} 142 void setSoloTest(int id) {}
169 143
170 @deprecated 144 @deprecated
171 void enableTest(int id) {} 145 void enableTest(int id) {}
172 146
173 @deprecated 147 @deprecated
174 void disableTest(int id) {} 148 void disableTest(int id) {}
175 149
176 @deprecated 150 @deprecated
177 withTestEnvironment(callback()) => callback(); 151 withTestEnvironment(callback()) => callback();
OLDNEW
« no previous file with comments | « lib/src/vm_listener.dart ('k') | test/console_reporter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698