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

Side by Side Diff: pkg/analysis_server/bin/fuzz/channel.dart

Issue 584963002: first cut fuzz test for analysis server (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge and address comments Created 6 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library channel; 5 library channel;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import 'package:analysis_server/src/protocol.dart'; 10 import 'protocol.dart';
11 11
12 /** 12 /**
13 * The abstract class [ClientCommunicationChannel] defines the behavior of 13 * The abstract class [ClientCommunicationChannel] defines the behavior of
14 * objects that allow a client to send [Request]s to an [AnalysisServer] and to 14 * objects that allow a client to send [Request]s to an [AnalysisServer] and to
15 * receive both [Response]s and [Notification]s. 15 * receive both [Response]s and [Notification]s.
16 */ 16 */
17 abstract class ClientCommunicationChannel { 17 abstract class ClientCommunicationChannel {
18 /** 18 /**
19 * The stream of notifications from the server. 19 * The stream of notifications from the server.
20 */ 20 */
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 } 143 }
144 } 144 }
145 145
146 @override 146 @override
147 void close() { 147 void close() {
148 closed = true; 148 closed = true;
149 sink.close(); 149 sink.close();
150 } 150 }
151 } 151 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/bin/fuzz/byte_stream_channel.dart ('k') | pkg/analysis_server/bin/fuzz/generated_protocol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698