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

Unified Diff: test/checker/self_host_test.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 | « test/checker/inferred_type_test.dart ('k') | test/codegen_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/checker/self_host_test.dart
diff --git a/test/checker/self_host_test.dart b/test/checker/self_host_test.dart
index 88f3f7f7729e7e01cc7a4af96f7eeb653e8d9e26..dca6ab551c1ac34970298cbd88f429365ecfa0ca 100644
--- a/test/checker/self_host_test.dart
+++ b/test/checker/self_host_test.dart
@@ -10,19 +10,14 @@ import 'package:cli_util/cli_util.dart' show getSdkDir;
import 'package:dev_compiler/devc.dart' show Compiler;
import 'package:dev_compiler/src/options.dart';
import 'package:path/path.dart' as path;
-import 'package:unittest/unittest.dart';
-
-import '../test_util.dart';
-
-void main(args) {
- configureTest();
-
- var testDir = path.absolute(path.dirname(Platform.script.path));
+import 'package:test/test.dart';
+import '../test_util.dart' show testDirectory;
+void main() {
test('checker can run on itself ', () {
var options = new CompilerOptions(
- entryPointFile: '$testDir/../all_tests.dart',
- dartSdkPath: getSdkDir(args).path);
+ entryPointFile: '$testDirectory/all_tests.dart',
+ dartSdkPath: getSdkDir().path);
new Compiler(options).run();
});
}
« no previous file with comments | « test/checker/inferred_type_test.dart ('k') | test/codegen_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698