| 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 analyzer.test.src.summary.resynthesize_strong_test; | 5 library analyzer.test.src.summary.resynthesize_strong_test; |
| 6 | 6 |
| 7 import 'package:analyzer/src/generated/engine.dart'; | 7 import 'package:analyzer/src/generated/engine.dart'; |
| 8 import 'package:analyzer/src/generated/sdk.dart'; |
| 8 import 'package:unittest/unittest.dart'; | 9 import 'package:unittest/unittest.dart'; |
| 9 | 10 |
| 10 import '../../reflective_tests.dart'; | 11 import '../../reflective_tests.dart'; |
| 12 import '../context/abstract_context.dart'; |
| 11 import 'resynthesize_test.dart'; | 13 import 'resynthesize_test.dart'; |
| 12 | 14 |
| 13 main() { | 15 main() { |
| 14 groupSep = ' | '; | 16 groupSep = ' | '; |
| 15 runReflectiveTests(ResynthesizeStrongTest); | 17 runReflectiveTests(ResynthesizeStrongTest); |
| 16 } | 18 } |
| 17 | 19 |
| 18 @reflectiveTest | 20 @reflectiveTest |
| 19 class ResynthesizeStrongTest extends ResynthesizeElementTest { | 21 class ResynthesizeStrongTest extends ResynthesizeElementTest { |
| 22 DartSdk createDartSdk() => AbstractContextTest.SHARED_STRONG_MOCK_SDK; |
| 23 |
| 20 @override | 24 @override |
| 21 AnalysisOptionsImpl createOptions() => | 25 AnalysisOptionsImpl createOptions() => |
| 22 super.createOptions()..strongMode = true; | 26 super.createOptions()..strongMode = true; |
| 23 } | 27 } |
| OLD | NEW |