Files
cc-1c-skills/tests/skills/cases/form-compile-from-object/exchangeplan-item-simple.json
T
Nick Shirokov 3ee715939b test(form-compile): regression tests for new --from-object types
8 test cases covering InformationRegister (Record periodic/nonperiodic, List),
AccumulationRegister (List), ChartOfCharacteristicTypes (Item),
ExchangePlan (Item), ChartOfAccounts (Item, List).

All 12 tests pass on both PS1 and Python runtimes with form-validate.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 13:21:46 +03:00

26 lines
1.0 KiB
JSON

{
"name": "ExchangePlan Item — простой план обмена с 2 реквизитами",
"preRun": [
{
"script": "meta-compile/scripts/meta-compile",
"input": {
"type": "ExchangePlan",
"name": "ОбменДанными",
"codeLength": 9,
"descriptionLength": 100,
"attributes": [
{ "name": "АдресОбмена", "type": "String", "length": 200 },
{ "name": "ДатаПоследнегоОбмена", "type": "Date" }
]
},
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
},
{
"script": "form-add/scripts/form-add",
"args": { "-ObjectPath": "{workDir}/ExchangePlans/ОбменДанными.xml", "-FormName": "ФормаЭлемента" }
}
],
"params": { "outputPath": "ExchangePlans/ОбменДанными/Forms/ФормаЭлемента/Ext/Form.xml" },
"validatePath": "ExchangePlans/ОбменДанными/Forms/ФормаЭлемента/Ext/Form.xml"
}