{
"name": "Имя, оканчивающееся на ExternalReport, не калечится в ссылках",
"fakePlatform": {
"exit": 1,
"log": ""
},
"preRun": [
{
"script": "erf-init/scripts/init",
"args": {
"-Name": "ПриёмкаExternalReport",
"-SrcDir": "{workDir}/src",
"-WithSKD": true
}
},
{
"script": "form-add/scripts/form-add",
"args": {
"-ObjectPath": "{workDir}/src/ПриёмкаExternalReport.xml",
"-FormName": "Форма",
"-SetDefault": true
}
}
],
"args_extra": [
"-SourceDir",
"{workDir}/src",
"-V8Path",
"{fakePlatform}",
"-TempBasePath",
"{workDir}/base",
"-EmbedSourceFile",
"{workDir}/src/ПриёмкаExternalReport.xml"
],
"expect": {
"fileContains": [
{
"file": "base/cfg/Reports/ПриёмкаExternalReport.xml",
"text": [
"ПриёмкаExternalReport",
"Report.ПриёмкаExternalReport.Form.Форма",
"",
"",
"Report.ПриёмкаExternalReport.Template.ОсновнаяСхемаКомпоновкиДанных"
]
},
{
"file": "base/cfg/Reports/ПриёмкаExternalReport/Forms/Форма/Ext/Form.xml",
"text": "cfg:ReportObject.ПриёмкаExternalReport"
},
{
"file": "base/cfg/Configuration.xml",
"text": "ПриёмкаExternalReport"
}
],
"fileNotContains": [
{
"file": "base/cfg/Reports/ПриёмкаExternalReport.xml",
"text": [
"ПриёмкаReport",
"ExternalReport."
]
},
{
"file": "base/cfg/Reports/ПриёмкаExternalReport/Forms/Форма/Ext/Form.xml",
"text": "ПриёмкаReport"
}
]
},
"expectError": true,
"noSnapshot": "платформа фейковая, а GUID копии перевыпускаются случайными — проверяется сгенерированная конфигурация"
}