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.analysis; | 5 library test.operation.analysis; |
6 | 6 |
7 import 'package:analysis_server/src/constants.dart'; | 7 import 'package:analysis_server/src/constants.dart'; |
8 import 'package:analysis_server/src/operation/operation_analysis.dart'; | 8 import 'package:analysis_server/src/operation/operation_analysis.dart'; |
9 import 'package:analyzer/src/generated/error.dart'; | 9 import 'package:analyzer/src/generated/error.dart'; |
10 import 'package:analyzer/src/generated/source.dart'; | 10 import 'package:analyzer/src/generated/source.dart'; |
11 import 'package:typed_mock/typed_mock.dart'; | 11 import 'package:typed_mock/typed_mock.dart'; |
12 import 'package:unittest/unittest.dart'; | 12 import 'package:unittest/unittest.dart'; |
13 | 13 |
14 import '../index/store/typed_mocks.dart'; | |
15 import '../reflective_tests.dart'; | 14 import '../reflective_tests.dart'; |
| 15 import '../typed_mocks.dart'; |
16 | 16 |
17 main() { | 17 main() { |
18 groupSep = ' | '; | 18 groupSep = ' | '; |
19 | 19 |
20 group('errorToJson', () { | 20 group('errorToJson', () { |
21 runReflectiveTests(Test_errorToJson); | 21 runReflectiveTests(Test_errorToJson); |
22 }); | 22 }); |
23 } | 23 } |
24 | 24 |
25 | 25 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 OFFSET: 10, | 97 OFFSET: 10, |
98 LENGTH: 20, | 98 LENGTH: 20, |
99 START_LINE: 3, | 99 START_LINE: 3, |
100 START_COLUMN: 2 | 100 START_COLUMN: 2 |
101 }, | 101 }, |
102 MESSAGE: 'my message', | 102 MESSAGE: 'my message', |
103 CORRECTION: 'my correction' | 103 CORRECTION: 'my correction' |
104 }); | 104 }); |
105 } | 105 } |
106 } | 106 } |
OLD | NEW |