| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 test.integration.server.get.version; | 5 library test.integration.server.get.version; |
| 6 | 6 |
| 7 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 7 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| 8 | 8 |
| 9 import '../../utils.dart'; | 9 import '../../utils.dart'; |
| 10 import '../integration_tests.dart'; | 10 import '../integration_tests.dart'; |
| 11 | 11 |
| 12 main() { | 12 main() { |
| 13 initializeTestEnvironment(); | 13 initializeTestEnvironment(); |
| 14 defineReflectiveTests(Test); | 14 defineReflectiveSuite(() { |
| 15 defineReflectiveTests(Test); |
| 16 }); |
| 15 } | 17 } |
| 16 | 18 |
| 17 @reflectiveTest | 19 @reflectiveTest |
| 18 class Test extends AbstractAnalysisServerIntegrationTest { | 20 class Test extends AbstractAnalysisServerIntegrationTest { |
| 19 test_getVersion() { | 21 test_getVersion() { |
| 20 return sendServerGetVersion(); | 22 return sendServerGetVersion(); |
| 21 } | 23 } |
| 22 } | 24 } |
| OLD | NEW |