aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-02 15:13:15 -0500
committerTed Gould <ted@canonical.com>2009-09-02 15:13:15 -0500
commit3030eea7a812c608643a8a65778884163b929cd5 (patch)
tree499c850c5d01fe6a8f534215a65739a4be8c9540
parent90e014164dc9e5b0b6f9cb756da914f001b255a4 (diff)
downloadlibdbusmenu-3030eea7a812c608643a8a65778884163b929cd5.tar.gz
libdbusmenu-3030eea7a812c608643a8a65778884163b929cd5.tar.bz2
libdbusmenu-3030eea7a812c608643a8a65778884163b929cd5.zip
Adding in an icon name test. We fail it.
-rw-r--r--tests/test-gtk-label-server.c2
-rw-r--r--tests/test-gtk-label.json45
2 files changed, 46 insertions, 1 deletions
diff --git a/tests/test-gtk-label-server.c b/tests/test-gtk-label-server.c
index 7730fe2..c4d41ee 100644
--- a/tests/test-gtk-label-server.c
+++ b/tests/test-gtk-label-server.c
@@ -156,7 +156,7 @@ main (int argc, char ** argv)
server = dbusmenu_server_new("/org/test");
timer_func(NULL);
- g_timeout_add_seconds(15, timer_func, NULL);
+ g_timeout_add_seconds(5, timer_func, NULL);
mainloop = g_main_loop_new(NULL, FALSE);
g_main_loop_run(mainloop);
diff --git a/tests/test-gtk-label.json b/tests/test-gtk-label.json
index 19a6ca6..2dfd796 100644
--- a/tests/test-gtk-label.json
+++ b/tests/test-gtk-label.json
@@ -154,5 +154,50 @@
]
},
]
+ },
+ {"id": 8, "type": "menuitem",
+ "label": "value1",
+ "submenu": [
+ {"id": 80,
+ "type": "imageitem",
+ "icon": "face-angel",
+ "label": "angel"},
+ {"id": 81,
+ "type": "imageitem",
+ "icon": "face-angry",
+ "label": "angry"},
+ {"id": 82,
+ "type": "imageitem",
+ "icon": "face-cool",
+ "label": "cool"},
+ {"id": 83,
+ "type":"imageitem",
+ "icon": "face-devilish",
+ "label": "devilish"},
+ {"id": 84,
+ "type": "imageitem",
+ "icon": "face-embarrassed",
+ "label": "embarrassed"},
+ {"id": 85,
+ "type": "imageitem",
+ "icon": "face-kiss",
+ "label": "kiss"},
+ {"id": 86,
+ "type": "imageitem",
+ "icon": "face-laugh",
+ "label": "laugh"},
+ {"id": 87,
+ "type": "imageitem",
+ "icon": "face-monkey",
+ "label": "monkey"},
+ {"id": 88,
+ "type": "imageitem",
+ "icon": "face-sad",
+ "label": "sad"},
+ {"id": 89,
+ "type": "imageitem",
+ "icon": "face-sick",
+ "label": "sick"}
+ ]
}
]