tests/qapi-schema: Rename pragma-*-crap to pragma-value-not-*

Rename pragma-doc-required-crap to pragma-not-bool,
pragma-returns-whitelist-crap to pragma-value-not-list, and
pragma-name-case-whitelist-crap to pragma-value-not-list-of-str.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-18-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Markus Armbruster 2021-03-23 10:40:14 +01:00
parent 4a67bd31a4
commit e90a61e3cc
13 changed files with 9 additions and 9 deletions

View File

@ -144,12 +144,12 @@ schemas = [
'oob-coroutine.json',
'oob-test.json',
'allow-preconfig-test.json',
'pragma-doc-required-crap.json',
'pragma-extra-junk.json',
'pragma-name-case-whitelist-crap.json',
'pragma-non-dict.json',
'pragma-unknown.json',
'pragma-returns-whitelist-crap.json',
'pragma-value-not-bool.json',
'pragma-value-not-list-of-str.json',
'pragma-value-not-list.json',
'qapi-schema-test.json',
'quoted-structural-chars.json',
'redefined-command.json',

View File

@ -1 +0,0 @@
pragma-doc-required-crap.json:3: pragma 'doc-required' must be boolean

View File

@ -1 +0,0 @@
pragma-name-case-whitelist-crap.json:3: pragma name-case-whitelist must be a list of strings

View File

@ -1 +0,0 @@
pragma-returns-whitelist-crap.json:3: pragma returns-whitelist must be a list of strings

View File

@ -0,0 +1 @@
pragma-value-not-bool.json:3: pragma 'doc-required' must be boolean

View File

@ -1,3 +1,3 @@
# 'doc-required' must be bool
# pragma value must be bool
{ 'pragma': { 'doc-required': {} } }

View File

@ -0,0 +1 @@
pragma-value-not-list-of-str.json:3: pragma returns-whitelist must be a list of strings

View File

@ -1,3 +1,3 @@
# 'returns-whitelist' must be list of strings
# pragma value must be list of strings
{ 'pragma': { 'returns-whitelist': [ 'good', [ 'bad' ] ] } }

View File

@ -0,0 +1 @@
pragma-value-not-list.json:3: pragma name-case-whitelist must be a list of strings

View File

@ -1,3 +1,3 @@
# 'name-case-whitelist' must be list of strings
# pragma value must be list
{ 'pragma': { 'name-case-whitelist': false } }