| 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 /// General type checking tests | 5 /// General type checking tests |
| 6 library ddc.test.checker_test; | 6 library ddc.test.checker_test; |
| 7 | 7 |
| 8 import 'package:unittest/compact_vm_config.dart'; | 8 import 'package:unittest/compact_vm_config.dart'; |
| 9 import 'package:unittest/unittest.dart'; | 9 import 'package:unittest/unittest.dart'; |
| 10 | 10 |
| 11 import 'package:ddc/src/testing.dart'; | 11 import 'package:dev_compiler/src/testing.dart'; |
| 12 | 12 |
| 13 main() { | 13 main() { |
| 14 useCompactVMConfiguration(); | 14 useCompactVMConfiguration(); |
| 15 | 15 |
| 16 test('conversion and dynamic invoke', () { | 16 test('conversion and dynamic invoke', () { |
| 17 testChecker({ | 17 testChecker({ |
| 18 '/main.dart': ''' | 18 '/main.dart': ''' |
| 19 class A { | 19 class A { |
| 20 String x = "hello world"; | 20 String x = "hello world"; |
| 21 } | 21 } |
| (...skipping 2581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2603 '/main.dart': ''' | 2603 '/main.dart': ''' |
| 2604 class A {} | 2604 class A {} |
| 2605 class T1 implements A { | 2605 class T1 implements A { |
| 2606 /*severe:InferableOverride*/toString() {} | 2606 /*severe:InferableOverride*/toString() {} |
| 2607 } | 2607 } |
| 2608 ''' | 2608 ''' |
| 2609 }, inferFromOverrides: false); | 2609 }, inferFromOverrides: false); |
| 2610 }); | 2610 }); |
| 2611 }); | 2611 }); |
| 2612 } | 2612 } |
| OLD | NEW |