summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono/Eo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/efl_mono/Eo.cs')
-rw-r--r--src/tests/efl_mono/Eo.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/efl_mono/Eo.cs b/src/tests/efl_mono/Eo.cs
index efb1faa306..adfec9e175 100644
--- a/src/tests/efl_mono/Eo.cs
+++ b/src/tests/efl_mono/Eo.cs
@@ -607,4 +607,18 @@ class TestProtectedInterfaceMembers
607 } 607 }
608} 608}
609 609
610class TestStaticInterfaceMembers
611{
612 public static void test_interface_static_member()
613 {
614 var iface = typeof(Dummy.ITestIface);
615 var properties = iface.GetProperties(BindingFlags.Public | BindingFlags.Instance);
616 Test.AssertNull(properties.SingleOrDefault(p => p.Name == "StaticProp"));
617
618 var implementation = typeof(Dummy.TestObject);
619 properties = implementation.GetProperties(BindingFlags.Public | BindingFlags.Static);
620 Test.AssertNotNull(properties.SingleOrDefault(p => p.Name == "StaticProp"));
621 }
622}
623
610} 624}