| OLD | NEW | 
|---|
| 1 // Copyright (c) 2015, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors.  Please see the AUTHORS file | 
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. | 
| 4 | 4 | 
| 5 library analyzer.test.src.summary.summary_common; | 5 library analyzer.test.src.summary.summary_common; | 
| 6 | 6 | 
| 7 import 'package:analyzer/analyzer.dart'; | 7 import 'package:analyzer/analyzer.dart'; | 
| 8 import 'package:analyzer/dart/ast/ast.dart'; | 8 import 'package:analyzer/dart/ast/ast.dart'; | 
| 9 import 'package:analyzer/dart/element/element.dart'; | 9 import 'package:analyzer/dart/element/element.dart'; | 
| 10 import 'package:analyzer/src/dart/scanner/reader.dart'; | 10 import 'package:analyzer/src/dart/scanner/reader.dart'; | 
| 11 import 'package:analyzer/src/dart/scanner/scanner.dart'; | 11 import 'package:analyzer/src/dart/scanner/scanner.dart'; | 
| 12 import 'package:analyzer/src/generated/engine.dart'; | 12 import 'package:analyzer/src/generated/engine.dart'; | 
| 13 import 'package:analyzer/src/generated/error.dart'; | 13 import 'package:analyzer/src/generated/error.dart'; | 
| 14 import 'package:analyzer/src/generated/java_engine_io.dart'; | 14 import 'package:analyzer/src/generated/java_engine_io.dart'; | 
| 15 import 'package:analyzer/src/generated/parser.dart'; | 15 import 'package:analyzer/src/generated/parser.dart'; | 
| 16 import 'package:analyzer/src/generated/source.dart'; | 16 import 'package:analyzer/src/generated/source.dart'; | 
| 17 import 'package:analyzer/src/generated/source_io.dart'; | 17 import 'package:analyzer/src/generated/source_io.dart'; | 
| 18 import 'package:analyzer/src/summary/base.dart'; | 18 import 'package:analyzer/src/summary/base.dart'; | 
| 19 import 'package:analyzer/src/summary/idl.dart'; | 19 import 'package:analyzer/src/summary/idl.dart'; | 
| 20 import 'package:analyzer/src/summary/public_namespace_computer.dart' | 20 import 'package:analyzer/src/summary/public_namespace_computer.dart' | 
| 21     as public_namespace; | 21     as public_namespace; | 
| 22 import 'package:analyzer/src/summary/summarize_elements.dart' | 22 import 'package:analyzer/src/summary/summarize_elements.dart' | 
| 23     as summarize_elements; | 23     as summarize_elements; | 
| 24 import 'package:unittest/unittest.dart'; | 24 import 'package:unittest/unittest.dart'; | 
| 25 | 25 | 
| 26 import '../../generated/resolver_test.dart'; | 26 import '../../generated/analysis_context_factory.dart'; | 
| 27 | 27 | 
| 28 /** | 28 /** | 
| 29  * The public namespaces of the sdk are computed once so that we don't bog | 29  * The public namespaces of the sdk are computed once so that we don't bog | 
| 30  * down the test.  Structured as a map from absolute URI to the corresponding | 30  * down the test.  Structured as a map from absolute URI to the corresponding | 
| 31  * public namespace. | 31  * public namespace. | 
| 32  * | 32  * | 
| 33  * Note: should an exception occur during computation of this variable, it | 33  * Note: should an exception occur during computation of this variable, it | 
| 34  * will silently be set to null to allow other tests to run. | 34  * will silently be set to null to allow other tests to run. | 
| 35  */ | 35  */ | 
| 36 final Map<String, UnlinkedPublicNamespace> sdkPublicNamespace = () { | 36 final Map<String, UnlinkedPublicNamespace> sdkPublicNamespace = () { | 
| (...skipping 7494 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 7531 class _PrefixExpectation { | 7531 class _PrefixExpectation { | 
| 7532   final ReferenceKind kind; | 7532   final ReferenceKind kind; | 
| 7533   final String name; | 7533   final String name; | 
| 7534   final String absoluteUri; | 7534   final String absoluteUri; | 
| 7535   final String relativeUri; | 7535   final String relativeUri; | 
| 7536   final int numTypeParameters; | 7536   final int numTypeParameters; | 
| 7537 | 7537 | 
| 7538   _PrefixExpectation(this.kind, this.name, | 7538   _PrefixExpectation(this.kind, this.name, | 
| 7539       {this.absoluteUri, this.relativeUri, this.numTypeParameters: 0}); | 7539       {this.absoluteUri, this.relativeUri, this.numTypeParameters: 0}); | 
| 7540 } | 7540 } | 
| OLD | NEW | 
|---|