mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-14 01:44: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>
54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"name": "Roundtrip — макет с несколькими областями и параметрами",
|
|
"preRun": [
|
|
{
|
|
"script": "mxl-compile/scripts/mxl-compile",
|
|
"input": {
|
|
"columns": 4,
|
|
"defaultWidth": 30,
|
|
"fonts": {
|
|
"default": { "face": "Arial", "size": 10 },
|
|
"bold": { "face": "Arial", "size": 10, "bold": true }
|
|
},
|
|
"styles": {
|
|
"bordered": { "border": "all" },
|
|
"bordered-right": { "border": "all", "align": "right" },
|
|
"total": { "font": "bold", "border": "top", "align": "right" }
|
|
},
|
|
"areas": [
|
|
{
|
|
"name": "Заголовок",
|
|
"rows": [
|
|
{ "height": 20, "cells": [{ "col": 1, "span": 4, "param": "Заголовок" }] }
|
|
]
|
|
},
|
|
{
|
|
"name": "Строка",
|
|
"rows": [
|
|
{ "rowStyle": "bordered", "cells": [
|
|
{ "col": 1, "param": "Номер" },
|
|
{ "col": 2, "param": "Товар" },
|
|
{ "col": 3, "style": "bordered-right", "param": "Количество" },
|
|
{ "col": 4, "style": "bordered-right", "param": "Сумма" }
|
|
]}
|
|
]
|
|
},
|
|
{
|
|
"name": "Итого",
|
|
"rows": [
|
|
{ "cells": [
|
|
{ "col": 3, "style": "total", "text": "Итого:" },
|
|
{ "col": 4, "style": "total", "param": "Всего" }
|
|
]}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "Template.xml" },
|
|
"cwd": "{workDir}"
|
|
}
|
|
],
|
|
"params": { "templatePath": "Template.xml" },
|
|
"expect": { "stdoutContains": "areas" }
|
|
}
|