anchor.diff:  import 'package:analyzer/error/error.dart';
   import 'package:analyzer/file_system/file_system.dart';
   import 'package:analyzer/file_system/memory_file_system.dart';
  -import 'package:analyzer/src/context/packages.dart';
  -import 'package:analyzer/src/dart/analysis/byte_store.dart';
  -import 'package:analyzer/src/dart/analysis/driver.dart';
  -import 'package:analyzer/src/dart/analysis/performance_logger.dart';
  +import 'package:analyzer/src/dart/analysis/analysis_context_collection.dart';
   import 'package:analyzer/src/dart/analysis/testing_data.dart';
  -import 'package:analyzer/src/dart/sdk/sdk.dart';
  -import 'package:analyzer/src/generated/engine.dart';
  -import 'package:analyzer/src/generated/source.dart';
  -import 'package:analyzer/src/source/package_map_resolver.dart';
   import 'package:analyzer/src/test_utilities/mock_sdk.dart';
   
   /// Test configuration used for testing the analyzer without experiments.
  
positive.code:   }
  
    var results = <Uri, ResolvedUnitResult>{};
    for (var testUri in testUris) {
      var path = resourceProvider.convertPath(testUri.path);
      var result = await driver.getResult(path) as ResolvedUnitResult;
      var errors =
          result.errors.where((e) => e.severity == Severity.error).toList();
      if (errors.isNotEmpty) {
  
negative.code:     Map<String, List<String>>? skipMap}) async {
    MemberAnnotations<IdValue> memberAnnotations =
        testData.expectedMaps[config.marker]!;
  
    final resourceProvider = MemoryResourceProvider();
    final testFiles = <_TestFile>[];
    for (final entry in testData.memorySourceFiles.entries) {
      final uri = _toTestUri(entry.key);
      final path = resourceProvider.convertPath(uri.path);
      final file = resourceProvider.getFile(path);
      testFiles.add(
        _TestFile(uri: uri, file: file),
      );
      file.writeAsStringSync(entry.value);
    }
  
    final sdkRoot = resourceProvider.newFolder(
      resourceProvider.convertPath('/sdk'),
    );
    createMockSdk(
      resourceProvider: resourceProvider,
      root: sdkRoot,
    );
  
    final contextCollection = AnalysisContextCollectionImpl(
      includedPaths: testFiles.map((e) => e.path).toList(),
      resourceProvider: resourceProvider,
      retainDataForTesting: true,
      sdkPath: sdkRoot.path,
    );
    final analysisContext = contextCollection.contexts.single;
    final analysisSession = analysisContext.currentSession;
    final driver = analysisContext.driver;
  
    Map<Uri, Map<Id, ActualData<T>>> actualMaps = <Uri, Map<Id, ActualData<T>>>{};
    Map<Id, ActualData<T>> globalData = <Id, ActualData<T>>{};
  