| Index: pkg/analysis_server/test/timing/completion/completion_simple.dart
|
| diff --git a/pkg/analysis_server/test/timing/completion/completion_simple.dart b/pkg/analysis_server/test/timing/completion/completion_simple.dart
|
| index aa833bb51d6adab38f268f07c38e0f5c8632bcf3..34197bde3646b857c51b39c646e16cf0903664fe 100644
|
| --- a/pkg/analysis_server/test/timing/completion/completion_simple.dart
|
| +++ b/pkg/analysis_server/test/timing/completion/completion_simple.dart
|
| @@ -81,6 +81,16 @@ f(C c) {
|
| }
|
|
|
| @override
|
| + Future perform() {
|
| + sendAnalysisUpdateContent({
|
| + mainFilePath: new ChangeContentOverlay(
|
| + [new SourceEdit(cursorOffset, 0, '.')])
|
| + });
|
| + sendCompletionGetSuggestions(mainFilePath, cursorOffset + 1);
|
| + return completionReceived.future;
|
| + }
|
| +
|
| + @override
|
| Future setUp() {
|
| completionReceived = new Completer();
|
| onCompletionResults.listen((_) {
|
| @@ -97,16 +107,6 @@ f(C c) {
|
| }
|
|
|
| @override
|
| - Future perform() {
|
| - sendAnalysisUpdateContent({
|
| - mainFilePath: new ChangeContentOverlay(
|
| - [new SourceEdit(cursorOffset, 0, '.')])
|
| - });
|
| - sendCompletionGetSuggestions(mainFilePath, cursorOffset + 1);
|
| - return completionReceived.future;
|
| - }
|
| -
|
| - @override
|
| Future tearDown() {
|
| sendAnalysisSetAnalysisRoots([], []);
|
| return new Future.value();
|
|
|