mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-16 08:19:01 +03:00
test: кейсы формата 2.21 для навыков-эмиттеров
Фикстура 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>
This commit is contained in:
co-authored by
Claude Opus 5
parent
3ef9e76f03
commit
6315a706b5
@@ -132,6 +132,8 @@ function ensureSetup(setupName, runtime, skillCasesDir) {
|
||||
'empty-config-218': ['-FormatVersion', '2.18', '-CompatibilityMode', 'Version8_3_24'],
|
||||
'empty-config-220': ['-FormatVersion', '2.20', '-CompatibilityMode', 'Version8_3_27'],
|
||||
'empty-config-220-compat24': ['-FormatVersion', '2.20', '-CompatibilityMode', 'Version8_3_24'],
|
||||
// 2.21 (8.5) — в шапках MetaDataObject и Form появляется xmlns:pal.
|
||||
'empty-config-221': ['-FormatVersion', '2.21', '-CompatibilityMode', 'Version8_3_27'],
|
||||
};
|
||||
if (EMPTY_CONFIGS[setupName]) {
|
||||
const cached = join(CACHE, setupName);
|
||||
|
||||
Reference in New Issue
Block a user