mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-08 04:30:19 +03:00
Фикстура empty-config-221 (cf-init -FormatVersion 2.21) и по кейсу на навык: cf-init, meta-compile, meta-edit, form-add, form-compile, template-add, mxl-compile, subsystem-compile, subsystem-edit, role-compile, xdto-compile, cfe-init, cfe-borrow, epf-init, erf-init. Проверки через expect.fileContains по сырым байтам, а не только снэпшотом: позиция xmlns:pal (после lf, перед style) и его отсутствие там, где платформа его не пишет (Rights.xml роли, Ext/ClientApplicationInterface.xml). 663/663 ps1, 660/663 py. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
33 lines
688 B
JSON
33 lines
688 B
JSON
{
|
|
"name": "Формат 2.21 (8.5): xmlns:pal в теле макета",
|
|
"setup": "empty-config-221",
|
|
"params": {
|
|
"outputPath": "Template.xml"
|
|
},
|
|
"input": {
|
|
"columns": 3,
|
|
"areas": [
|
|
{
|
|
"name": "Шапка",
|
|
"rows": [
|
|
{
|
|
"cells": [
|
|
{
|
|
"col": 1,
|
|
"text": "Тест"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"validatePath": "Template.xml",
|
|
"expect": {
|
|
"fileContains": {
|
|
"file": "Template.xml",
|
|
"text": "xmlns=\"http://v8.1c.ru/8.2/data/spreadsheet\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style="
|
|
}
|
|
}
|
|
}
|