Index: pkg/analyzer/test/generated/engine_test.dart |
diff --git a/pkg/analyzer/test/generated/engine_test.dart b/pkg/analyzer/test/generated/engine_test.dart |
index cdb97acdb5dad98356b68e84094e212e7905b1dd..ad68a206357ef8f2ce8b7ff5d72b1bae4458cc18 100644 |
--- a/pkg/analyzer/test/generated/engine_test.dart |
+++ b/pkg/analyzer/test/generated/engine_test.dart |
@@ -245,21 +245,6 @@ class AnalysisContextImplTest extends EngineTestCase { |
super.tearDown(); |
} |
- Future test_analyzedSources_added() async { |
- AnalyzedSourcesListener listener = new AnalyzedSourcesListener(); |
- _context.implicitAnalysisEvents.listen(listener.onData); |
- // |
- // Create a file that references an file that is not explicitly being |
- // analyzed and fully analyze it. Ensure that the listener is told about |
- // the implicitly analyzed file. |
- // |
- Source sourceA = _addSource('/a.dart', "library a; import 'b.dart';"); |
- Source sourceB = _createSource('/b.dart', "library b;"); |
- _context.computeErrors(sourceA); |
- await pumpEventQueue(); |
- listener.expectAnalyzed(sourceB); |
- } |
- |
Future test_applyChanges_add() { |
SourcesChangedListener listener = new SourcesChangedListener(); |
_context.onSourcesChanged.listen(listener.onData); |
@@ -1348,6 +1333,21 @@ main() {}'''); |
// assertLength(0, statistics.getSources()); |
} |
+ Future test_implicitAnalysisEvents_added() async { |
+ AnalyzedSourcesListener listener = new AnalyzedSourcesListener(); |
+ _context.implicitAnalysisEvents.listen(listener.onData); |
+ // |
+ // Create a file that references an file that is not explicitly being |
+ // analyzed and fully analyze it. Ensure that the listener is told about |
+ // the implicitly analyzed file. |
+ // |
+ Source sourceA = _addSource('/a.dart', "library a; import 'b.dart';"); |
+ Source sourceB = _createSource('/b.dart', "library b;"); |
+ _context.computeErrors(sourceA); |
+ await pumpEventQueue(); |
+ listener.expectAnalyzed(sourceB); |
+ } |
+ |
void test_isClientLibrary_dart() { |
_context = AnalysisContextFactory.oldContextWithCore(); |
_sourceFactory = _context.sourceFactory; |