| OLD | NEW |
| 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/spec/generate_files". | 7 // "pkg/analysis_server/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:unittest/unittest.dart'; | 16 import 'package:unittest/unittest.dart'; |
| 17 | 17 |
| 18 import 'integration_tests.dart'; | 18 import 'integration_tests.dart'; |
| 19 import 'protocol_matchers.dart'; | 19 import 'protocol_matchers.dart'; |
| 20 | 20 |
| 21 | 21 |
| 22 /** | 22 /** |
| 23 * Convenience methods for running integration tests | 23 * Convenience methods for running integration tests |
| 24 */ | 24 */ |
| 25 abstract class InttestMixin { | 25 abstract class IntegrationTestMixin { |
| 26 Server get server; | 26 Server get server; |
| 27 | 27 |
| 28 /** | 28 /** |
| 29 * Return the version number of the analysis server. | 29 * Return the version number of the analysis server. |
| 30 * | 30 * |
| 31 * Returns | 31 * Returns |
| 32 * | 32 * |
| 33 * version ( String ) | 33 * version ( String ) |
| 34 * | 34 * |
| 35 * The version number of the analysis server. | 35 * The version number of the analysis server. |
| (...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 case "debug.launchData": | 1441 case "debug.launchData": |
| 1442 expect(params, isDebugLaunchDataParams); | 1442 expect(params, isDebugLaunchDataParams); |
| 1443 _onDebugLaunchData.add(params); | 1443 _onDebugLaunchData.add(params); |
| 1444 break; | 1444 break; |
| 1445 default: | 1445 default: |
| 1446 fail('Unexpected notification: $event'); | 1446 fail('Unexpected notification: $event'); |
| 1447 break; | 1447 break; |
| 1448 } | 1448 } |
| 1449 } | 1449 } |
| 1450 } | 1450 } |
| OLD | NEW |