anchor.diff:      addNamedSource('/b.dart', 'library b; export "c.dart";');
       addNamedSource('/c.dart', 'library c;');
       serializeLibraryText('import "a.dart"; A a;');
  -    checkHasDependency('file:///a.dart', 'a.dart');
  +    checkHasDependency(absUri('/a.dart'), 'a.dart');
       // The main test library depends on c.dart, because names defined in
       // c.dart are exported by b.dart and then re-exported by a.dart.
  -    checkHasDependency('file:///c.dart', 'c.dart');
  +    checkHasDependency(absUri('/c.dart'), 'c.dart');
     }
   
     test_dependencies_import_transitive_closure() {
  
positive.code: import 'dart:typed_data';
  
  import 'package:analyzer/src/generated/element.dart';
  import 'package:analyzer/src/generated/source.dart';
  import 'package:analyzer/src/summary/builder.dart';
  import 'package:analyzer/src/summary/format.dart';
  
negative.code:     // part declaration for bar.dart refers to a non-existent file.
      addNamedSource('/foo.dart', 'part "bar.dart"; class C {}');
      serializeLibraryText('import "foo.dart"; C x;');
      checkTypeRef(findVariable('x').type, absUri('/foo.dart'), 'foo.dart', 'C');
    }
  
    test_import_of_missing_export() {
  