Files
cc-1c-skills/tests/skills/cases/form-compile/input-fields.json
T
Nick Shirokov a1b3fdd4e2 feat: deepen skill test coverage — 52 → 247 cases across all 43 skills
Add 195 new test cases covering examples from SKILL.md, edge cases,
and parameter combinations. Create _skill.json for form-edit, skd-edit,
subsystem-edit. Add fixtures for negative validate cases. Fix
normalizeUuids in meta-validate/meta-info configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 15:38:06 +03:00

36 lines
1.9 KiB
JSON

{
"name": "Форма с разными полями ввода",
"preRun": [
{
"script": "meta-compile/scripts/meta-compile",
"input": { "type": "DataProcessor", "name": "ПоляВвода" },
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
},
{
"script": "form-add/scripts/form-add",
"args": { "-ObjectPath": "{workDir}/DataProcessors/ПоляВвода.xml", "-FormName": "Форма" }
}
],
"params": { "outputPath": "DataProcessors/ПоляВвода/Forms/Форма/Ext/Form.xml" },
"input": {
"title": "Поля ввода",
"elements": [
{ "input": "ОбычноеПоле", "path": "ОбычноеПоле", "title": "Обычное поле" },
{ "input": "МногострочноеПоле", "path": "МногострочноеПоле", "multiLine": true, "height": 5, "title": "Комментарий" },
{ "input": "ПолеПароля", "path": "ПолеПароля", "passwordMode": true, "title": "Пароль" },
{ "input": "ПолеСКнопками", "path": "ПолеСКнопками", "choiceButton": true, "clearButton": true, "title": "Выбор" },
{ "input": "ПолеПодсказка", "path": "ПолеПодсказка", "inputHint": "Введите значение...", "title": "Подсказка" },
{ "check": "Флаг", "path": "Флаг", "title": "Включено" }
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.ПоляВвода", "main": true },
{ "name": "ОбычноеПоле", "type": "string(100)" },
{ "name": "МногострочноеПоле", "type": "string" },
{ "name": "ПолеПароля", "type": "string(50)" },
{ "name": "ПолеСКнопками", "type": "string" },
{ "name": "ПолеПодсказка", "type": "string" },
{ "name": "Флаг", "type": "boolean" }
]
}
}