mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-21 01:20:21 +01:00
test-syntax: Exercise correctly- and incorrectly-nested structs, dicts
Reproduces: https://gitlab.freedesktop.org/dbus/dbus/-/issues/418
Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit 67800ac5fe)
This commit is contained in:
parent
3e53a785de
commit
fd73d1ef1b
1 changed files with 10 additions and 0 deletions
|
|
@ -155,12 +155,22 @@ const char * const invalid_bus_names[] = {
|
|||
const char * const valid_signatures[] = {
|
||||
"",
|
||||
"a{sv}",
|
||||
"a{s(i)}",
|
||||
"a(sa{ii})",
|
||||
NULL
|
||||
};
|
||||
|
||||
const char * const invalid_signatures[] = {
|
||||
"a",
|
||||
"a{s_}",
|
||||
"a{s(i}",
|
||||
"a{s(i})",
|
||||
"a{s(i)",
|
||||
"a{s(i})",
|
||||
"a(sa{ii)",
|
||||
"a(sa{ii)}",
|
||||
")",
|
||||
"}",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue