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

Unified Diff: pkg/analyzer_plugin/test/plugin/plugin_test.dart

Issue 2988743002: Remove the analysus.reanalyze request from the plugin API (Closed)
Patch Set: Restart plugins Created 3 years, 5 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/analyzer_plugin/test/plugin/plugin_test.dart
diff --git a/pkg/analyzer_plugin/test/plugin/plugin_test.dart b/pkg/analyzer_plugin/test/plugin/plugin_test.dart
index 740453f3dae1daf78030fca4b592dbcf0f4f815f..9ebb327f3cfd9ed7c37716fea45e5ed8dc5c4ae5 100644
--- a/pkg/analyzer_plugin/test/plugin/plugin_test.dart
+++ b/pkg/analyzer_plugin/test/plugin/plugin_test.dart
@@ -81,25 +81,6 @@ class ServerPluginTest {
expect(result, isNotNull);
}
- test_handleAnalysisReanalyze_all() async {
- await plugin.handleAnalysisSetContextRoots(
- new AnalysisSetContextRootsParams([contextRoot1]));
- var result =
- await plugin.handleAnalysisReanalyze(new AnalysisReanalyzeParams());
- expect(result, isNotNull);
- }
-
- @failingTest
- test_handleAnalysisReanalyze_subset() async {
- await plugin.handleAnalysisSetContextRoots(
- new AnalysisSetContextRootsParams([contextRoot1]));
- await plugin.handleAnalysisSetContextRoots(
- new AnalysisSetContextRootsParams([contextRoot2]));
- var result = await plugin.handleAnalysisReanalyze(
- new AnalysisReanalyzeParams(roots: [packagePath2]));
- expect(result, isNotNull);
- }
-
test_handleAnalysisSetContextRoots() async {
var result = await plugin.handleAnalysisSetContextRoots(
new AnalysisSetContextRootsParams([contextRoot1]));
@@ -270,23 +251,6 @@ class ServerPluginTest {
expect(result, isNotNull);
}
- test_onRequest_analysisReanalyze_all() async {
- await channel
- .sendRequest(new AnalysisSetContextRootsParams([contextRoot1]));
- var result = await channel.sendRequest(new AnalysisReanalyzeParams());
- expect(result, isNotNull);
- }
-
- test_onRequest_analysisReanalyze_subset() async {
- await channel
- .sendRequest(new AnalysisSetContextRootsParams([contextRoot1]));
- await channel
- .sendRequest(new AnalysisSetContextRootsParams([contextRoot2]));
- var result = await channel
- .sendRequest(new AnalysisReanalyzeParams(roots: [packagePath2]));
- expect(result, isNotNull);
- }
-
test_onRequest_analysisSetContextRoots() async {
var result = await channel
.sendRequest(new AnalysisSetContextRootsParams([contextRoot1]));
« no previous file with comments | « pkg/analyzer_plugin/test/integration/support/protocol_matchers.dart ('k') | pkg/analyzer_plugin/tool/spec/plugin_spec.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698