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

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

Issue 2765693002: Update all tests (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_classes_test.dart
diff --git a/tests/lib_strong/mirrors/reflected_type_classes_test.dart b/tests/lib_strong/mirrors/reflected_type_classes_test.dart
index 4eeb3d8f29c412487853c9f2ddc45a9e0f5934d7..267e293cb5f5804bf92f1cde50739c851631d879 100644
--- a/tests/lib_strong/mirrors/reflected_type_classes_test.dart
+++ b/tests/lib_strong/mirrors/reflected_type_classes_test.dart
@@ -10,7 +10,7 @@ import 'reflected_type_helper.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> {}
@@ -21,7 +21,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);
@@ -31,7 +31,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);
@@ -39,12 +39,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);

Powered by Google App Engine
This is Rietveld 408576698