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

Unified Diff: pkg/analysis_server/test/analysis_abstract.dart

Issue 2382053002: Remove unused option in server API (Closed)
Patch Set: Created 4 years, 3 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_abstract.dart
diff --git a/pkg/analysis_server/test/analysis_abstract.dart b/pkg/analysis_server/test/analysis_abstract.dart
index 0db5841cf5dfce262c8af70b482c8beca1777c27..93caa687d34adc14fec2a67e273d81a69ab10c94 100644
--- a/pkg/analysis_server/test/analysis_abstract.dart
+++ b/pkg/analysis_server/test/analysis_abstract.dart
@@ -48,7 +48,6 @@ int findIdentifierLength(String search) {
class AbstractAnalysisTest {
MockServerChannel serverChannel;
MemoryResourceProvider resourceProvider;
- MockPackageMapProvider packageMapProvider;
AnalysisServer server;
RequestHandler handler;
@@ -129,7 +128,6 @@ class AbstractAnalysisTest {
return new AnalysisServer(
serverChannel,
resourceProvider,
- packageMapProvider,
index,
serverPlugin,
new AnalysisServerOptions(),
@@ -146,8 +144,9 @@ class AbstractAnalysisTest {
*/
void createProject({Map<String, String> packageRoots}) {
resourceProvider.newFolder(projectPath);
- Request request =
- new AnalysisSetAnalysisRootsParams([projectPath], [], packageRoots: packageRoots).toRequest('0');
+ Request request = new AnalysisSetAnalysisRootsParams([projectPath], [],
+ packageRoots: packageRoots)
+ .toRequest('0');
handleSuccessfulRequest(request, handler: analysisHandler);
}
@@ -206,7 +205,6 @@ class AbstractAnalysisTest {
void setUp() {
serverChannel = new MockServerChannel();
resourceProvider = new MemoryResourceProvider();
- packageMapProvider = new MockPackageMapProvider();
Index index = createIndex();
server = createAnalysisServer(index);
handler = analysisHandler;

Powered by Google App Engine
This is Rietveld 408576698