| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library dart2js.serialization_compilation_test; | 5 library dart2js.serialization_compilation_test; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'package:async_helper/async_helper.dart'; | 8 import 'package:async_helper/async_helper.dart'; |
| 9 import 'package:compiler/compiler_new.dart'; |
| 9 import 'package:compiler/src/commandline_options.dart'; | 10 import 'package:compiler/src/commandline_options.dart'; |
| 10 import 'package:compiler/src/filenames.dart'; | 11 import 'package:compiler/src/filenames.dart'; |
| 11 import '../memory_compiler.dart'; | 12 import '../memory_compiler.dart'; |
| 12 import 'helper.dart'; | 13 import 'helper.dart'; |
| 13 import 'test_data.dart'; | 14 import 'test_data.dart'; |
| 14 import '../output_collector.dart'; | 15 import '../output_collector.dart'; |
| 15 | 16 |
| 16 /// Number of tests that are not part of the automatic test grouping. | 17 /// Number of tests that are not part of the automatic test grouping. |
| 17 int SKIP_COUNT = 2; | 18 int SKIP_COUNT = 2; |
| 18 | 19 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 options.add(Flags.enableCheckedMode); | 57 options.add(Flags.enableCheckedMode); |
| 57 } | 58 } |
| 58 await runCompiler( | 59 await runCompiler( |
| 59 entryPoint: entryPoint, | 60 entryPoint: entryPoint, |
| 60 memorySourceFiles: sourceFiles, | 61 memorySourceFiles: sourceFiles, |
| 61 resolutionInputs: resolutionInputs, | 62 resolutionInputs: resolutionInputs, |
| 62 options: options, | 63 options: options, |
| 63 outputProvider: outputCollector); | 64 outputProvider: outputCollector); |
| 64 }); | 65 }); |
| 65 if (verbose) { | 66 if (verbose) { |
| 66 print(outputCollector.getOutput('', 'js')); | 67 print(outputCollector.getOutput('', OutputType.js)); |
| 67 } | 68 } |
| 68 } | 69 } |
| OLD | NEW |