Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: pkg/analyzer/test/src/summary/linker_test.dart

Issue 2226093002: Record information about a summary's dependencies in the summary itself. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/src/summary/linker_test.dart
diff --git a/pkg/analyzer/test/src/summary/linker_test.dart b/pkg/analyzer/test/src/summary/linker_test.dart
index 3be5a095830b9220e088a7882c753f5f644029d1..92a6fe97156c33d8848f0eb79bf26924b8085036 100644
--- a/pkg/analyzer/test/src/summary/linker_test.dart
+++ b/pkg/analyzer/test/src/summary/linker_test.dart
@@ -172,6 +172,9 @@ import "a.dart";
var y = x;
''',
path: '/b.dart');
+ expect(bundle2.dependencies, hasLength(1));
+ expect(bundle2.dependencies[0].summaryPath, '/a.ds');
+ expect(bundle2.dependencies[0].apiSignature, bundle1.apiSignature);
addBundle('/a.ds', bundle1);
addBundle('/b.ds', bundle2);
createLinker('''

Powered by Google App Engine
This is Rietveld 408576698