path: root/src/tests/efl_mono/Eo.cs
diff options
authorLauro Moura <>2019-03-11 15:46:12 -0300
committerVitor Sousa <>2019-03-11 16:08:04 -0300
commitf29ceef5002f7ab2a0f400adbed20299737bce20 (patch)
tree2324619326073a6a55f286723802553743feb3f9 /src/tests/efl_mono/Eo.cs
parent2a003420f83134331c8b404df1905cba538cfad6 (diff)
efl-csharp: Respect beta for classes and other stuff.
Summary: In order to work around an issue with Efl.App, which is stable but inherits from Efl.Core.Command_Line, @beta interfaces/mixins in the inheritance chain are simply skipped. Also changed the class used int test for inheritance from C# Efl.Loop is stable but internally it uses a @beta class as argument to its Register() method in the constructor. When instantiating a user-defined C# subclass, the binding calls the C# override in the NativeInherit class and the marshalling fails as no code is generated for the beta class. Also moved Efl.Part test to a beta class. Efl.Part is still beta. Regarding parts, they are skipped if its class is @beta too. Also rejected all elm_* files in elm public eo files. They should get back in as they are converted to Efl.Ui.* api. An exception is elm_interface_scrollable.eo, as efl_ui_panel depends on it. Fixes T7730 Test Plan: Run tests Reviewers: vitor.sousa, segfaultxavi, felipealmeida, cedric, bu5hm4n, zmike Reviewed By: vitor.sousa Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7730 Differential Revision:
Diffstat (limited to 'src/tests/efl_mono/Eo.cs')
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/efl_mono/Eo.cs b/src/tests/efl_mono/Eo.cs
index 08c5e2dc4c..9329fbae12 100644
--- a/src/tests/efl_mono/Eo.cs
+++ b/src/tests/efl_mono/Eo.cs
@@ -95,16 +95,16 @@ class TestEo
95} 95}
96 96
97 97
98class MyLoop : Efl.Loop 98class MyObject : Efl.Object
99{ 99{
100 public MyLoop() : base(null) { } 100 public MyObject() : base(null) { }
101} 101}
102 102
103class TestEoInherit 103class TestEoInherit
104{ 104{
105 public static void instantiate_inherited() 105 public static void instantiate_inherited()
106 { 106 {
107 Efl.Loop loop = new MyLoop(); 107 Efl.Object loop = new MyObject();
108 Test.Assert(loop.NativeHandle != System.IntPtr.Zero); 108 Test.Assert(loop.NativeHandle != System.IntPtr.Zero);
109 } 109 }
110} 110}