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

Unified Diff: tests/lib_strong/mirrors/initializing_formals_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (Closed)
Patch Set: Created 3 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
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 4ebb092318079e9ef3157a9b39b65b45bc46dc8b..d052b76bf520f074f22f036fa2ca53840f697547 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);
« no previous file with comments | « tests/lib_strong/mirrors/globalized_closures_test.dart ('k') | tests/lib_strong/mirrors/invocation_fuzz_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698