Index: test/src/common/polymer_descriptor_test.dart |
diff --git a/test/src/common/polymer_descriptor_test.dart b/test/src/common/polymer_descriptor_test.dart |
index 7df44b0c7490f8d1568d4ed48129bcc7f699c499..032cdd4fcfdcedd37d5e8377cea00f182da5f0b1 100644 |
--- a/test/src/common/polymer_descriptor_test.dart |
+++ b/test/src/common/polymer_descriptor_test.dart |
@@ -57,11 +57,22 @@ main() async { |
expect(descriptor['handleSomeEvent'] is JsFunction, isTrue); |
expect(descriptor['myDoubleChanged'] is JsFunction, isTrue); |
expect(descriptor['myNumsCombined'] is JsFunction, isTrue); |
+ |
+ expect(descriptor['behaviors'], isNotNull); |
+ expect(descriptor['behaviors'].length, 2); |
+ expect(descriptor['behaviors'][0], context['Foo']['BehaviorOne']); |
+ expect(descriptor['behaviors'][1], context['Foo']['BehaviorTwo']); |
}); |
} |
+@BehaviorProxy(const ['Foo', 'BehaviorOne']) |
+class BehaviorOne {} |
+ |
+@BehaviorProxy(const ['Foo', 'BehaviorTwo']) |
+class BehaviorTwo {} |
+ |
@jsProxyReflectable |
-class Test { |
+class Test extends Object with BehaviorOne, BehaviorTwo { |
@property |
String myString; |
@Property(notify: true) |