| 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 library kernel.round_trip_test; | 4 library kernel.round_trip_test; |
| 5 | 5 |
| 6 import 'package:test/test.dart'; | 6 import 'self_check_util.dart'; |
| 7 import 'round_trip.dart' as cmd; | 7 import 'round_trip.dart' as cmd; |
| 8 | 8 |
| 9 void main() { | 9 void main(List<String> args) { |
| 10 test('dart2js', () { | 10 runSelfCheck(args, (String filename) { |
| 11 cmd.main(['test/data/dart2js.dill']); | 11 cmd.main([filename]); |
| 12 }); | |
| 13 test('dart2js-strong', () { | |
| 14 cmd.main(['test/data/dart2js-strong.dill']); | |
| 15 }); | |
| 16 test('boms', () { | |
| 17 cmd.main(['test/data/boms.dill']); | |
| 18 }); | 12 }); |
| 19 } | 13 } |
| OLD | NEW |