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

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

Issue 2394683006: Switch analysis_server to use 'package:test'. (Closed)
Patch Set: Created 4 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
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 // 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 library test.integration.methods; 12 library test.integration.methods;
13 13
14 import 'dart:async'; 14 import 'dart:async';
15 15
16 import 'package:analysis_server/plugin/protocol/protocol.dart'; 16 import 'package:analysis_server/plugin/protocol/protocol.dart';
17 import 'package:analysis_server/src/protocol/protocol_internal.dart'; 17 import 'package:analysis_server/src/protocol/protocol_internal.dart';
18 import 'package:unittest/unittest.dart'; 18 import 'package:test/test.dart';
19 19
20 import 'integration_tests.dart'; 20 import 'integration_tests.dart';
21 import 'protocol_matchers.dart'; 21 import 'protocol_matchers.dart';
22 22
23 23
24 /** 24 /**
25 * Convenience methods for running integration tests 25 * Convenience methods for running integration tests
26 */ 26 */
27 abstract class IntegrationTestMixin { 27 abstract class IntegrationTestMixin {
28 Server get server; 28 Server get server;
(...skipping 1715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1744 case "execution.launchData": 1744 case "execution.launchData":
1745 expect(params, isExecutionLaunchDataParams); 1745 expect(params, isExecutionLaunchDataParams);
1746 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode r, 'params', params)); 1746 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode r, 'params', params));
1747 break; 1747 break;
1748 default: 1748 default:
1749 fail('Unexpected notification: $event'); 1749 fail('Unexpected notification: $event');
1750 break; 1750 break;
1751 } 1751 }
1752 } 1752 }
1753 } 1753 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698