mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-09 21:24:14 +00:00
Enable test arrays_member_int0
This commit is contained in:
parent
91ff9fceb9
commit
cf8fe64d5d
@ -42,10 +42,6 @@ definitions = '''
|
|||||||
"capacity":10
|
"capacity":10
|
||||||
}]}]'''
|
}]}]'''
|
||||||
[cases.member_int0]
|
[cases.member_int0]
|
||||||
oil_skip = 'zero length arrays fail codegen v2' # https://github.com/facebookexperimental/object-introspection/issues/295
|
|
||||||
# WARNING: zero-length arrays are handled differently to non-empty arrays.
|
|
||||||
# They end up not being treated as containers. This should probably change
|
|
||||||
# in the future.
|
|
||||||
param_types = ["const Foo0&"]
|
param_types = ["const Foo0&"]
|
||||||
setup = "return {};"
|
setup = "return {};"
|
||||||
expect_json = '''[{
|
expect_json = '''[{
|
||||||
@ -56,13 +52,13 @@ definitions = '''
|
|||||||
"dynamicSize":0
|
"dynamicSize":0
|
||||||
}]}]'''
|
}]}]'''
|
||||||
expect_json_v2 = '''[{
|
expect_json_v2 = '''[{
|
||||||
"staticSize":1,
|
"staticSize":0,
|
||||||
"exclusiveSize":1,
|
"exclusiveSize":0,
|
||||||
"size":1,
|
"size":0,
|
||||||
"members":[{
|
"members":[{
|
||||||
"staticSize":0,
|
"staticSize":0,
|
||||||
"exclusiveSize":0,
|
"exclusiveSize":0,
|
||||||
"size":1
|
"size":0
|
||||||
}]}]'''
|
}]}]'''
|
||||||
[cases.multidim_legacy] # Test for legacy behaviour. Remove with OICodeGen
|
[cases.multidim_legacy] # Test for legacy behaviour. Remove with OICodeGen
|
||||||
oil_disable = 'oil only runs on codegen v2'
|
oil_disable = 'oil only runs on codegen v2'
|
||||||
|
Loading…
Reference in New Issue
Block a user