projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe34d8
)
elua: initial test (state creation/deletion)
author
Daniel Kolesa
<d.kolesa@samsung.com>
Thu, 16 Apr 2015 12:45:08 +0000
(13:45 +0100)
committer
Daniel Kolesa
<d.kolesa@osg.samsung.com>
Wed, 6 May 2015 14:05:20 +0000
(15:05 +0100)
src/tests/elua/elua_lib.c
patch
|
blob
|
history
diff --git
a/src/tests/elua/elua_lib.c
b/src/tests/elua/elua_lib.c
index 702aed50fe4879a5f3f2b6d5cf017a2f73c9b3d3..cfa29097b9d0eb5c690fa61f538b22bff6858542 100644
(file)
--- a/
src/tests/elua/elua_lib.c
+++ b/
src/tests/elua/elua_lib.c
@@
-9,13
+9,21
@@
#include "Elua.h"
#include "elua_suite.h"
-
/*START_TEST(test_name
)
+
START_TEST(elua_api
)
{
+ fail_if(!elua_init());
+
+ Elua_State *st = elua_state_new("test");
+ fail_if(!st);
+
+ elua_state_free(st);
+
+ elua_shutdown();
}
-END_TEST
*/
+END_TEST
void elua_lib_test(TCase *tc)
{
-
//tcase_add_test(tc, test_name
);
+
tcase_add_test(tc, elua_api
);
}