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

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

Issue 2770063002: Revert "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_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 6f4f093b5819939bb67a4e2c804b32a58c4c8ba9..82fef37ffece0467df2ac40a3442113d6a8d8208 100644
--- a/tests/lib_strong/mirrors/reflected_type_classes_test.dart
+++ b/tests/lib_strong/mirrors/reflected_type_classes_test.dart
@@ -9,19 +9,13 @@ 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.
@@ -34,7 +28,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
@@ -52,11 +46,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);
}
« no previous file with comments | « tests/lib_strong/mirrors/redirecting_factory_test.dart ('k') | tests/lib_strong/mirrors/reflected_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698