anchor.diff:      expect(ignoreInfo.hasIgnores, isFalse);
     }
   
  +  test_perform_library() {
  +    _performScanTask(r'''
  +library lib;
  +import 'lib2.dart';
  +export 'lib3.dart';
  +part 'part.dart';
  +class A {''');
  +    expect(outputs, hasLength(4));
  +    expect(outputs[LINE_INFO], isNotNull);
  +    // Missing closing brace error is reported by the Fasta scanner.
  +    expect(outputs[SCAN_ERRORS], hasLength(fe.Scanner.useFasta ? 1 : 0));
  +    expect(outputs[TOKEN_STREAM], isNotNull);
  +    IgnoreInfo ignoreInfo = outputs[IGNORE_INFO];
  +    expect(ignoreInfo, isNotNull);
  +    expect(ignoreInfo.hasIgnores, isFalse);
  +  }
  +
     test_perform_noErrors() {
       _performScanTask('class A {}');
       expect(outputs, hasLength(4));
  
positive.code:     _assertHasCore(outputs[IMPORTED_LIBRARIES], 2);
      expect(outputs[INCLUDED_PARTS], hasLength(1));
      expect(outputs[LIBRARY_SPECIFIC_UNITS], hasLength(2));
      expect(outputs[PARSE_ERRORS], hasLength(1));
      expect(outputs[PARSED_UNIT], isNotNull);
      expect(outputs[REFERENCED_SOURCES], hasLength(5));
      expect(outputs[SOURCE_KIND], SourceKind.LIBRARY);
  
negative.code: import 'package:analyzer/task/dart.dart';
  import 'package:analyzer/task/general.dart';
  import 'package:analyzer/task/model.dart';
  import 'package:front_end/src/scanner/scanner.dart' as fe;
  import 'package:test/test.dart';
  import 'package:test_reflective_loader/test_reflective_loader.dart';
  
  