| Index: tests/dartino_tests/dartino_test_suite.dart
|
| diff --git a/tests/fletch_tests/fletch_test_suite.dart b/tests/dartino_tests/dartino_test_suite.dart
|
| similarity index 94%
|
| rename from tests/fletch_tests/fletch_test_suite.dart
|
| rename to tests/dartino_tests/dartino_test_suite.dart
|
| index ed341fc7d6240be8b5b8bb9e4d24b6d50a3d2e4e..68c8a3ac314ee14dafcf990f8a4939fb63918e3e 100644
|
| --- a/tests/fletch_tests/fletch_test_suite.dart
|
| +++ b/tests/dartino_tests/dartino_test_suite.dart
|
| @@ -8,7 +8,7 @@
|
| /// line) and prints out messages in response (also in JSON, one per line).
|
| ///
|
| /// Messages are defined in 'message.dart'.
|
| -library fletch_tests.fletch_test_suite;
|
| +library dartino_tests.dartino_test_suite;
|
|
|
| import 'dart:core' hide print;
|
|
|
| @@ -29,17 +29,17 @@ import 'dart:async' show
|
|
|
| import 'dart:isolate';
|
|
|
| -import 'package:fletchc/src/zone_helper.dart' show
|
| +import 'package:dartino_compiler/src/zone_helper.dart' show
|
| runGuarded;
|
|
|
| -import 'package:fletchc/src/hub/hub_main.dart' show
|
| +import 'package:dartino_compiler/src/hub/hub_main.dart' show
|
| IsolatePool,
|
| ManagedIsolate;
|
|
|
| -import 'package:fletchc/src/worker/developer.dart' show
|
| +import 'package:dartino_compiler/src/worker/developer.dart' show
|
| configFileUri;
|
|
|
| -import 'package:fletchc/src/console_print.dart' show
|
| +import 'package:dartino_compiler/src/console_print.dart' show
|
| printToConsole;
|
|
|
| import 'messages.dart' show
|
| @@ -68,7 +68,7 @@ Map<String, NoArgFuture> expandedTests;
|
| Sink<Message> messageSink;
|
|
|
| main() async {
|
| - int port = const int.fromEnvironment("test.fletch_test_suite.port");
|
| + int port = const int.fromEnvironment("test.dartino_test_suite.port");
|
| Socket socket = await Socket.connect(InternetAddress.LOOPBACK_IP_V4, port);
|
| messageSink = new SocketSink(socket);
|
| IsolatePool pool = new IsolatePool(isolateMain);
|
| @@ -216,8 +216,8 @@ Future<Message> runTest(String name, NoArgFuture test) async {
|
| }
|
|
|
| Future setupGlobalStateForTesting() async {
|
| - tmpdir = await Directory.systemTemp.createTemp("fletch_test_home");
|
| - configFileUri = tmpdir.uri.resolve('.fletch');
|
| + tmpdir = await Directory.systemTemp.createTemp("dartino_test_home");
|
| + configFileUri = tmpdir.uri.resolve('.dartino');
|
| printToConsole = printLineOnStdout;
|
| }
|
|
|
|
|