| 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.computer.error; | 5 library test.computer.error; |
| 6 | 6 |
| 7 import 'package:analysis_server/src/computer/element.dart'; | 7 import 'package:analysis_server/src/computer/element.dart'; |
| 8 import 'package:analysis_server/src/computer/error.dart'; | 8 import 'package:analysis_server/src/computer/error.dart'; |
| 9 import 'package:analysis_services/constants.dart'; | 9 import 'package:analysis_server/src/services/constants.dart'; |
| 10 import 'package:analysis_testing/mocks.dart'; | 10 import 'package:analysis_testing/mocks.dart'; |
| 11 import 'package:analysis_testing/reflective_tests.dart'; | 11 import 'package:analysis_testing/reflective_tests.dart'; |
| 12 import 'package:analyzer/src/generated/error.dart' as engine; | 12 import 'package:analyzer/src/generated/error.dart' as engine; |
| 13 import 'package:analyzer/src/generated/source.dart'; | 13 import 'package:analyzer/src/generated/source.dart'; |
| 14 import 'package:typed_mock/typed_mock.dart'; | 14 import 'package:typed_mock/typed_mock.dart'; |
| 15 import 'package:unittest/unittest.dart'; | 15 import 'package:unittest/unittest.dart'; |
| 16 | 16 |
| 17 | 17 |
| 18 | 18 |
| 19 main() { | 19 main() { |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 'file': 'foo.dart', | 142 'file': 'foo.dart', |
| 143 'offset': 10, | 143 'offset': 10, |
| 144 'length': 20, | 144 'length': 20, |
| 145 'startLine': 3, | 145 'startLine': 3, |
| 146 'startColumn': 2 | 146 'startColumn': 2 |
| 147 }, | 147 }, |
| 148 'message': 'my message' | 148 'message': 'my message' |
| 149 }])); | 149 }])); |
| 150 } | 150 } |
| 151 } | 151 } |
| OLD | NEW |