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

Unified Diff: pkg/analysis_server/test/analysis/update_content_test.dart

Issue 1801883002: Remove old index and search implementations. (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/analysis/update_content_test.dart
diff --git a/pkg/analysis_server/test/analysis/update_content_test.dart b/pkg/analysis_server/test/analysis/update_content_test.dart
index 6ba9e2d5489026ac22f0a9159e596a1f074a273d..a2ae03b8589068bb14e2cfc4d1a108be4c4b7986 100644
--- a/pkg/analysis_server/test/analysis/update_content_test.dart
+++ b/pkg/analysis_server/test/analysis/update_content_test.dart
@@ -96,7 +96,7 @@ class UpdateContentTest extends AbstractAnalysisTest {
createProject();
addTestFile('main() { print(1); }');
await server.onAnalysisComplete;
- verify(server.index.index(anyObject, testUnitMatcher)).times(1);
+ verify(server.index.indexUnit(testUnitMatcher)).times(1);
// add an overlay
server.updateContent(
'1', {testFile: new AddContentOverlay('main() { print(2); }')});
@@ -108,7 +108,7 @@ class UpdateContentTest extends AbstractAnalysisTest {
server.updateContent('2', {testFile: new RemoveContentOverlay()});
// Validate that at the end the unit was indexed.
await server.onAnalysisComplete;
- verify(server.index.index(anyObject, testUnitMatcher)).times(3);
+ verify(server.index.indexUnit(testUnitMatcher)).times(3);
}
test_multiple_contexts() async {

Powered by Google App Engine
This is Rietveld 408576698