| Index: tests/compiler/dart2js/kernel/visitor_test.dart
|
| diff --git a/tests/compiler/dart2js/kernel/visitor_test.dart b/tests/compiler/dart2js/kernel/visitor_test.dart
|
| index 432ed8c428c722758dcc55f061f94271fad4d855..1edd591c601755a4b55e244e8da929c2f94a24c9 100644
|
| --- a/tests/compiler/dart2js/kernel/visitor_test.dart
|
| +++ b/tests/compiler/dart2js/kernel/visitor_test.dart
|
| @@ -9,7 +9,9 @@ import 'dart:io';
|
| import 'package:compiler/src/compiler.dart' show Compiler;
|
| import 'package:compiler/src/js_backend/backend.dart' show JavaScriptBackend;
|
| import 'package:compiler/src/commandline_options.dart' show Flags;
|
| +import 'package:kernel/ast.dart';
|
| import 'package:kernel/text/ast_to_text.dart';
|
| +import 'package:kernel/transformations/mixin_full_resolution.dart';
|
| import 'package:path/path.dart' as pathlib;
|
| import 'package:test/test.dart';
|
|
|
| @@ -17,9 +19,7 @@ import '../memory_compiler.dart';
|
|
|
| const String TESTCASE_DIR = 'third_party/pkg/kernel/testcases/';
|
|
|
| -const List<String> SKIP_TESTS = const <String>[
|
| - 'DeltaBlue', // Super calls encoded as `super.{...` and not `this.{...`.
|
| -];
|
| +const List<String> SKIP_TESTS = const <String>[];
|
|
|
| main(List<String> arguments) {
|
| Directory directory = new Directory('${TESTCASE_DIR}/input');
|
| @@ -39,8 +39,10 @@ main(List<String> arguments) {
|
| Compiler compiler = result.compiler;
|
| JavaScriptBackend backend = compiler.backend;
|
| StringBuffer buffer = new StringBuffer();
|
| + Program program = backend.kernelTask.program;
|
| + new MixinFullResolution().transform(program);
|
| new Printer(buffer).writeLibraryFile(
|
| - backend.kernelTask.kernel.libraryToIr(compiler.mainApp));
|
| + backend.kernelTask.program.mainMethod.enclosingLibrary);
|
| String actual = buffer.toString();
|
| String expected =
|
| new File('${TESTCASE_DIR}/spec-mode/$name.baseline.txt')
|
|
|