| Index: pkg/analysis_server/lib/src/analysis_server.dart
|
| diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
|
| index 43a30915361ef059e0c5e8ca70524bb447547148..f2e2da695d22dccba541704d3411c7dc79e2ad3b 100644
|
| --- a/pkg/analysis_server/lib/src/analysis_server.dart
|
| +++ b/pkg/analysis_server/lib/src/analysis_server.dart
|
| @@ -906,33 +906,6 @@ class AnalysisServer {
|
| }
|
|
|
| /**
|
| - * Return the [CompilationUnit] of the Dart file with the given [path].
|
| - * Return `null` if the file is not a part of any context.
|
| - */
|
| - CompilationUnit test_getResolvedCompilationUnit(String path) {
|
| - // prepare AnalysisContext
|
| - AnalysisContext context = getAnalysisContext(path);
|
| - if (context == null) {
|
| - return null;
|
| - }
|
| - // prepare sources
|
| - Source unitSource = getSource(path);
|
| - List<Source> librarySources = context.getLibrariesContaining(unitSource);
|
| - if (librarySources.isEmpty) {
|
| - return null;
|
| - }
|
| - // get a resolved unit
|
| - return context.getResolvedCompilationUnit2(unitSource, librarySources[0]);
|
| - }
|
| -
|
| - /**
|
| - * Return `true` if all operations have been performed in this [AnalysisServer].
|
| - */
|
| - bool test_areOperationsFinished() {
|
| - return operationQueue.isEmpty;
|
| - }
|
| -
|
| - /**
|
| * Schedules [performOperation] exection.
|
| */
|
| void _schedulePerformOperation() {
|
|
|