diff options
author | Ted Gould <ted@gould.cx> | 2009-12-21 14:29:56 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-21 14:29:56 -0600 |
commit | d7f273f9fced68bea1d711503b9a0fd2defa72c6 (patch) | |
tree | 7321561025ef87e46425af69491bae993e4a32f7 /tests | |
parent | 9276f061d4565b57a160ece79ec547550195188b (diff) | |
download | libdbusmenu-d7f273f9fced68bea1d711503b9a0fd2defa72c6.tar.gz libdbusmenu-d7f273f9fced68bea1d711503b9a0fd2defa72c6.tar.bz2 libdbusmenu-d7f273f9fced68bea1d711503b9a0fd2defa72c6.zip |
Starting a framework for object testing.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-glib-objects.c | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/tests/test-glib-objects.c b/tests/test-glib-objects.c new file mode 100644 index 0000000..cc95b81 --- /dev/null +++ b/tests/test-glib-objects.c @@ -0,0 +1,60 @@ +/* +Testing for the various objects just by themselves. + +Copyright 2009 Canonical Ltd. + +Authors: + Ted Gould <ted@canonical.com> + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU General Public License version 3, as published +by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranties of +MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR +PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#include <glib.h> +#include <glib-object.h> + +#include <libdbusmenu-glib/menuitem.h> + +void +test_object_menuitem (void) +{ + + +} + +void +test_object_menuitem_props (void) +{ + + +} + +void +test_glib_objects_suite (void) +{ + g_test_add_func ("/dbusmenu/glib/objects/menuitem", test_object_menuitem); + g_test_add_func ("/dbusmenu/glib/objects/menuitem-props", test_object_menuitem_props); + return; +} + +gint +main (gint argc, gchar * argv[]) +{ + g_type_init(); + g_test_init(&argc, &argv, NULL); + + /* Test suites */ + test_glib_objects_suite(); + + + return g_test_run (); +} |