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>
57 lines
1.9 KiB
JSON
57 lines
1.9 KiB
JSON
{
|
|
"name": "Валидация печатной формы",
|
|
"preRun": [
|
|
{
|
|
"script": "mxl-compile/scripts/mxl-compile",
|
|
"input": {
|
|
"columns": 5,
|
|
"page": "A4-portrait",
|
|
"columnWidths": { "1": "1x", "2": "3x", "3": "1x", "4": "1x", "5": "1x" },
|
|
"fonts": {
|
|
"default": { "face": "Arial", "size": 10 },
|
|
"bold": { "face": "Arial", "size": 10, "bold": true },
|
|
"header": { "face": "Arial", "size": 14, "bold": true }
|
|
},
|
|
"styles": {
|
|
"title": { "font": "header", "align": "center" },
|
|
"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": 5, "style": "title", "param": "Заголовок" }] }
|
|
]
|
|
},
|
|
{
|
|
"name": "Строка",
|
|
"rows": [
|
|
{ "rowStyle": "bordered", "cells": [
|
|
{ "col": 1, "param": "Номер" },
|
|
{ "col": 2, "param": "Товар" },
|
|
{ "col": 3, "param": "ЕдИзм" },
|
|
{ "col": 4, "style": "bordered-right", "param": "Кол" },
|
|
{ "col": 5, "style": "bordered-right", "param": "Сумма" }
|
|
]}
|
|
]
|
|
},
|
|
{
|
|
"name": "Итого",
|
|
"rows": [
|
|
{ "cells": [
|
|
{ "col": 4, "style": "total", "text": "Итого:" },
|
|
{ "col": 5, "style": "total", "param": "Всего" }
|
|
]}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "Template.xml" },
|
|
"cwd": "{workDir}"
|
|
}
|
|
],
|
|
"params": { "templatePath": "Template.xml" }
|
|
}
|