diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-08-14 13:56:07 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-08-14 16:40:11 +0100 |
commit | c1a269513c05b44af0ed6e6b7b48f5dd11e01060 (patch) | |
tree | 3488f5132a36df9b92430a4d214c4be84a4a6e9f /bindtests | |
parent | 637b06ab1384f0c904715ba76fc759dac1b95500 (diff) | |
download | libguestfs-c1a269513c05b44af0ed6e6b7b48f5dd11e01060.tar.gz libguestfs-c1a269513c05b44af0ed6e6b7b48f5dd11e01060.tar.xz libguestfs-c1a269513c05b44af0ed6e6b7b48f5dd11e01060.zip |
generator: Add new OStringList optional arg type.
This allows lists of strings to be passed as an optional argument.
Diffstat (limited to 'bindtests')
-rw-r--r-- | bindtests | 69 |
1 files changed, 69 insertions, 0 deletions
@@ -11,6 +11,7 @@ obool: true oint: 1 oint64: unset ostring: unset +ostringlist: unset abc null [] @@ -24,6 +25,7 @@ obool: unset oint: unset oint64: 1 ostring: string +ostringlist: unset def [] @@ -37,6 +39,7 @@ obool: false oint: unset oint64: unset ostring: unset +ostringlist: unset [] @@ -50,6 +53,7 @@ obool: unset oint: unset oint64: unset ostring: unset +ostringlist: unset abc def ["1"] @@ -63,6 +67,7 @@ obool: unset oint: unset oint64: unset ostring: unset +ostringlist: unset abc def ["1", "2"] @@ -76,6 +81,7 @@ obool: unset oint: unset oint64: unset ostring: unset +ostringlist: unset abc def ["1"] @@ -89,6 +95,7 @@ obool: unset oint: unset oint64: unset ostring: unset +ostringlist: unset abc def ["1"] @@ -102,6 +109,7 @@ obool: unset oint: unset oint64: unset ostring: unset +ostringlist: unset abc def ["1"] @@ -115,6 +123,7 @@ obool: unset oint: unset oint64: unset ostring: unset +ostringlist: unset abc def ["1"] @@ -128,6 +137,7 @@ obool: unset oint: unset oint64: unset ostring: unset +ostringlist: unset abc def ["1"] @@ -141,6 +151,7 @@ obool: unset oint: unset oint64: unset ostring: unset +ostringlist: unset abc def ["1"] @@ -154,6 +165,7 @@ obool: unset oint: unset oint64: unset ostring: unset +ostringlist: unset abc def ["1"] @@ -167,4 +179,61 @@ obool: unset oint: unset oint64: unset ostring: unset +ostringlist: unset +abc +def +[] +false +0 +0 +123 +456 +<61><62><63><00><61><62><63> +obool: unset +oint: unset +oint64: unset +ostring: unset +ostringlist: [] +abc +def +[] +false +0 +0 +123 +456 +<61><62><63><00><61><62><63> +obool: unset +oint: unset +oint64: unset +ostring: unset +ostringlist: ["optelem1"] +abc +def +[] +false +0 +0 +123 +456 +<61><62><63><00><61><62><63> +obool: unset +oint: unset +oint64: unset +ostring: unset +ostringlist: ["optelem1", "optelem2"] +abc +def +[] +false +0 +0 +123 +456 +<61><62><63><00><61><62><63> +obool: unset +oint: unset +oint64: unset +ostring: unset +ostringlist: ["optelem1", "optelem2", "optelem3"] EOF |