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

Unified Diff: tests/lib_strong/mirrors/reflected_type_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/reflected_type_test.dart
diff --git a/tests/lib_strong/mirrors/reflected_type_test.dart b/tests/lib_strong/mirrors/reflected_type_test.dart
index 84e7468dc35582e8c88a95cacaa22cffda91594f..beba03897b903c482874811355759eb3b07a7590 100644
--- a/tests/lib_strong/mirrors/reflected_type_test.dart
+++ b/tests/lib_strong/mirrors/reflected_type_test.dart
@@ -10,7 +10,7 @@ import 'package:expect/expect.dart';
class A<T> {}
class B extends A {}
-class C extends A<num, int> {} // /// 01: static type warning
+class C extends A<num, int> {} // //# 01: static type warning
class D extends A<int> {}
class E<S> extends A<S> {}
class F<R> extends A<int> {}
@@ -43,7 +43,7 @@ main() {
// Declarations.
expectReflectedType(reflectClass(A), null);
expectReflectedType(reflectClass(B), B);
- expectReflectedType(reflectClass(C), C); // /// 01: continued
+ expectReflectedType(reflectClass(C), C); // //# 01: continued
expectReflectedType(reflectClass(D), D);
expectReflectedType(reflectClass(E), null);
expectReflectedType(reflectClass(F), null);
@@ -53,7 +53,7 @@ main() {
// Instantiations.
expectReflectedType(reflect(new A()).type, new A().runtimeType);
expectReflectedType(reflect(new B()).type, new B().runtimeType);
- expectReflectedType(reflect(new C()).type, new C().runtimeType); // /// 01: continued
+ expectReflectedType(reflect(new C()).type, new C().runtimeType); // //# 01: continued
expectReflectedType(reflect(new D()).type, new D().runtimeType);
expectReflectedType(reflect(new E()).type, new E().runtimeType);
expectReflectedType(reflect(new F()).type, new F().runtimeType);
@@ -61,12 +61,12 @@ main() {
expectReflectedType(reflect(new H()).type, new H().runtimeType);
expectReflectedType(reflect(new A<num>()).type, new A<num>().runtimeType);
- expectReflectedType(reflect(new B<num>()).type.superclass, // /// 02: static type warning
- new A<dynamic>().runtimeType); // /// 02: continued
- expectReflectedType(reflect(new C<num>()).type.superclass, // /// 01: continued
- new A<dynamic>().runtimeType); // /// 01: continued
- expectReflectedType(reflect(new D<num>()).type.superclass, // /// 03: static type warning
- new A<int>().runtimeType); // /// 03: continued
+ expectReflectedType(reflect(new B<num>()).type.superclass, // //# 02: static type warning
+ new A<dynamic>().runtimeType); // //# 02: continued
+ expectReflectedType(reflect(new C<num>()).type.superclass, // //# 01: continued
+ new A<dynamic>().runtimeType); // //# 01: continued
+ expectReflectedType(reflect(new D<num>()).type.superclass, // //# 03: static type warning
+ new A<int>().runtimeType); // //# 03: continued
expectReflectedType(reflect(new E<num>()).type, new E<num>().runtimeType);
expectReflectedType(reflect(new E<num>()).type.superclass,
new A<num>().runtimeType);
« no previous file with comments | « tests/lib_strong/mirrors/reflected_type_classes_test.dart ('k') | tests/lib_strong/mirrors/regress_16321_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698