mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-23 21:21:04 +03:00
test(form-compile): regression tests for --from-object mode
4 snapshot tests: catalog item/list (Валюты-like) + document item/list (АктВВР-like). Verified against platform 1C 8.3.24. Register form-compile-from-object in verify-snapshots DEFAULT_SKILLS. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
076bbcb9d5
commit
a41897a966
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"name": "Catalog Item — простой справочник (Валюты-like, Code+Description+7 реквизитов)",
|
||||
"preRun": [
|
||||
{
|
||||
"script": "meta-compile/scripts/meta-compile",
|
||||
"input": {
|
||||
"type": "Catalog",
|
||||
"name": "Валюты",
|
||||
"codeLength": 3,
|
||||
"descriptionLength": 10,
|
||||
"attributes": [
|
||||
{ "name": "ЗагружаетсяИзИнтернета", "type": "Boolean" },
|
||||
{ "name": "НаименованиеПолное", "type": "String", "length": 50 },
|
||||
{ "name": "Наценка", "type": "Number", "length": 10, "precision": 2 },
|
||||
{ "name": "ОсновнаяВалюта", "type": "CatalogRef.Валюты" },
|
||||
{ "name": "ПараметрыПрописи", "type": "String", "length": 200 },
|
||||
{ "name": "ФормулаРасчетаКурса", "type": "String", "length": 100 },
|
||||
{ "name": "СпособУстановкиКурса", "type": "EnumRef.СпособыУстановкиКурсаВалюты" }
|
||||
],
|
||||
"tabularSections": [
|
||||
{
|
||||
"name": "Представления",
|
||||
"attributes": [
|
||||
{ "name": "КодЯзыка", "type": "String", "length": 10 },
|
||||
{ "name": "ПараметрыПрописи", "type": "String", "length": 200 }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
||||
},
|
||||
{
|
||||
"script": "form-add/scripts/form-add",
|
||||
"args": { "-ObjectPath": "{workDir}/Catalogs/Валюты.xml", "-FormName": "ФормаЭлемента" }
|
||||
}
|
||||
],
|
||||
"params": { "outputPath": "Catalogs/Валюты/Forms/ФормаЭлемента/Ext/Form.xml" },
|
||||
"validatePath": "Catalogs/Валюты/Forms/ФормаЭлемента/Ext/Form.xml"
|
||||
}
|
||||
Reference in New Issue
Block a user