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

Unified Diff: test/end_to_end_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/dependency_graph_test.dart ('k') | test/report_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/end_to_end_test.dart
diff --git a/test/end_to_end_test.dart b/test/end_to_end_test.dart
index 0d08d25d46b79cbd9a83035a3392f504cded4ef7..d34a07465dd13b07954103e48f30b32ff29ddbbe 100644
--- a/test/end_to_end_test.dart
+++ b/test/end_to_end_test.dart
@@ -6,18 +6,15 @@
/// SDK.
library dev_compiler.test.end_to_end;
-import 'dart:io';
import 'package:dev_compiler/devc.dart' show Compiler;
import 'package:dev_compiler/src/options.dart';
-import 'package:dev_compiler/src/report.dart';
-import 'package:path/path.dart' as path;
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
+import 'test_util.dart' show testDirectory;
main() {
- var testDir = path.absolute(path.dirname(Platform.script.path));
- _check(testfile) {
+ _check(testFile) {
var options = new CompilerOptions(
- entryPointFile: '$testDir/$testfile.dart', useMockSdk: true);
+ entryPointFile: '$testDirectory/$testFile.dart', useMockSdk: true);
new Compiler(options).run();
}
« no previous file with comments | « test/dependency_graph_test.dart ('k') | test/report_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698