From: Havoc Pennington Date: Wed, 29 Dec 2004 06:39:32 +0000 (+0000) Subject: put it in the test suite arrays (ok, I need to rewrite the unit tests here to be... X-Git-Tag: dbus-0.23~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8645ee5251a7be5a77d6f4c8aa023d34c81c242d;p=platform%2Fupstream%2Fdbus.git put it in the test suite arrays (ok, I need to rewrite the unit tests here to be more automated...) --- diff --git a/dbus/dbus-marshal-recursive.c b/dbus/dbus-marshal-recursive.c index eb55fd8..292b71c 100644 --- a/dbus/dbus-marshal-recursive.c +++ b/dbus/dbus-marshal-recursive.c @@ -2157,13 +2157,25 @@ static TestRun runs[] = { { { ITEM_INT32, ITEM_STRUCT_OF_ARRAY_OF_INT32, ITEM_INT32, ITEM_STRUCT_OF_ARRAY_OF_INT32, ITEM_INVALID } }, { { ITEM_STRUCT_OF_ARRAY_OF_INT32, ITEM_STRUCT_OF_ARRAY_OF_INT32, ITEM_STRUCT_OF_ARRAY_OF_INT32, ITEM_INVALID } }, + /* STRUCT_OF_STRUCT_OF_ARRAY_OF_INT32 */ + { { ITEM_STRUCT_OF_STRUCT_OF_ARRAY_OF_INT32, ITEM_INVALID } }, + /* ARRAY_OF_STRUCT_OF_INT32 */ { { ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_INVALID } }, { { ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_INVALID } }, { { ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_INT32, ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_INVALID } }, { { ITEM_STRUCT_OF_INT32, ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_INT32, ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_INVALID } }, { { ITEM_INT32, ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_INT32, ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_INVALID } }, - { { ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_INVALID } } + { { ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_ARRAY_OF_STRUCT_OF_INT32, ITEM_INVALID } }, + + /* ARRAY_OF_ARRAY_OF_STRUCT_OF_INT32 */ + { { ITEM_ARRAY_OF_ARRAY_OF_STRUCT_OF_INT32, ITEM_INVALID } }, + + /* STRUCT_OF_ARRAY_OF_STRUCT_OF_INT32 */ + { { ITEM_STRUCT_OF_ARRAY_OF_STRUCT_OF_INT32, ITEM_INVALID } }, + + /* ARRAY_OF_STRUCT_OF_ARRAY_OF_INT32 */ + { { ITEM_ARRAY_OF_STRUCT_OF_ARRAY_OF_INT32, ITEM_INVALID } }, };