Index: tests/lib_strong/mirrors/mixin_simple_test.dart |
diff --git a/tests/lib_strong/mirrors/mixin_simple_test.dart b/tests/lib_strong/mirrors/mixin_simple_test.dart |
index 7edcbe423b1c476aa4d4a2449650f50e04fd2cee..f9f0915cd0ff46ea41e2311efa05b5379dbd3e32 100644 |
--- a/tests/lib_strong/mirrors/mixin_simple_test.dart |
+++ b/tests/lib_strong/mirrors/mixin_simple_test.dart |
@@ -9,30 +9,35 @@ import 'dart:mirrors'; |
import 'package:expect/expect.dart'; |
class Super {} |
+ |
class Mixin {} |
+ |
class Mixin2 {} |
class Class extends Super with Mixin {} |
+ |
class MultipleMixins extends Class with Mixin2 {} |
main() { |
+ Expect.equals(reflectClass(Class), reflectClass(Class).mixin); |
+ Expect.equals(reflectClass(Mixin), reflectClass(Class).superclass.mixin); |
+ Expect.equals( |
+ reflectClass(Super), reflectClass(Class).superclass.superclass.mixin); |
+ |
+ Expect.equals( |
+ reflectClass(MultipleMixins), reflectClass(MultipleMixins).mixin); |
+ Expect.equals( |
+ reflectClass(Mixin2), reflectClass(MultipleMixins).superclass.mixin); |
Expect.equals(reflectClass(Class), |
- reflectClass(Class).mixin); |
- Expect.equals(reflectClass(Mixin), |
- reflectClass(Class).superclass.mixin); |
- Expect.equals(reflectClass(Super), |
- reflectClass(Class).superclass.superclass.mixin); |
- |
- Expect.equals(reflectClass(MultipleMixins), |
- reflectClass(MultipleMixins).mixin); |
- Expect.equals(reflectClass(Mixin2), |
- reflectClass(MultipleMixins).superclass.mixin); |
- Expect.equals(reflectClass(Class), |
- reflectClass(MultipleMixins).superclass.superclass.mixin); |
+ reflectClass(MultipleMixins).superclass.superclass.mixin); |
Expect.equals(reflectClass(Mixin), |
- reflectClass(MultipleMixins).superclass.superclass.superclass |
- .mixin); |
- Expect.equals(reflectClass(Super), |
- reflectClass(MultipleMixins).superclass.superclass.superclass |
- .superclass.mixin); |
+ reflectClass(MultipleMixins).superclass.superclass.superclass.mixin); |
+ Expect.equals( |
+ reflectClass(Super), |
+ reflectClass(MultipleMixins) |
+ .superclass |
+ .superclass |
+ .superclass |
+ .superclass |
+ .mixin); |
} |