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

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

Issue 2768073002: Format all 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/mirrors/reflected_type_classes_test.dart
diff --git a/tests/lib/mirrors/reflected_type_classes_test.dart b/tests/lib/mirrors/reflected_type_classes_test.dart
index 82fef37ffece0467df2ac40a3442113d6a8d8208..6f4f093b5819939bb67a4e2c804b32a58c4c8ba9 100644
--- a/tests/lib/mirrors/reflected_type_classes_test.dart
+++ b/tests/lib/mirrors/reflected_type_classes_test.dart
@@ -9,13 +9,19 @@ import 'dart:mirrors';
import 'reflected_type_helper.dart';
class A<T> {}
+
class B extends A {}
+
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> {}
+
class G {}
-class H<A,B,C> {}
+
+class H<A, B, C> {}
main() {
// Declarations.
@@ -28,7 +34,7 @@ main() {
expectReflectedType(reflectClass(G), G);
expectReflectedType(reflectClass(H), null);
- // Instantiations.
+ // 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
@@ -46,11 +52,11 @@ main() {
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);
- expectReflectedType(reflect(new F<num>()).type.superclass,
- new A<int>().runtimeType);
+ expectReflectedType(
+ reflect(new E<num>()).type.superclass, new A<num>().runtimeType);
+ expectReflectedType(
+ reflect(new F<num>()).type.superclass, new A<int>().runtimeType);
expectReflectedType(reflect(new F<num>()).type, new F<num>().runtimeType);
- expectReflectedType(reflect(new H<num, num, num>()).type,
- new H<num, num, num>().runtimeType);
+ expectReflectedType(
+ reflect(new H<num, num, num>()).type, new H<num, num, num>().runtimeType);
}

Powered by Google App Engine
This is Rietveld 408576698