OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 import 'package:kernel/kernel.dart'; | |
5 import 'package:kernel/transformations/mixin_full_resolution.dart'; | |
6 | |
7 import 'baseline_tester.dart'; | |
8 | |
9 class SpecModeTest extends TestTarget { | |
10 @override | |
11 List<String> get extraRequiredLibraries => []; | |
12 | |
13 @override | |
14 String get name => 'spec-mode-test'; | |
15 | |
16 @override | |
17 bool get strongMode => false; | |
18 | |
19 @override | |
20 List<String> transformProgram(Program program) { | |
21 new MixinFullResolution().transform(program); | |
22 return const <String>[]; | |
23 } | |
24 } | |
25 | |
26 void main() { | |
27 runBaselineTests('spec-mode', new SpecModeTest()); | |
28 } | |
OLD | NEW |