aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-gtk-parser.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test-gtk-parser.c b/tests/test-gtk-parser.c
index e6d5385..ee608ae 100644
--- a/tests/test-gtk-parser.c
+++ b/tests/test-gtk-parser.c
@@ -19,6 +19,7 @@ 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 <libdbusmenu-glib/menuitem-private.h>
#include <libdbusmenu-gtk/parser.h>
/* Just makes sure we can connect here people */
@@ -74,6 +75,12 @@ test_parser_children (void) {
DbusmenuMenuitem * mi = dbusmenu_gtk_parse_menu_structure(menu);
g_assert(mi != NULL);
+/*
+ GPtrArray * xmlarray = g_ptr_array_new();
+ dbusmenu_menuitem_buildxml(mi, xmlarray);
+ g_debug("XML: %s", g_strjoinv("", (gchar **)xmlarray->pdata));
+*/
+
GList * children = dbusmenu_menuitem_get_children(mi);
g_assert(children != NULL);