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

Unified Diff: test/all_tests.dart

Issue 1166683005: upgrade dependencies, including migration to package:test (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pubspec.yaml ('k') | test/checker/checker_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/all_tests.dart
diff --git a/test/all_tests.dart b/test/all_tests.dart
index a03e512e765e137d71234dd77d4b8dc443b24db2..f987946e4ab3c6422b020ebc1838c8a11737e1cb 100644
--- a/test/all_tests.dart
+++ b/test/all_tests.dart
@@ -5,7 +5,7 @@
/// Meta-test that runs all tests we have written.
library dev_compiler.test.all_tests;
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'checker/checker_test.dart' as checker_test;
import 'checker/inferred_type_test.dart' as inferred_type_test;
@@ -15,19 +15,13 @@ import 'report_test.dart' as report_test;
import 'runtime/dart_runtime_test.dart' as runtime_test;
import 'dependency_graph_test.dart' as dependency_graph_test;
-import 'test_util.dart';
-
-void main(args) {
- configureTest();
-
+void main() {
group('end-to-end', e2e.main);
group('inferred types', inferred_type_test.main);
group('checker', checker_test.main);
group('report', report_test.main);
group('runtime', runtime_test.main);
group('dependency_graph', dependency_graph_test.main);
- group('codegen', () => codegen_test.main(args));
- var args2 = new List.from((args == null) ? [] : args, growable: true);
- args2.add("--dart-gen");
- group('dart_codegen', () => codegen_test.main(args2));
+ group('codegen', () => codegen_test.main([]));
+ group('dart_codegen', () => codegen_test.main(['--dart-gen']));
}
« no previous file with comments | « pubspec.yaml ('k') | test/checker/checker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698