tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=11b3e3ec89db4f6c01ca27546363aedd3f6f8db6

commit 11b3e3ec89db4f6c01ca27546363aedd3f6f8db6
Author: Tom Hacohen <t...@stosb.com>
Date:   Fri Mar 4 14:29:20 2016 +0000

    Eo tests: Add tests for null (invalid) array callbacks.
---
 src/tests/eo/suite/eo_test_general.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/tests/eo/suite/eo_test_general.c 
b/src/tests/eo/suite/eo_test_general.c
index c01a621..9a0db0f 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -124,6 +124,9 @@ START_TEST(eo_signals)
    simple_a_set(obj, 1);
    ck_assert_int_eq(_eo_signals_cb_flag, 0x0);
 
+   r = eo_event_callback_array_add(obj, NULL, NULL);
+   fail_if(r);
+
    eo_unref(obj);
 
    obj = eo_add(SIMPLE_CLASS, NULL);

-- 


Reply via email to