| 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.operation; | 5 library test.operation; |
| 6 | 6 |
| 7 import 'package:analysis_server/src/operation/operation.dart'; | 7 import 'package:analysis_server/src/operation/operation.dart'; |
| 8 import 'package:test/test.dart'; | 8 import 'package:test/test.dart'; |
| 9 | 9 |
| 10 import '../utils.dart'; | |
| 11 | |
| 12 main() { | 10 main() { |
| 13 initializeTestEnvironment(); | |
| 14 | |
| 15 group('ServerOperationPriority', () { | 11 group('ServerOperationPriority', () { |
| 16 test('toString', () { | 12 test('toString', () { |
| 17 expect(ServerOperationPriority.ANALYSIS.toString(), 'ANALYSIS'); | 13 expect(ServerOperationPriority.ANALYSIS.toString(), 'ANALYSIS'); |
| 18 }); | 14 }); |
| 19 }); | 15 }); |
| 20 } | 16 } |
| OLD | NEW |