| Index: pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart
|
| diff --git a/pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart b/pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart
|
| index 30f3c2d85bd24564797b77005db0dc0dc48333f6..58bf8dd8cba1a00c74decc3fd64e6f87c7281be3 100644
|
| --- a/pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart
|
| +++ b/pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart
|
| @@ -708,6 +708,38 @@ abstract class IntegrationTestMixin {
|
| }
|
|
|
| /**
|
| + * 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.
|
| */
|
|
|