aboutsummaryrefslogtreecommitdiff
path: root/tests/test-glib-objects.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-21 15:28:08 -0600
committerTed Gould <ted@gould.cx>2009-12-21 15:28:08 -0600
commitd33832e3fd108c002216551123d419ec494bd668 (patch)
tree826b0717cef0d98f2909f6cb076eae0c94ed2018 /tests/test-glib-objects.c
parentc96e551eccc631c726e0987ebe8ed859c2305e42 (diff)
downloadlibdbusmenu-d33832e3fd108c002216551123d419ec494bd668.tar.gz
libdbusmenu-d33832e3fd108c002216551123d419ec494bd668.tar.bz2
libdbusmenu-d33832e3fd108c002216551123d419ec494bd668.zip
Comments are good for the soul.
Diffstat (limited to 'tests/test-glib-objects.c')
-rw-r--r--tests/test-glib-objects.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test-glib-objects.c b/tests/test-glib-objects.c
index 7f79746..d63c26d 100644
--- a/tests/test-glib-objects.c
+++ b/tests/test-glib-objects.c
@@ -24,6 +24,8 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <libdbusmenu-glib/menuitem.h>
+/* Building the basic menu item, make sure we didn't break
+ any core GObject stuff */
void
test_object_menuitem (void)
{
@@ -45,6 +47,7 @@ test_object_menuitem (void)
return;
}
+/* Set a string prop, make sure it's stored as one */
void
test_object_menuitem_props_string (void)
{
@@ -68,6 +71,7 @@ test_object_menuitem_props_string (void)
return;
}
+/* Set an integer prop, make sure it's stored as one */
void
test_object_menuitem_props_int (void)
{
@@ -91,6 +95,7 @@ test_object_menuitem_props_int (void)
return;
}
+/* Set a boolean prop, make sure it's stored as one */
void
test_object_menuitem_props_bool (void)
{
@@ -114,6 +119,8 @@ test_object_menuitem_props_bool (void)
return;
}
+/* Set the same property several times with
+ different types. */
void
test_object_menuitem_props_swap (void)
{
@@ -144,6 +151,7 @@ test_object_menuitem_props_swap (void)
return;
}
+/* Build the test suite */
void
test_glib_objects_suite (void)
{