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

Unified Diff: pkg/analysis_server/test/integration/server_domain_inttest.dart

Issue 405473006: Three new analysis server integration tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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/analysis_server/test/integration/server_domain_inttest.dart
diff --git a/pkg/analysis_server/test/integration/server_domain_inttest.dart b/pkg/analysis_server/test/integration/server_domain_inttest.dart
index d86db0679e36201001df69f79ca9f5c5923b96d0..0544b95f3e04da141149e5965d6e89c15972d4da 100644
--- a/pkg/analysis_server/test/integration/server_domain_inttest.dart
+++ b/pkg/analysis_server/test/integration/server_domain_inttest.dart
@@ -71,6 +71,16 @@ main() {
});
}
+ test_setSubscriptions_invalidService() {
+ // TODO(paulberry): verify that if an invalid service is specified, the
+ // current subscriptions are unchanged.
+ return server_setSubscriptions(['bogus']).then((_) {
+ fail('setSubscriptions should have produced an error');
+ }, onError: (error) {
+ // The expected error occurred.
+ });
+ }
+
test_connected() {
Completer receivedConnected = new Completer();
server.onNotification('server.connected').listen((params) {

Powered by Google App Engine
This is Rietveld 408576698