| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 /** | 5 /** |
| 6 * Operations to be performed during the simulation. | 6 * Operations to be performed during the simulation. |
| 7 */ | 7 */ |
| 8 library analysis_server.test.stress.replay.replay; | 8 library analysis_server.test.stress.replay.replay; |
| 9 | 9 |
| 10 import 'package:analysis_server/plugin/protocol/protocol.dart'; | |
| 11 | |
| 12 import '../utilities/server.dart'; | 10 import '../utilities/server.dart'; |
| 13 | 11 |
| 14 /** | 12 /** |
| 15 * An operation that will send an 'analysis.updateContent' request. | 13 * An operation that will send an 'analysis.updateContent' request. |
| 16 */ | 14 */ |
| 17 class AnalysisUpdateContent extends ServerOperation { | 15 class AnalysisUpdateContent extends ServerOperation { |
| 18 /** | 16 /** |
| 19 * The path of the file whose content is being updated. | 17 * The path of the file whose content is being updated. |
| 20 */ | 18 */ |
| 21 String filePath; | 19 String filePath; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 49 | 47 |
| 50 /** | 48 /** |
| 51 * An operation to be performed during the simulation. | 49 * An operation to be performed during the simulation. |
| 52 */ | 50 */ |
| 53 abstract class ServerOperation { | 51 abstract class ServerOperation { |
| 54 /** | 52 /** |
| 55 * Perform this operation by communicating with the given [server]. | 53 * Perform this operation by communicating with the given [server]. |
| 56 */ | 54 */ |
| 57 void perform(Server server); | 55 void perform(Server server); |
| 58 } | 56 } |
| OLD | NEW |