OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 /// Tests that run the checker end-to-end using the file system. | 5 /// Tests that run the checker end-to-end using the file system. |
6 library dev_compiler.test.checker.self_host_test; | 6 library dev_compiler.test.checker.self_host_test; |
7 | 7 |
8 import 'package:dev_compiler/devc.dart' show BatchCompiler; | 8 import 'package:dev_compiler/devc.dart' show BatchCompiler; |
9 import 'package:dev_compiler/src/options.dart'; | 9 import 'package:dev_compiler/src/options.dart'; |
10 import 'package:test/test.dart'; | 10 import 'package:test/test.dart'; |
11 import '../testing.dart' show testDirectory, realSdkContext; | 11 import '../testing.dart' show testDirectory, realSdkContext; |
12 | 12 |
13 void main() { | 13 void main() { |
14 test( | 14 test('checker can run on itself ', () { |
15 'checker can run on itself ', | 15 new BatchCompiler(realSdkContext, new CompilerOptions()) |
16 () { | 16 .compileFromUriString('$testDirectory/all_tests.dart'); |
17 new BatchCompiler(realSdkContext, new CompilerOptions()) | 17 }, skip: 'test is very slow'); |
18 .compileFromUriString('$testDirectory/all_tests.dart'); | |
19 }, | |
20 skip: 'test is very slow'); | |
21 } | 18 } |
OLD | NEW |