| Index: tools/testing/dart/dartino_warnings_suite.dart
|
| diff --git a/tools/testing/dart/fletch_warnings_suite.dart b/tools/testing/dart/dartino_warnings_suite.dart
|
| similarity index 86%
|
| rename from tools/testing/dart/fletch_warnings_suite.dart
|
| rename to tools/testing/dart/dartino_warnings_suite.dart
|
| index e4050fb42ff7b7c29d2e8394a79acffef5e5c04d..dc496d668f98ee967a4b411a27587ba4f769dc5c 100644
|
| --- a/tools/testing/dart/fletch_warnings_suite.dart
|
| +++ b/tools/testing/dart/dartino_warnings_suite.dart
|
| @@ -2,7 +2,7 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE.md file.
|
|
|
| -library test.fletch_warnings_suite;
|
| +library test.dartino_warnings_suite;
|
|
|
| import 'dart:io' as io;
|
|
|
| @@ -30,16 +30,16 @@ import 'compiler_configuration.dart' show
|
| CommandArtifact;
|
|
|
| const Map<String, String> URIS_TO_ANALYZE = const <String, String>{
|
| - "hub_main": "package:fletchc/src/hub/hub_main.dart",
|
| - "fletch_test_suite": "tests/fletch_tests/fletch_test_suite.dart",
|
| + "hub_main": "package:dartino_compiler/src/hub/hub_main.dart",
|
| + "dartino_test_suite": "tests/dartino_tests/dartino_test_suite.dart",
|
| "test_dart": "tools/test.dart",
|
| };
|
|
|
| -class FletchWarningsRuntimeConfiguration extends RuntimeConfiguration {
|
| +class DartinoWarningsRuntimeConfiguration extends RuntimeConfiguration {
|
| final String system;
|
| final String dartBinary;
|
|
|
| - FletchWarningsRuntimeConfiguration(Map configuration)
|
| + DartinoWarningsRuntimeConfiguration(Map configuration)
|
| : system = configuration['system'],
|
| dartBinary = '${TestUtils.buildDir(configuration)}'
|
| '${io.Platform.pathSeparator}dart',
|
| @@ -70,8 +70,8 @@ class FletchWarningsRuntimeConfiguration extends RuntimeConfiguration {
|
| }
|
| }
|
|
|
| -class FletchWarningsSuite extends TestSuite {
|
| - FletchWarningsSuite(Map configuration, testSuiteDir)
|
| +class DartinoWarningsSuite extends TestSuite {
|
| + DartinoWarningsSuite(Map configuration, testSuiteDir)
|
| : super(configuration, "warnings");
|
|
|
| void forEachTest(
|
| @@ -79,7 +79,7 @@ class FletchWarningsSuite extends TestSuite {
|
| Map testCache,
|
| [void onDone()]) {
|
| this.doTest = onTest;
|
| - if (configuration['runtime'] != 'fletch_warnings') {
|
| + if (configuration['runtime'] != 'dartino_warnings') {
|
| onDone();
|
| return;
|
| }
|
| @@ -114,8 +114,8 @@ class FletchWarningsSuite extends TestSuite {
|
| final RegExp noLintFilter =
|
| new RegExp(r"[^\n]*\n[^\n]*\n[^\n]* // NO_LINT\n *\^+\n");
|
|
|
| -class FletchWarningsOutputCommand extends CompilationCommandOutputImpl {
|
| - FletchWarningsOutputCommand(
|
| +class DartinoWarningsOutputCommand extends CompilationCommandOutputImpl {
|
| + DartinoWarningsOutputCommand(
|
| Command command, int exitCode, bool timedOut,
|
| List<int> stdout, List<int> stderr,
|
| Duration time, bool compilationSkipped)
|
|
|