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

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

Issue 209563002: pkg/docgen: the big refactor (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: silly Created 6 years, 9 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
« no previous file with comments | « pkg/docgen/test/multi_library_code/lib/test_lib_foo.dart ('k') | pkg/docgen/test/single_library_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bf5e551bed6f35a01d01f4d42f8ca85e996c60ca..ceee3800ad33b2ccdfac0b834701553bdd488ab2 100644
--- a/pkg/docgen/test/multi_library_test.dart
+++ b/pkg/docgen/test/multi_library_test.dart
@@ -28,7 +28,7 @@ void main() {
group('Generate docs for', () {
test('multiple libraries.', () {
var files = _writeLibFiles();
- return getMirrorSystem(files)
+ return getMirrorSystem(files, false)
.then((mirrorSystem) {
var test_libraryUri = files[0];
var library = new Library(mirrorSystem.libraries[test_libraryUri]);
@@ -46,7 +46,7 @@ void main() {
dart2js_util.classesOf(importedLib.declarations).first;
expect(dart2js_util.qualifiedNameOf(aClassMirror),
'test_lib.foo.B');
- var exportedClass = Indexable.getDocgenObject(aClassMirror, library);
+ var exportedClass = getDocgenObject(aClassMirror, library);
expect(exportedClass is Class, isTrue);
@@ -76,7 +76,7 @@ void main() {
aClassMirror = dart2js_util.classesOf(importedLib.declarations).first;
expect(dart2js_util.qualifiedNameOf(aClassMirror),
'test_lib.bar.C');
- exportedClass = Indexable.getDocgenObject(aClassMirror, library);
+ exportedClass = getDocgenObject(aClassMirror, library);
expect(exportedClass is Class, isTrue);
expect(exportedClass.docName, 'test_lib.C');
« no previous file with comments | « pkg/docgen/test/multi_library_code/lib/test_lib_foo.dart ('k') | pkg/docgen/test/single_library_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698