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