Enlightenment CVS committal

Author  : cedric
Project : e17
Module  : proto/eina

Dir     : e17/proto/eina/src/tests


Modified Files:
        eina_test_array.c 


Log Message:
Use the common out of memory error.


===================================================================
RCS file: /cvs/e/e17/proto/eina/src/tests/eina_test_array.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- eina_test_array.c   6 Aug 2008 18:15:24 -0000       1.2
+++ eina_test_array.c   7 Aug 2008 13:11:13 -0000       1.3
@@ -27,6 +27,8 @@
    char *tmp;
    unsigned int i;
 
+   eina_array_init();
+
    ea = eina_array_new(11);
    fail_if(!ea);
 
@@ -53,6 +55,8 @@
    eina_array_clean(ea);
    eina_array_flush(ea);
    eina_array_free(ea);
+
+   eina_array_shutdown();
 }
 END_TEST
 
@@ -62,6 +66,8 @@
    char *tmp;
    unsigned int i;
 
+   eina_array_init();
+
    eina_array_setup(&sea, 10);
 
    for (i = 0; i < 200; ++i)
@@ -86,6 +92,8 @@
 
    eina_array_clean(&sea);
    eina_array_flush(&sea);
+
+   eina_array_shutdown();
 }
 END_TEST
 
@@ -107,6 +115,8 @@
    int *tmp;
    unsigned int i;
 
+   eina_array_init();
+
    ea = eina_array_new(64);
    fail_if(!ea);
 
@@ -153,6 +163,8 @@
    fail_if(eina_array_count(ea) != 0);
 
    eina_array_free(ea);
+
+   eina_array_shutdown();
 }
 END_TEST
 



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to