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

Unified Diff: pkg/docgen/test/multi_library_test.dart

Issue 268583002: Access parameter data in Annotations, as well as fixed export visibility (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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/docgen/test/multi_library_test.dart
diff --git a/pkg/docgen/test/multi_library_test.dart b/pkg/docgen/test/multi_library_test.dart
index 3ff966d7ebd09ae1947efb24043c581cd8fe6f23..ceda2762902a528ed19a3f2fdaf5cb66df7d7d92 100644
--- a/pkg/docgen/test/multi_library_test.dart
+++ b/pkg/docgen/test/multi_library_test.dart
@@ -89,5 +89,18 @@ void main() {
});
});
+
+ test('multiple exported libraries.', () {
+ var lib_file = p.toUri(p.join(getMultiLibraryCodePath(), 'lib',
+ 'test_lib2.dart'));
+ return getMirrorSystem([lib_file], false)
+ .then((mirrorSystem) {
+ var library = new Library(mirrorSystem.libraries[lib_file]);
+
+ // Test that libraries do recursive exports correctly.
+ expect(true, library.classes.keys.contains('Bar'));
+ });
+
+ });
});
}

Powered by Google App Engine
This is Rietveld 408576698