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

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

Issue 19708003: Catergorized classes to abstract, class, typedef, and error/exception (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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/lib/docgen.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/test/single_library_test.dart
diff --git a/pkg/docgen/test/single_library_test.dart b/pkg/docgen/test/single_library_test.dart
index f00ddc4d2f40f6fd14723f493208212aae702fa4..6ff153985dd11b6f93fecf6594a9c88860c435a1 100644
--- a/pkg/docgen/test/single_library_test.dart
+++ b/pkg/docgen/test/single_library_test.dart
@@ -54,7 +54,11 @@ main() {
includePrivate: true);
expect(library is Library, isTrue);
- var classes = library.classes.values;
+ var classTypes = library.classes.values;
+ expect(classTypes.every((e) => e is Map), isTrue);
+
+ var classes = [];
+ classTypes.forEach((e) => classes.addAll(e.values));
expect(classes.every((e) => e is Class), isTrue);
var classMethodTypes = [];
« no previous file with comments | « pkg/docgen/lib/docgen.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698