cedric pushed a commit to branch master.

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

commit ce8d67922fcd9d18b887f17c29cdd5749eafecd0
Author: ms <ms.g...@samsung.com>
Date:   Thu Jul 10 10:39:06 2014 +0200

    test_test
    
    Reviewers: kimcinoo
    
    Reviewed By: kimcinoo
    
    Subscribers: kimcinoo, cedric
    
    Differential Revision: https://phab.enlightenment.org/D1153
---
 src/tests/eina/eina_test_module.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/src/tests/eina/eina_test_module.c 
b/src/tests/eina/eina_test_module.c
index de7fa69..7dd14b0 100644
--- a/src/tests/eina/eina_test_module.c
+++ b/src/tests/eina/eina_test_module.c
@@ -63,8 +63,25 @@ START_TEST(eina_module_load_unload)
 }
 END_TEST
 
+START_TEST(eina_module_find_test)
+{
+   Eina_Array *_modules;
+
+   eina_init();
+   _modules = eina_module_list_get(NULL,
+                                   PACKAGE_BUILD_DIR "/src/tests/",
+                                   EINA_TRUE,
+                                   &list_cb,
+                                   NULL);
+   fail_if(!_modules);
+   fail_if(eina_module_find(_modules, NULL) != NULL);
+   eina_shutdown();
+}
+END_TEST
+
 void
 eina_test_module(TCase *tc)
 {
    tcase_add_test(tc, eina_module_load_unload);
+   tcase_add_test(tc, eina_module_find_test);
 }

-- 


Reply via email to