| Index: pkg/analysis_server/test/integration/support/integration_test_methods.dart
|
| diff --git a/pkg/analysis_server/test/integration/support/integration_test_methods.dart b/pkg/analysis_server/test/integration/support/integration_test_methods.dart
|
| index 93cb1d4abb217159ebec85ce7184bb5a7c6c2f5b..a566054e606236d620cac88c72f5e533ec96aa7d 100644
|
| --- a/pkg/analysis_server/test/integration/support/integration_test_methods.dart
|
| +++ b/pkg/analysis_server/test/integration/support/integration_test_methods.dart
|
| @@ -2036,6 +2036,38 @@ abstract class IntegrationTestMixin {
|
| return null;
|
| }
|
|
|
| + /**
|
| + * Return the list of KytheEntry objects for some file, given the current
|
| + * state of the file system populated by "analysis.updateContent".
|
| + *
|
| + * Parameters
|
| + *
|
| + * file: FilePath
|
| + *
|
| + * The file containing the code for which the Kythe Entry objects are being
|
| + * requested.
|
| + *
|
| + * Returns
|
| + *
|
| + * entries: List<KytheEntry>
|
| + *
|
| + * The list of KytheEntry objects for the queried file.
|
| + *
|
| + * files: List<FilePath>
|
| + *
|
| + * The set of files paths that were required, but not in the file system,
|
| + * to give a complete and accurate Kythe graph for the file. This could be
|
| + * due to a referenced file that does not exist or generated files not
|
| + * being generated or passed before the call to "getKytheEntries".
|
| + */
|
| + Future<KytheGetKytheEntriesResult> sendKytheGetKytheEntries(
|
| + String file) async {
|
| + var params = new KytheGetKytheEntriesParams(file).toJson();
|
| + var result = await server.send("kythe.getKytheEntries", params);
|
| + ResponseDecoder decoder = new ResponseDecoder(null);
|
| + return new KytheGetKytheEntriesResult.fromJson(decoder, 'result', result);
|
| + }
|
| +
|
| /**
|
| * Initialize the fields in InttestMixin, and ensure that notifications will
|
| * be handled.
|
|
|