This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.

View the commit online.

commit 63fc7422b44eebc670896df87d2a606190458506
Author: Cedric BAIL <[email protected]>
AuthorDate: Mon Nov 16 18:57:45 2026 -0600

    efl_mono:tests: dispose_is_idempotent uses an object C# can build
    
    The test created an Efl.Io.Buffer, but efl_io_buffer.eo is on the
    list of files left out of the C# binding, so the class does not exist
    in C# and the whole test suite failed to compile, with or without
    mono-beta.
    
    The test is about Dispose on any wrapper, not about Efl.Io.Buffer: a
    Dummy.TestObject, which the suite already uses everywhere, checks the
    same contract.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 src/tests/efl_mono/Eo.cs | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/tests/efl_mono/Eo.cs b/src/tests/efl_mono/Eo.cs
index 23014afeb3..fa101cc548 100644
--- a/src/tests/efl_mono/Eo.cs
+++ b/src/tests/efl_mono/Eo.cs
@@ -832,15 +832,15 @@ class TestEoTeardown
     /// </summary>
     public static void dispose_is_idempotent()
     {
-        var buffer = new Efl.Io.Buffer(null);
-        Test.AssertNotEquals(IntPtr.Zero, buffer.NativeHandle);
+        var obj = new Dummy.TestObject();
+        Test.AssertNotEquals(IntPtr.Zero, obj.NativeHandle);
 
-        buffer.Dispose();
-        Test.AssertEquals(IntPtr.Zero, buffer.NativeHandle);
+        obj.Dispose();
+        Test.AssertEquals(IntPtr.Zero, obj.NativeHandle);
 
         // the one that used to queue a release of nothing
-        buffer.Dispose();
-        Test.AssertEquals(IntPtr.Zero, buffer.NativeHandle);
+        obj.Dispose();
+        Test.AssertEquals(IntPtr.Zero, obj.NativeHandle);
     }
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to