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