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'; | |
10 import '../integration_tests.dart'; | 9 import '../integration_tests.dart'; |
11 | 10 |
12 main() { | 11 main() { |
13 initializeTestEnvironment(); | |
14 defineReflectiveSuite(() { | 12 defineReflectiveSuite(() { |
15 defineReflectiveTests(Test); | 13 defineReflectiveTests(Test); |
16 }); | 14 }); |
17 } | 15 } |
18 | 16 |
19 @reflectiveTest | 17 @reflectiveTest |
20 class Test extends AbstractAnalysisServerIntegrationTest { | 18 class Test extends AbstractAnalysisServerIntegrationTest { |
21 test_getVersion() { | 19 test_getVersion() { |
22 return sendServerGetVersion(); | 20 return sendServerGetVersion(); |
23 } | 21 } |
24 } | 22 } |
OLD | NEW |