mirror of https://gitee.com/openkylin/qemu.git
tests/qapi-schema: Simple union UserDefListUnion is now unused, drop
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20210917143134.412106-17-armbru@redhat.com>
This commit is contained in:
parent
1e65e16ca3
commit
def1d1f571
|
@ -123,23 +123,6 @@
|
|||
# for testing use of 'str' within alternates
|
||||
{ 'alternate': 'AltStrObj', 'data': { 's': 'str', 'o': 'TestStruct' } }
|
||||
|
||||
# for testing lists
|
||||
{ 'union': 'UserDefListUnion',
|
||||
'data': { 'integer': ['int'],
|
||||
's8': ['int8'],
|
||||
's16': ['int16'],
|
||||
's32': ['int32'],
|
||||
's64': ['int64'],
|
||||
'u8': ['uint8'],
|
||||
'u16': ['uint16'],
|
||||
'u32': ['uint32'],
|
||||
'u64': ['uint64'],
|
||||
'number': ['number'],
|
||||
'boolean': ['bool'],
|
||||
'string': ['str'],
|
||||
'sizes': ['size'],
|
||||
'any': ['any'],
|
||||
'user': ['Status'] } } # intentional forward ref. to sub-module
|
||||
{ 'struct': 'ArrayStruct',
|
||||
'data': { 'integer': ['int'],
|
||||
's8': ['int8'],
|
||||
|
|
|
@ -125,70 +125,6 @@ alternate AltStrObj
|
|||
tag type
|
||||
case s: str
|
||||
case o: TestStruct
|
||||
object q_obj_intList-wrapper
|
||||
member data: intList optional=False
|
||||
object q_obj_int8List-wrapper
|
||||
member data: int8List optional=False
|
||||
object q_obj_int16List-wrapper
|
||||
member data: int16List optional=False
|
||||
object q_obj_int32List-wrapper
|
||||
member data: int32List optional=False
|
||||
object q_obj_int64List-wrapper
|
||||
member data: int64List optional=False
|
||||
object q_obj_uint8List-wrapper
|
||||
member data: uint8List optional=False
|
||||
object q_obj_uint16List-wrapper
|
||||
member data: uint16List optional=False
|
||||
object q_obj_uint32List-wrapper
|
||||
member data: uint32List optional=False
|
||||
object q_obj_uint64List-wrapper
|
||||
member data: uint64List optional=False
|
||||
object q_obj_numberList-wrapper
|
||||
member data: numberList optional=False
|
||||
object q_obj_boolList-wrapper
|
||||
member data: boolList optional=False
|
||||
object q_obj_strList-wrapper
|
||||
member data: strList optional=False
|
||||
object q_obj_sizeList-wrapper
|
||||
member data: sizeList optional=False
|
||||
object q_obj_anyList-wrapper
|
||||
member data: anyList optional=False
|
||||
object q_obj_StatusList-wrapper
|
||||
member data: StatusList optional=False
|
||||
enum UserDefListUnionKind
|
||||
member integer
|
||||
member s8
|
||||
member s16
|
||||
member s32
|
||||
member s64
|
||||
member u8
|
||||
member u16
|
||||
member u32
|
||||
member u64
|
||||
member number
|
||||
member boolean
|
||||
member string
|
||||
member sizes
|
||||
member any
|
||||
member user
|
||||
object UserDefListUnion
|
||||
member type: UserDefListUnionKind optional=False
|
||||
tag type
|
||||
case integer: q_obj_intList-wrapper
|
||||
case s8: q_obj_int8List-wrapper
|
||||
case s16: q_obj_int16List-wrapper
|
||||
case s32: q_obj_int32List-wrapper
|
||||
case s64: q_obj_int64List-wrapper
|
||||
case u8: q_obj_uint8List-wrapper
|
||||
case u16: q_obj_uint16List-wrapper
|
||||
case u32: q_obj_uint32List-wrapper
|
||||
case u64: q_obj_uint64List-wrapper
|
||||
case number: q_obj_numberList-wrapper
|
||||
case boolean: q_obj_boolList-wrapper
|
||||
case string: q_obj_strList-wrapper
|
||||
case sizes: q_obj_sizeList-wrapper
|
||||
case any: q_obj_anyList-wrapper
|
||||
case user: q_obj_StatusList-wrapper
|
||||
object ArrayStruct
|
||||
member integer: intList optional=False
|
||||
member s8: int8List optional=False
|
||||
|
|
Loading…
Reference in New Issue