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

Side by Side Diff: pkg/analysis_server/test/integration/support/integration_test_methods.dart

Issue 2879273002: Make server use the common protocol classes (Closed)
Patch Set: Created 3 years, 7 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
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script 6 // To regenerate the file, use the script
7 // "pkg/analysis_server/tool/spec/generate_files". 7 // "pkg/analysis_server/tool/spec/generate_files".
8 8
9 /** 9 /**
10 * Convenience methods for running integration tests 10 * Convenience methods for running integration tests
11 */ 11 */
12 import 'dart:async'; 12 import 'dart:async';
13 13
14 import 'package:analysis_server/protocol/protocol_generated.dart'; 14 import 'package:analysis_server/protocol/protocol_generated.dart';
15 import 'package:analysis_server/src/protocol/protocol_internal.dart'; 15 import 'package:analysis_server/src/protocol/protocol_internal.dart';
16 import 'package:test/test.dart'; 16 import 'package:test/test.dart';
17 17
18 import 'integration_tests.dart'; 18 import 'integration_tests.dart';
19 import 'protocol_matchers.dart'; 19 import 'protocol_matchers.dart';
20 import 'package:analyzer_plugin/protocol/protocol_common.dart';
20 21
21 /** 22 /**
22 * Convenience methods for running integration tests 23 * Convenience methods for running integration tests
23 */ 24 */
24 abstract class IntegrationTestMixin { 25 abstract class IntegrationTestMixin {
25 Server get server; 26 Server get server;
26 27
27 /** 28 /**
28 * Return the version number of the analysis server. 29 * Return the version number of the analysis server.
29 * 30 *
(...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1881 outOfTestExpect(params, isExecutionLaunchDataParams); 1882 outOfTestExpect(params, isExecutionLaunchDataParams);
1882 _onExecutionLaunchData.add( 1883 _onExecutionLaunchData.add(
1883 new ExecutionLaunchDataParams.fromJson(decoder, 'params', params)); 1884 new ExecutionLaunchDataParams.fromJson(decoder, 'params', params));
1884 break; 1885 break;
1885 default: 1886 default:
1886 fail('Unexpected notification: $event'); 1887 fail('Unexpected notification: $event');
1887 break; 1888 break;
1888 } 1889 }
1889 } 1890 }
1890 } 1891 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698