mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-11 16:34: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>
56 lines
1.8 KiB
JSON
56 lines
1.8 KiB
JSON
{
|
|
"name": "Валидация корректного макета с областями и объединениями",
|
|
"preRun": [
|
|
{
|
|
"script": "mxl-compile/scripts/mxl-compile",
|
|
"input": {
|
|
"columns": 4,
|
|
"fonts": {
|
|
"default": { "face": "Arial", "size": 10 },
|
|
"bold": { "face": "Arial", "size": 10, "bold": true }
|
|
},
|
|
"styles": {
|
|
"bordered": { "border": "all" },
|
|
"header": { "font": "bold", "border": "all", "align": "center" }
|
|
},
|
|
"areas": [
|
|
{
|
|
"name": "Заголовок",
|
|
"rows": [
|
|
{ "cells": [{ "col": 1, "span": 4, "style": "header", "param": "Заголовок" }] }
|
|
]
|
|
},
|
|
{
|
|
"name": "ШапкаТаблицы",
|
|
"rows": [
|
|
{ "rowStyle": "header", "cells": [
|
|
{ "col": 1, "rowspan": 2, "text": "№" },
|
|
{ "col": 2, "span": 2, "text": "Товар" },
|
|
{ "col": 4, "rowspan": 2, "text": "Сумма" }
|
|
]},
|
|
{ "rowStyle": "bordered", "cells": [
|
|
{ "col": 2, "text": "Имя" },
|
|
{ "col": 3, "text": "Код" }
|
|
]}
|
|
]
|
|
},
|
|
{
|
|
"name": "Строка",
|
|
"rows": [
|
|
{ "rowStyle": "bordered", "cells": [
|
|
{ "col": 1, "param": "Номер" },
|
|
{ "col": 2, "param": "Имя" },
|
|
{ "col": 3, "param": "Код" },
|
|
{ "col": 4, "param": "Сумма" }
|
|
]}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "Template.xml" },
|
|
"cwd": "{workDir}"
|
|
}
|
|
],
|
|
"params": { "templatePath": "Template.xml" }
|
|
}
|