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

Unified Diff: tests/lib/mirrors/library_declarations_test.dart

Issue 416873002: Don't include class-static functions in library mirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos. Created 6 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
Index: tests/lib/mirrors/library_declarations_test.dart
diff --git a/tests/lib/mirrors/library_declarations_test.dart b/tests/lib/mirrors/library_declarations_test.dart
index 807bb5710cdd9cbb48f75be6411d60019d4c272a..f50ac696f1fd2d8ad3305ba5441ccf4fe4741c0d 100644
--- a/tests/lib/mirrors/library_declarations_test.dart
+++ b/tests/lib/mirrors/library_declarations_test.dart
@@ -22,9 +22,6 @@ main() {
lm.declarations.values.where((dm) => dm is VariableMirror).map(stringify),
'variables');
- // dart2js stops testing here.
- return; /// 01: ok
ahe 2014/08/04 09:19:40 \o/
-
Expect.setEquals(
['Method(s(_libraryGetter)'
' in s(test.declarations_model), private, top-level, static, getter)',
@@ -69,7 +66,7 @@ main() {
'Class(s(ConcreteClass) in s(test.declarations_model), top-level)',
'Class(s(Interface) in s(test.declarations_model), top-level)',
'Class(s(Mixin) in s(test.declarations_model), top-level)',
- 'Type(s(Predicate) in s(test.declarations_model), top-level)',
+ 'Type(s(Predicate) in s(test.declarations_model), top-level)', /// 01: ok
'Class(s(Superclass) in s(test.declarations_model), top-level)',
'Class(s(_PrivateClass)'
' in s(test.declarations_model), private, top-level)'],
@@ -81,7 +78,7 @@ main() {
'Class(s(ConcreteClass) in s(test.declarations_model), top-level)',
'Class(s(Interface) in s(test.declarations_model), top-level)',
'Class(s(Mixin) in s(test.declarations_model), top-level)',
- 'Type(s(Predicate) in s(test.declarations_model), top-level)',
+ 'Type(s(Predicate) in s(test.declarations_model), top-level)', /// 01: ok
'Class(s(Superclass) in s(test.declarations_model), top-level)',
'Method(s(libraryGetter)'
' in s(test.declarations_model), top-level, static, getter)',
@@ -99,7 +96,7 @@ main() {
'Class(s(ConcreteClass) in s(test.declarations_model), top-level)',
'Class(s(Interface) in s(test.declarations_model), top-level)',
'Class(s(Mixin) in s(test.declarations_model), top-level)',
- 'Type(s(Predicate) in s(test.declarations_model), top-level)',
+ 'Type(s(Predicate) in s(test.declarations_model), top-level)', /// 01: ok
'Class(s(Superclass) in s(test.declarations_model), top-level)',
'Class(s(_PrivateClass) in s(test.declarations_model), private, top-level)',
'Method(s(_libraryGetter)'

Powered by Google App Engine
This is Rietveld 408576698