[glib] Add some more cases to the app-id unit tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Add some more cases to the app-id unit tests
- Date: Sun, 5 Mar 2017 18:12:02 +0000 (UTC)
commit b56a95026cdd39e9cbe992856a607bdb2af67a21
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Mar 5 13:11:08 2017 -0500
Add some more cases to the app-id unit tests
These came up on irc today.
gio/tests/gapplication.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/gapplication.c b/gio/tests/gapplication.c
index 33d757e..55d0c0d 100644
--- a/gio/tests/gapplication.c
+++ b/gio/tests/gapplication.c
@@ -437,6 +437,9 @@ appid (void)
g_assert (!g_application_id_is_valid ("a\nb"));
g_assert (!g_application_id_is_valid ("_a.b"));
g_assert (!g_application_id_is_valid ("-a.b"));
+ g_assert (!g_application_id_is_valid ("emoji_picker"));
+ g_assert (!g_application_id_is_valid ("emoji-picker"));
+ g_assert (!g_application_id_is_valid ("emojipicker"));
id = g_new0 (gchar, 261);
memset (id, 'a', 260);
id[1] = '.';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]