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

Unified Diff: lib/src/executable.dart

Issue 1049903002: Move the executable's implementation into lib. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 9 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 | « bin/test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/executable.dart
diff --git a/bin/test.dart b/lib/src/executable.dart
similarity index 92%
copy from bin/test.dart
copy to lib/src/executable.dart
index b2eb10f9726d245afff2dd38aecd17e778882989..fe403b2a1f26423aed50fcc52059e55c28de2aba 100644
--- a/bin/test.dart
+++ b/lib/src/executable.dart
@@ -2,7 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library test.test;
+// TODO(nweiz): This is under lib so that it can be used by the unittest dummy
+// package. Once that package is no longer being updated, move this back into
+// bin.
+library test.executable;
import 'dart:async';
import 'dart:io';
@@ -11,13 +14,13 @@ import 'dart:isolate';
import 'package:args/args.dart';
import 'package:stack_trace/stack_trace.dart';
-import 'package:test/src/backend/test_platform.dart';
-import 'package:test/src/runner/reporter/compact.dart';
-import 'package:test/src/runner/load_exception.dart';
-import 'package:test/src/runner/loader.dart';
-import 'package:test/src/util/exit_codes.dart' as exit_codes;
-import 'package:test/src/util/io.dart';
-import 'package:test/src/utils.dart';
+import 'backend/test_platform.dart';
+import 'runner/reporter/compact.dart';
+import 'runner/load_exception.dart';
+import 'runner/loader.dart';
+import 'util/exit_codes.dart' as exit_codes;
+import 'util/io.dart';
+import 'utils.dart';
/// The argument parser used to parse the executable arguments.
final _parser = new ArgParser(allowTrailingOptions: true);
« no previous file with comments | « bin/test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698