Index: tests/lib_strong/mirrors/initializing_formals_test.dart |
diff --git a/tests/lib_strong/mirrors/initializing_formals_test.dart b/tests/lib_strong/mirrors/initializing_formals_test.dart |
index cbb08123efb448d9580384aec55935d6a79b8eaa..173b7ee113fb76d45e4660e7cce8e2afdc1b9bf9 100644 |
--- a/tests/lib_strong/mirrors/initializing_formals_test.dart |
+++ b/tests/lib_strong/mirrors/initializing_formals_test.dart |
@@ -39,10 +39,10 @@ main() { |
pm = mm.parameters.single; |
Expect.equals(#intField, pm.simpleName); |
Expect.equals(reflectClass(int), pm.type); |
- Expect.isFalse(pm.isNamed); /// 01: ok |
- Expect.isFalse(pm.isFinal); /// 01: ok |
- Expect.isFalse(pm.isOptional); /// 01: ok |
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok |
+ Expect.isFalse(pm.isNamed); //# 01: ok |
+ Expect.isFalse(pm.isFinal); //# 01: ok |
+ Expect.isFalse(pm.isOptional); //# 01: ok |
+ Expect.isFalse(pm.hasDefaultValue); //# 01: ok |
Expect.isFalse(pm.isPrivate); |
Expect.isFalse(pm.isStatic); |
Expect.isFalse(pm.isTopLevel); |
@@ -51,10 +51,10 @@ main() { |
pm = mm.parameters.single; |
Expect.equals(#boolField, pm.simpleName); |
Expect.equals(reflectClass(bool), pm.type); |
- Expect.isTrue(pm.isNamed); /// 01: ok |
- Expect.isFalse(pm.isFinal); /// 01: ok |
- Expect.isTrue(pm.isOptional); /// 01: ok |
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok |
+ Expect.isTrue(pm.isNamed); //# 01: ok |
+ Expect.isFalse(pm.isFinal); //# 01: ok |
+ Expect.isTrue(pm.isOptional); //# 01: ok |
+ Expect.isFalse(pm.hasDefaultValue); //# 01: ok |
Expect.isFalse(pm.isPrivate); |
Expect.isFalse(pm.isStatic); |
Expect.isFalse(pm.isTopLevel); |
@@ -63,11 +63,11 @@ main() { |
pm = mm.parameters.single; |
Expect.equals(#stringField, pm.simpleName); |
Expect.equals(reflectClass(String), pm.type); |
- Expect.isFalse(pm.isNamed); /// 01: ok |
- Expect.isFalse(pm.isFinal); /// 01: ok |
- Expect.isTrue(pm.isOptional); /// 01: ok |
- Expect.isTrue(pm.hasDefaultValue); /// 01: ok |
- Expect.equals('default', pm.defaultValue.reflectee); /// 01: ok |
+ Expect.isFalse(pm.isNamed); //# 01: ok |
+ Expect.isFalse(pm.isFinal); //# 01: ok |
+ Expect.isTrue(pm.isOptional); //# 01: ok |
+ Expect.isTrue(pm.hasDefaultValue); //# 01: ok |
+ Expect.equals('default', pm.defaultValue.reflectee); //# 01: ok |
Expect.isFalse(pm.isPrivate); |
Expect.isFalse(pm.isStatic); |
Expect.isFalse(pm.isTopLevel); |
@@ -76,22 +76,22 @@ main() { |
pm = mm.parameters.single; |
Expect.equals(#tField, pm.simpleName); |
Expect.equals(reflectClass(Class).typeVariables.single, pm.type); |
- Expect.isFalse(pm.isNamed); /// 01: ok |
- Expect.isFalse(pm.isFinal); /// 01: ok |
- Expect.isFalse(pm.isOptional); /// 01: ok |
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok |
+ Expect.isFalse(pm.isNamed); //# 01: ok |
+ Expect.isFalse(pm.isFinal); //# 01: ok |
+ Expect.isFalse(pm.isOptional); //# 01: ok |
+ Expect.isFalse(pm.hasDefaultValue); //# 01: ok |
Expect.isFalse(pm.isPrivate); |
Expect.isFalse(pm.isStatic); |
Expect.isFalse(pm.isTopLevel); |
mm = reflectClass(Class).declarations[#Class.private]; |
pm = mm.parameters.single; |
- Expect.equals(#_privateField, pm.simpleName); /// 03: ok |
+ Expect.equals(#_privateField, pm.simpleName); //# 03: ok |
Expect.equals(currentMirrorSystem().dynamicType, pm.type); |
- Expect.isFalse(pm.isNamed); /// 01: ok |
- Expect.isFalse(pm.isFinal); /// 01: ok |
- Expect.isFalse(pm.isOptional); /// 01: ok |
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok |
+ Expect.isFalse(pm.isNamed); //# 01: ok |
+ Expect.isFalse(pm.isFinal); //# 01: ok |
+ Expect.isFalse(pm.isOptional); //# 01: ok |
+ Expect.isFalse(pm.hasDefaultValue); //# 01: ok |
Expect.isTrue(pm.isPrivate); |
Expect.isFalse(pm.isStatic); |
Expect.isFalse(pm.isTopLevel); |
@@ -100,10 +100,10 @@ main() { |
pm = mm.parameters.single; |
Expect.equals(#intField, pm.simpleName); |
Expect.equals(reflectClass(num), pm.type); |
- Expect.isFalse(pm.isNamed); /// 01: ok |
- Expect.isFalse(pm.isFinal); /// 01: ok |
- Expect.isFalse(pm.isOptional); /// 01: ok |
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok |
+ Expect.isFalse(pm.isNamed); //# 01: ok |
+ Expect.isFalse(pm.isFinal); //# 01: ok |
+ Expect.isFalse(pm.isOptional); //# 01: ok |
+ Expect.isFalse(pm.hasDefaultValue); //# 01: ok |
Expect.isFalse(pm.isPrivate); |
Expect.isFalse(pm.isStatic); |
Expect.isFalse(pm.isTopLevel); |
@@ -112,10 +112,10 @@ main() { |
pm = mm.parameters.single; |
Expect.equals(#intField, pm.simpleName); |
Expect.equals(reflectClass(int), pm.type); |
- Expect.isFalse(pm.isNamed); /// 01: ok |
- Expect.isFalse(pm.isFinal); /// 01: ok |
- Expect.isFalse(pm.isOptional); /// 01: ok |
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok |
+ Expect.isFalse(pm.isNamed); //# 01: ok |
+ Expect.isFalse(pm.isFinal); //# 01: ok |
+ Expect.isFalse(pm.isOptional); //# 01: ok |
+ Expect.isFalse(pm.hasDefaultValue); //# 01: ok |
Expect.isFalse(pm.isPrivate); |
Expect.isFalse(pm.isStatic); |
Expect.isFalse(pm.isTopLevel); |
@@ -124,10 +124,10 @@ main() { |
pm = mm.parameters.single; |
Expect.equals(#intField, pm.simpleName); |
Expect.equals(currentMirrorSystem().dynamicType, pm.type); // N.B. |
- Expect.isFalse(pm.isNamed); /// 01: ok |
- Expect.isFalse(pm.isFinal); /// 01: ok |
- Expect.isFalse(pm.isOptional); /// 01: ok |
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok |
+ Expect.isFalse(pm.isNamed); //# 01: ok |
+ Expect.isFalse(pm.isFinal); //# 01: ok |
+ Expect.isFalse(pm.isOptional); //# 01: ok |
+ Expect.isFalse(pm.hasDefaultValue); //# 01: ok |
Expect.isFalse(pm.isPrivate); |
Expect.isFalse(pm.isStatic); |
Expect.isFalse(pm.isTopLevel); |
@@ -136,10 +136,10 @@ main() { |
pm = mm.parameters.single; |
Expect.equals(#value, pm.simpleName); |
Expect.equals(reflectClass(num), pm.type); |
- Expect.isFalse(pm.isNamed); /// 01: ok |
- Expect.isFalse(pm.isFinal); // N.B. /// 01: ok |
- Expect.isFalse(pm.isOptional); /// 01: ok |
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok |
+ Expect.isFalse(pm.isNamed); //# 01: ok |
+ Expect.isFalse(pm.isFinal); // N.B. //# 01: ok |
+ Expect.isFalse(pm.isOptional); //# 01: ok |
+ Expect.isFalse(pm.hasDefaultValue); //# 01: ok |
Expect.isFalse(pm.isPrivate); |
Expect.isFalse(pm.isStatic); |
Expect.isFalse(pm.isTopLevel); |
@@ -148,10 +148,10 @@ main() { |
pm = mm.parameters.single; |
Expect.equals(#value, pm.simpleName); |
Expect.equals(reflectClass(num), pm.type); |
- Expect.isFalse(pm.isNamed); /// 01: ok |
- Expect.isTrue(pm.isFinal); // N.B. /// 01: ok |
- Expect.isFalse(pm.isOptional); /// 01: ok |
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok |
+ Expect.isFalse(pm.isNamed); //# 01: ok |
+ Expect.isTrue(pm.isFinal); // N.B. //# 01: ok |
+ Expect.isFalse(pm.isOptional); //# 01: ok |
+ Expect.isFalse(pm.hasDefaultValue); //# 01: ok |
Expect.isFalse(pm.isPrivate); |
Expect.isFalse(pm.isStatic); |
Expect.isFalse(pm.isTopLevel); |