| Index: pkg/analysis_server/test/mocks.dart
|
| diff --git a/pkg/analysis_server/test/mocks.dart b/pkg/analysis_server/test/mocks.dart
|
| index 49c2d039a56226ece6120add178f250b47179378..8644cd9aa1948a49e89f79c3cd85f72d03f304f1 100644
|
| --- a/pkg/analysis_server/test/mocks.dart
|
| +++ b/pkg/analysis_server/test/mocks.dart
|
| @@ -58,7 +58,7 @@ Matcher isResponseSuccess(String id) => new _IsResponseSuccess(id);
|
| * times. By default, this should pump the event queue enough times to allow
|
| * any code to run, as long as it's not waiting on some external event.
|
| */
|
| -Future pumpEventQueue([int times = 20]) {
|
| +Future pumpEventQueue([int times = 50]) {
|
| if (times == 0) return new Future.value();
|
| // We use a delayed future to allow microtask events to finish. The
|
| // Future.value or Future() constructors use scheduleMicrotask themselves and
|
| @@ -323,15 +323,10 @@ class MockServerOperation implements PerformAnalysisOperation {
|
| bool get isContinue => false;
|
|
|
| @override
|
| - void perform(AnalysisServer server) => this._perform(server);
|
| -
|
| - @override
|
| - void sendNotices(AnalysisServer server, List<ChangeNotice> notices) {
|
| - }
|
| + bool get isPriority => null;
|
|
|
| @override
|
| - void updateIndex(AnalysisServer server, List<ChangeNotice> notices) {
|
| - }
|
| + void perform(AnalysisServer server) => this._perform(server);
|
| }
|
|
|
|
|
|
|