Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Исправлена схема параметра --mode на массив строк #429

Merged
merged 3 commits into from
Apr 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 46 additions & 6 deletions vanessa-runner-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -451,15 +451,55 @@
},
"syntax-check": {
"additionalProperties": false,
"id": "/properties/xunit",
"description": "Параметры для команды 'xunit' - Запуск тестирования через фреймворк Vanessa-ADD.",
"id": "/properties/syntax-check",
"description": "Параметры для команды 'syntax-check' - Выполнить централизованную проверку конфигурации.",
"properties": {
"--mode": {
"default": "",
"description": "Параметры проверок (через пробел).\nНапример, -ThinClient -WebClient -Server -ExternalConnection -ThickClientOrdinaryApplication\nПараметры совпадают с параметрами команды /CheckConfig пакетного запуска 1С:Конфигуратора.",
"id": "/properties/syntax-check/properties/--exception-file",
"description": "Параметры проверки.\nПараметры совпадают с параметрами команды /CheckConfig пакетного запуска 1С:Конфигуратора.",
"id": "/properties/syntax-check/properties/--mode",
"title": "The --mode Schema",
"type": "string"
"type": "array",
"items": {
"type": "string",
"uniqueItems": true,
"oneOf": [
{
"enum": [
"-ConfigLogIntegrity",
"-IncorrectReferences",
"-ThinClient",
"-WebClient",
"-MobileClient",
"-MobileAppClient",
"-Server",
"-MobileAppServer",
"-MobileClientStandalone",
"-ExternalConnection",
"-ExternalConnectionServer",
"-ThickClientManagedApplication",
"-ThickClientServerManagedApplication",
"-ThickClientOrdinaryApplication",
"-ThickClientServerOrdinaryApplication",
"-DistributiveModules",
"-UnreferenceProcedures",
"-HandlersExistence",
"-EmptyHandlers",
"-ExtendedModulesCheck",
"-CheckUseModality",
"-CheckUseSynchronousCalls",
"-UnsupportedFunctional",
"-MobileClientDigiSign",
"-AllExtensions"
]
},
{
"pattern": "-Extension .+",
"description": "-Extension <Имя расширения>",
"default": "-Extension ИмяРасширения"
}
]
}
},
"--exception-file": {
"default": "",
Expand All @@ -479,7 +519,7 @@
"default": "",
"description": "Имя тестового набора в отчете JUnit для раздельной проверки в различных режимах",
"id": "/properties/syntax-check/properties/--testsuitename",
"title": "The --junitpath Schema",
"title": "The --testsuitename Schema",
"type": "string"
},
"--groupbymetadata": {
Expand Down