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

Unified Diff: pkg/analysis_server/test/services/search/search_engine2_test.dart

Issue 1769063002: Remove SearchEngine.searchElementDeclarations(). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/search/search_engine2_test.dart
diff --git a/pkg/analysis_server/test/services/search/search_engine2_test.dart b/pkg/analysis_server/test/services/search/search_engine2_test.dart
index 72cf26281a8ec81453f89e2ddd15d0c7f93e8f6b..230c0d7d51aff09c47c11bff12182830817c079e 100644
--- a/pkg/analysis_server/test/services/search/search_engine2_test.dart
+++ b/pkg/analysis_server/test/services/search/search_engine2_test.dart
@@ -94,31 +94,6 @@ class SearchEngineImpl2Test extends AbstractSingleUnitTest {
// });
// }
//
-// Future test_searchElementDeclarations() {
-// _indexTestUnit('''
-//class A {
-// test() {}
-//}
-//class B {
-// int test = 1;
-// main() {
-// int test = 2;
-// }
-//}
-//''');
-// ClassElement elementA = findElement('A');
-// ClassElement elementB = findElement('B');
-// Element element_test = findElement('test', ElementKind.LOCAL_VARIABLE);
-// var expected = [
-// _expectId(elementA.methods[0], MatchKind.DECLARATION, 'test() {}'),
-// _expectId(elementB.fields[0], MatchKind.DECLARATION, 'test = 1;'),
-// _expectId(element_test, MatchKind.DECLARATION, 'test = 2;'),
-// ];
-// return searchEngine.searchElementDeclarations('test').then((matches) {
-// _assertMatches(matches, expected);
-// });
-// }
-//
// Future test_searchMemberDeclarations() {
// _indexTestUnit('''
//class A {

Powered by Google App Engine
This is Rietveld 408576698