mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-01 09:17:44 +03:00
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>
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
||
"name": "Макет с параметрами и шаблонами",
|
||
"input": {
|
||
"columns": 3,
|
||
"fonts": {
|
||
"default": { "face": "Arial", "size": 10 },
|
||
"bold": { "face": "Arial", "size": 10, "bold": true }
|
||
},
|
||
"styles": {
|
||
"label": { "font": "bold" },
|
||
"bordered": { "border": "all" }
|
||
},
|
||
"areas": [
|
||
{
|
||
"name": "Шапка",
|
||
"rows": [
|
||
{ "cells": [
|
||
{ "col": 1, "style": "label", "text": "Дата:" },
|
||
{ "col": 2, "span": 2, "template": "от [Дата] г." }
|
||
]},
|
||
{ "cells": [
|
||
{ "col": 1, "style": "label", "text": "Номер:" },
|
||
{ "col": 2, "span": 2, "template": "№ [Номер]" }
|
||
]}
|
||
]
|
||
},
|
||
{
|
||
"name": "Тело",
|
||
"rows": [
|
||
{ "rowStyle": "bordered", "cells": [
|
||
{ "col": 1, "param": "Позиция" },
|
||
{ "col": 2, "param": "Товар" },
|
||
{ "col": 3, "param": "Цена" }
|
||
]}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"params": { "outputPath": "Template.xml" },
|
||
"expect": {
|
||
"files": ["Template.xml"]
|
||
}
|
||
}
|