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.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/efl_mono/Eo.cs b/src/tests/efl_mono/Eo.cs
index be66f0842c..465646d03b 100644
--- a/src/tests/efl_mono/Eo.cs
+++ b/src/tests/efl_mono/Eo.cs
@@ -522,6 +522,10 @@ class TestObjectDeletion
part.Del();
Test.AssertNull(obj.OnePart);
+
+#if EFL_DEBUG
+ Test.AssertRaises<ObjectDisposedException>(() => part.SetParent(null));
+#endif
}
}