Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Unified Diff: pkg/analysis_server/test/services/correction/status_test.dart

Issue 2949823002: Remove unused implementation of SearchEngine and rename the driver-based implementation (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/services/correction/status_test.dart
diff --git a/pkg/analysis_server/test/services/correction/status_test.dart b/pkg/analysis_server/test/services/correction/status_test.dart
index 77454d826616f3a533a7d17cffaf7d99ec4039d9..041ee1e1704ce5eac8821b46457720b372e55051 100644
--- a/pkg/analysis_server/test/services/correction/status_test.dart
+++ b/pkg/analysis_server/test/services/correction/status_test.dart
@@ -36,20 +36,20 @@ class RefactoringLocationTest extends AbstractSingleUnitTest {
expect(location.startColumn, 7);
}
- @failingTest
test_createLocation_forMatch() async {
- // The class SearchMatchImpl has not been converted to use the new driver.
await resolveTestUnit('class MyClass {}');
Element element = findElement('MyClass');
SourceRange sourceRange = range.elementName(element);
SearchMatch match = new SearchMatchImpl(
- element.context,
- element.library.source.uri.toString(),
- element.source.uri.toString(),
- null,
- sourceRange,
+ element.source.fullName,
+ element.library.source,
+ element.source,
+ element.library,
+ element,
true,
- false);
+ false,
+ MatchKind.DECLARATION,
+ sourceRange);
// check
Location location = newLocation_fromMatch(match);
expect(location.file, '/test.dart');

Powered by Google App Engine
This is Rietveld 408576698