| 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.domain.search; | 5 library test.domain.search; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:analysis_server/src/analysis_server.dart'; | 9 import 'package:analysis_server/src/analysis_server.dart'; |
| 10 import 'package:analysis_server/src/constants.dart'; | 10 import 'package:analysis_server/src/constants.dart'; |
| 11 import 'package:analysis_server/src/domain_search.dart'; | 11 import 'package:analysis_server/src/domain_search.dart'; |
| 12 import 'package:analysis_server/src/protocol.dart'; | 12 import 'package:analysis_server/src/protocol.dart'; |
| 13 import 'package:analysis_server/src/resource.dart'; | 13 import 'package:analyzer/file_system/memory_file_system.dart'; |
| 14 import 'package:unittest/unittest.dart'; | 14 import 'package:unittest/unittest.dart'; |
| 15 | 15 |
| 16 import 'analysis_abstract.dart'; | 16 import 'analysis_abstract.dart'; |
| 17 import 'mocks.dart'; | 17 import 'mocks.dart'; |
| 18 import 'reflective_tests.dart'; | 18 import 'reflective_tests.dart'; |
| 19 import 'package:analyzer/src/index/local_index.dart'; | 19 import 'package:analyzer/src/index/local_index.dart'; |
| 20 import 'package:analyzer/index/index.dart'; | 20 import 'package:analyzer/index/index.dart'; |
| 21 | 21 |
| 22 main() { | 22 main() { |
| 23 groupSep = ' | '; | 23 groupSep = ' | '; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 if (location.element.name == 'AAA') { | 111 if (location.element.name == 'AAA') { |
| 112 hasClassAAA = true; | 112 hasClassAAA = true; |
| 113 } | 113 } |
| 114 } | 114 } |
| 115 expect(hasClassFunction, isTrue, reason: locations.toString()); | 115 expect(hasClassFunction, isTrue, reason: locations.toString()); |
| 116 expect(hasClassAAA, isTrue, reason: locations.toString()); | 116 expect(hasClassAAA, isTrue, reason: locations.toString()); |
| 117 }); | 117 }); |
| 118 }); | 118 }); |
| 119 } | 119 } |
| 120 } | 120 } |
| OLD | NEW |