Add the new hidden api restriction tokens to the lexer token test

This commit is contained in:
Ben Gruver 2020-02-04 21:39:47 -08:00
parent 15a98cbb4b
commit 71a79c8ac1
2 changed files with 16 additions and 0 deletions

View File

@ -34,6 +34,14 @@ annotation
volatile
transient
whitelist
greylist
blacklist
greylist-max-o
greylist-max-p
greylist-max-q
core-platform-api
no-error
generic-error
no-such-class

View File

@ -34,6 +34,14 @@ ACCESS_SPEC("annotation")
ACCESS_SPEC("volatile")
ACCESS_SPEC("transient")
HIDDENAPI_RESTRICTION("whitelist")
HIDDENAPI_RESTRICTION("greylist")
HIDDENAPI_RESTRICTION("blacklist")
HIDDENAPI_RESTRICTION("greylist-max-o")
HIDDENAPI_RESTRICTION("greylist-max-p")
HIDDENAPI_RESTRICTION("greylist-max-q")
HIDDENAPI_RESTRICTION("core-platform-api")
VERIFICATION_ERROR_TYPE("no-error")
VERIFICATION_ERROR_TYPE("generic-error")
VERIFICATION_ERROR_TYPE("no-such-class")