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

Unified Diff: test/test_util.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/runtime/dart_runtime_test.dart ('k') | tool/test.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/test_util.dart
diff --git a/test/test_util.dart b/test/test_util.dart
index c8fa36a3c8e89b0ec437506d8433cd7be9037f00..0b47e663baec2841ba4ffd04af4adede5ed8e149 100644
--- a/test/test_util.dart
+++ b/test/test_util.dart
@@ -4,14 +4,10 @@
library dev_compiler.test.test_util;
-import 'dart:io';
+import 'dart:mirrors';
+import 'package:path/path.dart' as path;
-import 'package:unittest/compact_vm_config.dart';
-import 'package:unittest/unittest.dart';
+final String testDirectory =
+ path.dirname((reflectClass(_TestUtils).owner as LibraryMirror).uri.path);
-void configureTest() {
- if (!Platform.environment.containsKey('COVERALLS_TOKEN')) {
- groupSep = " > ";
- useCompactVMConfiguration();
- }
-}
+class _TestUtils {}
« no previous file with comments | « test/runtime/dart_runtime_test.dart ('k') | tool/test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698