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

Unified Diff: tests/compiler/dart2js/js_model/model_test.dart

Issue 2974633002: Use JsStrategy, remove KernelBackendStrategy (Closed)
Patch Set: Delete test Created 3 years, 5 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
Index: tests/compiler/dart2js/js_model/model_test.dart
diff --git a/tests/compiler/dart2js/js_model/model_test.dart b/tests/compiler/dart2js/js_model/model_test.dart
deleted file mode 100644
index e168e17d9d2e97cb89ea3dc17ae88b331d0d8ba3..0000000000000000000000000000000000000000
--- a/tests/compiler/dart2js/js_model/model_test.dart
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-import 'dart:async';
-import 'package:async_helper/async_helper.dart';
-import 'package:compiler/src/kernel/kernel_backend_strategy.dart';
-import '../kernel/compile_from_dill_test_helper.dart';
-import '../serialization/helper.dart';
-
-main(List<String> args) {
- useJsStrategyForTesting = true;
- asyncTest(() async {
- await mainInternal(args);
- });
-}
-
-Future mainInternal(List<String> args,
- {bool skipWarnings: false,
- bool skipErrors: false,
- List<String> options: const <String>[]}) async {
- Arguments arguments = new Arguments.from(args);
- List<Test> tests;
- if (arguments.uri != null) {
- tests = <Test>[new Test.fromUri(arguments.uri)];
- } else {
- tests = TESTS;
- }
- for (Test test in tests) {
- if (test.uri != null) {
- print('--- running test uri ${test.uri} -------------------------------');
- } else {
- print(
- '--- running test code -------------------------------------------');
- print(test.sources.values.first);
- print('----------------------------------------------------------------');
- }
- await runTest(test.entryPoint, test.sources,
- verbose: arguments.verbose,
- skipWarnings: skipWarnings,
- skipErrors: skipErrors,
- options: options,
- expectAstEquivalence: true,
- expectIdenticalOutput: false);
- }
-}
« no previous file with comments | « pkg/compiler/lib/src/kernel/no_such_method_resolver.dart ('k') | tests/compiler/dart2js/kernel/closed_world2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698