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

Unified Diff: tests/compiler/dart2js/kernel/compile_from_dill_test.dart

Issue 2963193003: Add equivalence testing on JS nodes to support different label names (Closed)
Patch Set: Created 3 years, 6 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/kernel/compile_from_dill_test.dart
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
index 575b8a758fb3ac6678829d1d9f144698f3b422c4..ac7886c4286815261109ec99476426f2fe5acabf 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
@@ -6,33 +6,12 @@
// compilation using the default emitter (full_emitter).
library dart2js.kernel.compile_from_dill_test;
-import 'dart:async';
import 'package:async_helper/async_helper.dart';
-import '../serialization/helper.dart';
import 'compile_from_dill_test_helper.dart';
main(List<String> args) {
asyncTest(() async {
- await mainInternal(args);
+ await runTests(args);
});
}
-
-Future<ResultKind> mainInternal(List<String> args,
- {bool skipWarnings: false, bool skipErrors: false}) async {
- Arguments arguments = new Arguments.from(args);
- Uri entryPoint;
- Map<String, String> memorySourceFiles;
- if (arguments.uri != null) {
- entryPoint = arguments.uri;
- memorySourceFiles = const <String, String>{};
- } else {
- entryPoint = Uri.parse('memory:main.dart');
- memorySourceFiles = SOURCE;
- }
-
- return runTest(entryPoint, memorySourceFiles,
- verbose: arguments.verbose,
- skipWarnings: skipWarnings,
- skipErrors: skipErrors);
-}

Powered by Google App Engine
This is Rietveld 408576698