mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-12 17:04:57 +03:00
a1b3fdd4e2
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>
35 lines
1.2 KiB
JSON
35 lines
1.2 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": "Форма" }
|
|
},
|
|
{
|
|
"script": "form-compile/scripts/form-compile",
|
|
"input": {
|
|
"title": "Тест",
|
|
"attributes": [{ "name": "Объект", "type": "ExternalDataProcessorObject.Тест", "main": true }],
|
|
"elements": [
|
|
{ "input": "Поле1", "path": "Поле1", "title": "Поле 1" }
|
|
]
|
|
},
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "{workDir}/DataProcessors/Тест/Forms/Форма/Ext/Form.xml" }
|
|
}
|
|
],
|
|
"params": { "formPath": "DataProcessors/Тест/Forms/Форма/Ext/Form.xml" },
|
|
"input": {
|
|
"elements": [
|
|
{ "input": "Поле2", "path": "Поле2", "title": "Поле 2" }
|
|
],
|
|
"attributes": [
|
|
{ "name": "Поле2", "type": "string(100)" }
|
|
]
|
|
}
|
|
}
|