projects
/
profile
/
ivi
/
eobj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a129099
)
Eo: Added some negative refcount tests (with manual_free).
author
tasn
<tasn>
Thu, 23 Aug 2012 10:37:46 +0000
(10:37 +0000)
committer
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 23 Aug 2012 10:37:46 +0000
(10:37 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75615
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/tests/eo_suite/eo_test_general.c
patch
|
blob
|
history
diff --git
a/src/tests/eo_suite/eo_test_general.c
b/src/tests/eo_suite/eo_test_general.c
index
20ab4b5
..
b1151eb
100644
(file)
--- a/
src/tests/eo_suite/eo_test_general.c
+++ b/
src/tests/eo_suite/eo_test_general.c
@@
-258,6
+258,17
@@
START_TEST(eo_man_free)
eo_unref(obj);
eo_manual_free(obj);
+ obj = eo_add(klass, NULL);
+ fail_if(!obj);
+ eo_manual_free_set(obj, EINA_TRUE);
+ eo_unref(obj);
+ eo_ref(obj);
+ eo_unref(obj);
+ eo_unref(obj);
+ eo_unref(obj);
+ eo_unref(obj);
+ eo_manual_free(obj);
+
eo_shutdown();
}
END_TEST