summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono/Errors.cs
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2017-06-13 17:45:02 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-07-13 18:25:43 -0300
commit0ef0605ee7715f47e739ca967cfcffb61be2d3a1 (patch)
treea0551d4d726025d2789e4860d198c5a53ab93203 /src/tests/efl_mono/Errors.cs
parent97030c4d0d7924f785e79b98a25f67396e7ab0fb (diff)
eolian_mono: Set error for native wrappers
Exceptions leaking back to the native callback from the managed code can be harmful to P/Invoke sanity. This commit changes the wrapper to set a binding specific error that can be restored later into an exception when the flow returns to the managed side.
Diffstat (limited to 'src/tests/efl_mono/Errors.cs')
-rw-r--r--src/tests/efl_mono/Errors.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/efl_mono/Errors.cs b/src/tests/efl_mono/Errors.cs
index 7032964ab1..6c9b217313 100644
--- a/src/tests/efl_mono/Errors.cs
+++ b/src/tests/efl_mono/Errors.cs
@@ -46,8 +46,7 @@ class TestEolianError
46 { 46 {
47 test.Testing obj = new Overrider(); 47 test.Testing obj = new Overrider();
48 48
49 // WIP 49 Test.AssertRaises<efl.EflException>(obj.call_children_raise_error);
50 /* Test.AssertRaises<efl.EflException>(obj.call_children_raise_error); */
51 } 50 }
52 51
53 // return eina_error 52 // return eina_error