This website requires JavaScript.
Explore
Help
Sign In
OpenE2K
/
qemu-e2k
Watch
13
Star
4
Fork
0
You've already forked qemu-e2k
Code
Issues
4
Pull Requests
Projects
2
Releases
Activity
22f15579fa
qemu-e2k
/
tests
/
qapi-schema
/
struct-data-invalid.json
3 lines
37 B
JSON
Raw
Normal View
History
Unescape
Escape
qapi: Enforce type naming rules Type names should be CamelCase. Enforce this. The only offenders are in tests/. Fix them. Add test type-case to cover the new error. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-15-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> [Regexp simplified, new test made more robust]
2021-03-23 10:40:11 +01:00
{
'
s
t
r
u
c
t
'
:
'
F
o
o
'
,
tests/qapi-schema: Cover non-string, non-dictionary members We always report "should be a dictionary" then. This is misleading: when allow_dict, it can be a dictionary or a type name string, else it can only be a type name. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
2015-08-31 17:17:42 +02:00
'
d
a
t
a
'
:
false
}
Reference in New Issue
Copy Permalink