diff --git a/tests/skills/cases/cf-init/format-221.json b/tests/skills/cases/cf-init/format-221.json new file mode 100644 index 00000000..3aae2b67 --- /dev/null +++ b/tests/skills/cases/cf-init/format-221.json @@ -0,0 +1,30 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в шапке", + "params": { + "name": "Конф221" + }, + "args_extra": [ + "-FormatVersion", + "2.21" + ], + "expect": { + "files": [ + "Configuration.xml", + "Languages/Русский.xml" + ], + "fileContains": [ + { + "file": "Configuration.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + }, + { + "file": "Languages/Русский.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + } + ], + "fileNotContains": { + "file": "Ext/ClientApplicationInterface.xml", + "text": "xmlns:pal=" + } + } +} diff --git a/tests/skills/cases/cf-init/snapshots/format-221/Configuration.xml b/tests/skills/cases/cf-init/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..0c36307e --- /dev/null +++ b/tests/skills/cases/cf-init/snapshots/format-221/Configuration.xml @@ -0,0 +1,265 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + Конф221 + + + ru + Конф221 + + + + + Version8_3_24 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_24 + + + + Русский + + + \ No newline at end of file diff --git a/tests/skills/cases/cf-init/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/cf-init/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/cf-init/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/cf-init/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/cf-init/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/cf-init/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/format-221.json b/tests/skills/cases/cfe-borrow/format-221.json new file mode 100644 index 00000000..a4d7a530 --- /dev/null +++ b/tests/skills/cases/cfe-borrow/format-221.json @@ -0,0 +1,51 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal и версия расширения в заимствованной форме", + "setup": "empty-config-221", + "preRun": [ + { + "script": "meta-compile/scripts/meta-compile", + "input": { + "type": "Catalog", + "name": "Товары" + }, + "args": { + "-JsonPath": "{inputFile}", + "-OutputDir": "{workDir}" + } + }, + { + "script": "form-add/scripts/form-add", + "args": { + "-ObjectPath": "{workDir}/Catalogs/Товары.xml", + "-FormName": "ФормаЭлемента" + } + }, + { + "script": "cfe-init/scripts/cfe-init", + "args": { + "-Name": "Расш", + "-OutputDir": "{workDir}/ext", + "-ConfigPath": "{workDir}" + } + } + ], + "params": { + "extensionPath": "ext" + }, + "object": "Catalog.Товары.Form.ФормаЭлемента", + "expect": { + "fileContains": [ + { + "file": "ext/Catalogs/Товары.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + }, + { + "file": "ext/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml", + "text": [ + "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=", + "version=\"2.21\"" + ] + } + ] + } +} diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары.xml new file mode 100644 index 00000000..e6a96ff3 --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары.xml @@ -0,0 +1,93 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + + Товары + + + ru + Товары + + + + false + HierarchyFoldersAndItems + false + 2 + true + true + + ToItems + 9 + 25 + String + Variable + WholeCatalog + false + true + AsDescription + + Auto + InDialog + false + BothWays + + Catalog.Товары.StandardAttribute.Description + Catalog.Товары.StandardAttribute.Code + + Begin + DontUse + Directly + Catalog.Товары.Form.ФормаЭлемента + + + + + + + + + + false + + + Managed + Use + + + + + + Use + Auto + DontUse + false + false + + +
ФормаЭлемента
+
+
+
\ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Ext/ObjectModule.bsl b/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Ext/ObjectModule.bsl new file mode 100644 index 00000000..e69de29b diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента.xml new file mode 100644 index 00000000..8afb1cf0 --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента.xml @@ -0,0 +1,21 @@ + + +
+ + ФормаЭлемента + + + ru + ФормаЭлемента + + + + Managed + false + + PlatformApplication + MobilePlatformApplication + + +
+
\ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml new file mode 100644 index 00000000..1bee54b5 --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml @@ -0,0 +1,16 @@ + +
+ + true + + + + + + cfg:CatalogObject.Товары + + true + true + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl b/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl new file mode 100644 index 00000000..8ead4cec --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl @@ -0,0 +1,19 @@ +#Область ОбработчикиСобытийФормы + +#КонецОбласти + +#Область ОбработчикиСобытийЭлементовФормы + +#КонецОбласти + +#Область ОбработчикиКомандФормы + +#КонецОбласти + +#Область ОбработчикиОповещений + +#КонецОбласти + +#Область СлужебныеПроцедурыИФункции + +#КонецОбласти \ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Configuration.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..2a84f2ed --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Configuration.xml @@ -0,0 +1,266 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + Товары + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары.xml new file mode 100644 index 00000000..5dae5eb5 --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары.xml @@ -0,0 +1,36 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + + Adopted + Товары + + UUID-012 + + +
ФормаЭлемента
+
+
+
\ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары/Forms/ФормаЭлемента.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары/Forms/ФормаЭлемента.xml new file mode 100644 index 00000000..069e9e40 --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары/Forms/ФормаЭлемента.xml @@ -0,0 +1,13 @@ + + +
+ + + Adopted + ФормаЭлемента + + UUID-002 + Managed + + +
\ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml new file mode 100644 index 00000000..83bcf220 --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml @@ -0,0 +1,15 @@ + +
+ + false + + + + + + false + + + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl new file mode 100644 index 00000000..e69de29b diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Configuration.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Configuration.xml new file mode 100644 index 00000000..eda5bb4a --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Configuration.xml @@ -0,0 +1,72 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + Adopted + Расш + + + ru + Расш + + + + Customization + true + Расш_ + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + Role.Расш_ОсновнаяРоль + + + + Language.Русский + + + + + + TaxiEnableVersion8_2 + + + Русский + Расш_ОсновнаяРоль + Товары + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Languages/Русский.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Languages/Русский.xml new file mode 100644 index 00000000..43b748dc --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Languages/Русский.xml @@ -0,0 +1,13 @@ + + + + + + Adopted + Русский + + UUID-002 + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Roles/Расш_ОсновнаяРоль.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Roles/Расш_ОсновнаяРоль.xml new file mode 100644 index 00000000..fb612c59 --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Ext/Roles/Расш_ОсновнаяРоль.xml @@ -0,0 +1,10 @@ + + + + + Расш_ОсновнаяРоль + + + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-borrow/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/cfe-borrow/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/cfe-borrow/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-init/format-221.json b/tests/skills/cases/cfe-init/format-221.json new file mode 100644 index 00000000..8389fbc4 --- /dev/null +++ b/tests/skills/cases/cfe-init/format-221.json @@ -0,0 +1,24 @@ +{ + "name": "Формат 2.21 (8.5): версия и xmlns:pal наследуются от базовой конфигурации", + "setup": "empty-config-221", + "params": { + "name": "Расш221", + "outputDir": "ext" + }, + "validatePath": "ext", + "expect": { + "fileContains": [ + { + "file": "ext/Configuration.xml", + "text": [ + "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=", + "version=\"2.21\"" + ] + }, + { + "file": "ext/Languages/Русский.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + } + ] + } +} diff --git a/tests/skills/cases/cfe-init/snapshots/format-221/Configuration.xml b/tests/skills/cases/cfe-init/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..47648c8a --- /dev/null +++ b/tests/skills/cases/cfe-init/snapshots/format-221/Configuration.xml @@ -0,0 +1,265 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-init/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/cfe-init/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/cfe-init/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-init/snapshots/format-221/Ext/Configuration.xml b/tests/skills/cases/cfe-init/snapshots/format-221/Ext/Configuration.xml new file mode 100644 index 00000000..94c4a95e --- /dev/null +++ b/tests/skills/cases/cfe-init/snapshots/format-221/Ext/Configuration.xml @@ -0,0 +1,71 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + Adopted + Расш221 + + + ru + Расш221 + + + + Customization + true + Расш221_ + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + Role.Расш221_ОсновнаяРоль + + + + Language.Русский + + + + + + TaxiEnableVersion8_2 + + + Русский + Расш221_ОсновнаяРоль + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-init/snapshots/format-221/Ext/Languages/Русский.xml b/tests/skills/cases/cfe-init/snapshots/format-221/Ext/Languages/Русский.xml new file mode 100644 index 00000000..43b748dc --- /dev/null +++ b/tests/skills/cases/cfe-init/snapshots/format-221/Ext/Languages/Русский.xml @@ -0,0 +1,13 @@ + + + + + + Adopted + Русский + + UUID-002 + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-init/snapshots/format-221/Ext/Roles/Расш221_ОсновнаяРоль.xml b/tests/skills/cases/cfe-init/snapshots/format-221/Ext/Roles/Расш221_ОсновнаяРоль.xml new file mode 100644 index 00000000..2e9d85d6 --- /dev/null +++ b/tests/skills/cases/cfe-init/snapshots/format-221/Ext/Roles/Расш221_ОсновнаяРоль.xml @@ -0,0 +1,10 @@ + + + + + Расш221_ОсновнаяРоль + + + + + \ No newline at end of file diff --git a/tests/skills/cases/cfe-init/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/cfe-init/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/cfe-init/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/epf-init/format-221.json b/tests/skills/cases/epf-init/format-221.json new file mode 100644 index 00000000..b0b27c5c --- /dev/null +++ b/tests/skills/cases/epf-init/format-221.json @@ -0,0 +1,22 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в шапке обработки", + "params": { + "name": "Обработка221" + }, + "args_extra": [ + "-FormatVersion", + "2.21" + ], + "expect": { + "files": [ + "Обработка221.xml" + ], + "fileContains": { + "file": "Обработка221.xml", + "text": [ + "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=", + "version=\"2.21\"" + ] + } + } +} diff --git a/tests/skills/cases/epf-init/snapshots/format-221/Обработка221.xml b/tests/skills/cases/epf-init/snapshots/format-221/Обработка221.xml new file mode 100644 index 00000000..1fea47cb --- /dev/null +++ b/tests/skills/cases/epf-init/snapshots/format-221/Обработка221.xml @@ -0,0 +1,28 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + + Обработка221 + + + ru + Обработка221 + + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/epf-init/snapshots/format-221/Обработка221/Ext/ObjectModule.bsl b/tests/skills/cases/epf-init/snapshots/format-221/Обработка221/Ext/ObjectModule.bsl new file mode 100644 index 00000000..15543d27 --- /dev/null +++ b/tests/skills/cases/epf-init/snapshots/format-221/Обработка221/Ext/ObjectModule.bsl @@ -0,0 +1,11 @@ +#Область ОписаниеПеременных + +#КонецОбласти + +#Область ПрограммныйИнтерфейс + +#КонецОбласти + +#Область СлужебныеПроцедурыИФункции + +#КонецОбласти \ No newline at end of file diff --git a/tests/skills/cases/erf-init/format-221.json b/tests/skills/cases/erf-init/format-221.json new file mode 100644 index 00000000..a61af3c2 --- /dev/null +++ b/tests/skills/cases/erf-init/format-221.json @@ -0,0 +1,22 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в шапке отчёта", + "params": { + "name": "Отчёт221" + }, + "args_extra": [ + "-FormatVersion", + "2.21" + ], + "expect": { + "files": [ + "Отчёт221.xml" + ], + "fileContains": { + "file": "Отчёт221.xml", + "text": [ + "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=", + "version=\"2.21\"" + ] + } + } +} diff --git a/tests/skills/cases/erf-init/snapshots/format-221/Отчёт221.xml b/tests/skills/cases/erf-init/snapshots/format-221/Отчёт221.xml new file mode 100644 index 00000000..fccebc2f --- /dev/null +++ b/tests/skills/cases/erf-init/snapshots/format-221/Отчёт221.xml @@ -0,0 +1,34 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + + Отчёт221 + + + ru + Отчёт221 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/erf-init/snapshots/format-221/Отчёт221/Ext/ObjectModule.bsl b/tests/skills/cases/erf-init/snapshots/format-221/Отчёт221/Ext/ObjectModule.bsl new file mode 100644 index 00000000..15543d27 --- /dev/null +++ b/tests/skills/cases/erf-init/snapshots/format-221/Отчёт221/Ext/ObjectModule.bsl @@ -0,0 +1,11 @@ +#Область ОписаниеПеременных + +#КонецОбласти + +#Область ПрограммныйИнтерфейс + +#КонецОбласти + +#Область СлужебныеПроцедурыИФункции + +#КонецОбласти \ No newline at end of file diff --git a/tests/skills/cases/form-add/format-221.json b/tests/skills/cases/form-add/format-221.json new file mode 100644 index 00000000..f3b88e35 --- /dev/null +++ b/tests/skills/cases/form-add/format-221.json @@ -0,0 +1,34 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в шапках метаданных формы и Form.xml", + "setup": "empty-config-221", + "preRun": [ + { + "script": "meta-compile/scripts/meta-compile", + "input": { + "type": "Catalog", + "name": "Товары" + }, + "args": { + "-JsonPath": "{inputFile}", + "-OutputDir": "{workDir}" + } + } + ], + "params": { + "objectPath": "Catalogs/Товары.xml", + "formName": "ФормаЭлемента" + }, + "validatePath": "Catalogs/Товары/Forms/ФормаЭлемента", + "expect": { + "fileContains": [ + { + "file": "Catalogs/Товары/Forms/ФормаЭлемента.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + }, + { + "file": "Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + } + ] + } +} diff --git a/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары.xml b/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары.xml new file mode 100644 index 00000000..e6a96ff3 --- /dev/null +++ b/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары.xml @@ -0,0 +1,93 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + + Товары + + + ru + Товары + + + + false + HierarchyFoldersAndItems + false + 2 + true + true + + ToItems + 9 + 25 + String + Variable + WholeCatalog + false + true + AsDescription + + Auto + InDialog + false + BothWays + + Catalog.Товары.StandardAttribute.Description + Catalog.Товары.StandardAttribute.Code + + Begin + DontUse + Directly + Catalog.Товары.Form.ФормаЭлемента + + + + + + + + + + false + + + Managed + Use + + + + + + Use + Auto + DontUse + false + false + + +
ФормаЭлемента
+
+
+
\ No newline at end of file diff --git a/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Ext/ObjectModule.bsl b/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Ext/ObjectModule.bsl new file mode 100644 index 00000000..e69de29b diff --git a/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента.xml b/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента.xml new file mode 100644 index 00000000..8afb1cf0 --- /dev/null +++ b/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента.xml @@ -0,0 +1,21 @@ + + +
+ + ФормаЭлемента + + + ru + ФормаЭлемента + + + + Managed + false + + PlatformApplication + MobilePlatformApplication + + +
+
\ No newline at end of file diff --git a/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml b/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml new file mode 100644 index 00000000..1bee54b5 --- /dev/null +++ b/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml @@ -0,0 +1,16 @@ + +
+ + true + + + + + + cfg:CatalogObject.Товары + + true + true + + + \ No newline at end of file diff --git a/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl b/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl new file mode 100644 index 00000000..8ead4cec --- /dev/null +++ b/tests/skills/cases/form-add/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl @@ -0,0 +1,19 @@ +#Область ОбработчикиСобытийФормы + +#КонецОбласти + +#Область ОбработчикиСобытийЭлементовФормы + +#КонецОбласти + +#Область ОбработчикиКомандФормы + +#КонецОбласти + +#Область ОбработчикиОповещений + +#КонецОбласти + +#Область СлужебныеПроцедурыИФункции + +#КонецОбласти \ No newline at end of file diff --git a/tests/skills/cases/form-add/snapshots/format-221/Configuration.xml b/tests/skills/cases/form-add/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..2a84f2ed --- /dev/null +++ b/tests/skills/cases/form-add/snapshots/format-221/Configuration.xml @@ -0,0 +1,266 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + Товары + + + \ No newline at end of file diff --git a/tests/skills/cases/form-add/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/form-add/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/form-add/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/form-add/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/form-add/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/form-add/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/form-compile/format-221.json b/tests/skills/cases/form-compile/format-221.json new file mode 100644 index 00000000..65da37c4 --- /dev/null +++ b/tests/skills/cases/form-compile/format-221.json @@ -0,0 +1,45 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в шапке Form.xml", + "setup": "empty-config-221", + "preRun": [ + { + "script": "meta-compile/scripts/meta-compile", + "input": { + "type": "Catalog", + "name": "Товары" + }, + "args": { + "-JsonPath": "{inputFile}", + "-OutputDir": "{workDir}" + } + }, + { + "script": "form-add/scripts/form-add", + "args": { + "-ObjectPath": "{workDir}/Catalogs/Товары.xml", + "-FormName": "ФормаЭлемента" + } + } + ], + "params": { + "outputPath": "Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml" + }, + "input": { + "title": "Тест", + "elements": [], + "attributes": [ + { + "name": "Объект", + "type": "CatalogObject.Товары", + "main": true + } + ] + }, + "validatePath": "Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml", + "expect": { + "fileContains": { + "file": "Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + } + } +} diff --git a/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары.xml b/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары.xml new file mode 100644 index 00000000..e6a96ff3 --- /dev/null +++ b/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары.xml @@ -0,0 +1,93 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + + Товары + + + ru + Товары + + + + false + HierarchyFoldersAndItems + false + 2 + true + true + + ToItems + 9 + 25 + String + Variable + WholeCatalog + false + true + AsDescription + + Auto + InDialog + false + BothWays + + Catalog.Товары.StandardAttribute.Description + Catalog.Товары.StandardAttribute.Code + + Begin + DontUse + Directly + Catalog.Товары.Form.ФормаЭлемента + + + + + + + + + + false + + + Managed + Use + + + + + + Use + Auto + DontUse + false + false + + +
ФормаЭлемента
+
+
+
\ No newline at end of file diff --git a/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Ext/ObjectModule.bsl b/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Ext/ObjectModule.bsl new file mode 100644 index 00000000..e69de29b diff --git a/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента.xml b/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента.xml new file mode 100644 index 00000000..8afb1cf0 --- /dev/null +++ b/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента.xml @@ -0,0 +1,21 @@ + + +
+ + ФормаЭлемента + + + ru + ФормаЭлемента + + + + Managed + false + + PlatformApplication + MobilePlatformApplication + + +
+
\ No newline at end of file diff --git a/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml b/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml new file mode 100644 index 00000000..49359052 --- /dev/null +++ b/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form.xml @@ -0,0 +1,20 @@ + +
+ + <v8:item> + <v8:lang>ru</v8:lang> + <v8:content>Тест</v8:content> + </v8:item> + + false + + + + + cfg:CatalogObject.Товары + + true + true + + + \ No newline at end of file diff --git a/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl b/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl new file mode 100644 index 00000000..8ead4cec --- /dev/null +++ b/tests/skills/cases/form-compile/snapshots/format-221/Catalogs/Товары/Forms/ФормаЭлемента/Ext/Form/Module.bsl @@ -0,0 +1,19 @@ +#Область ОбработчикиСобытийФормы + +#КонецОбласти + +#Область ОбработчикиСобытийЭлементовФормы + +#КонецОбласти + +#Область ОбработчикиКомандФормы + +#КонецОбласти + +#Область ОбработчикиОповещений + +#КонецОбласти + +#Область СлужебныеПроцедурыИФункции + +#КонецОбласти \ No newline at end of file diff --git a/tests/skills/cases/form-compile/snapshots/format-221/Configuration.xml b/tests/skills/cases/form-compile/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..2a84f2ed --- /dev/null +++ b/tests/skills/cases/form-compile/snapshots/format-221/Configuration.xml @@ -0,0 +1,266 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + Товары + + + \ No newline at end of file diff --git a/tests/skills/cases/form-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/form-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/form-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/form-compile/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/form-compile/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/form-compile/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/meta-compile/format-221-pal.json b/tests/skills/cases/meta-compile/format-221-pal.json new file mode 100644 index 00000000..bab70ae2 --- /dev/null +++ b/tests/skills/cases/meta-compile/format-221-pal.json @@ -0,0 +1,38 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в шапке, у значения перечисления", + "setup": "empty-config-221", + "input": [ + { + "type": "Enum", + "name": "ВидыЦен", + "values": [ + "Оптовая", + "Розничная" + ] + }, + { + "type": "Catalog", + "name": "Товары" + } + ], + "validatePath": "Enums/ВидыЦен", + "expect": { + "files": [ + "Enums/ВидыЦен.xml", + "Catalogs/Товары.xml" + ], + "fileContains": [ + { + "file": "Enums/ВидыЦен.xml", + "text": [ + "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=", + "auto" + ] + }, + { + "file": "Catalogs/Товары.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + } + ] + } +} diff --git a/tests/skills/cases/meta-compile/snapshots/format-221-pal/Catalogs/Товары.xml b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Catalogs/Товары.xml new file mode 100644 index 00000000..3244f4c2 --- /dev/null +++ b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Catalogs/Товары.xml @@ -0,0 +1,91 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + + Товары + + + ru + Товары + + + + false + HierarchyFoldersAndItems + false + 2 + true + true + + ToItems + 9 + 25 + String + Variable + WholeCatalog + false + true + AsDescription + + Auto + InDialog + false + BothWays + + Catalog.Товары.StandardAttribute.Description + Catalog.Товары.StandardAttribute.Code + + Begin + DontUse + Directly + + + + + + + + + + + false + + + Managed + Use + + + + + + Use + Auto + DontUse + false + false + + + + \ No newline at end of file diff --git a/tests/skills/cases/meta-compile/snapshots/format-221-pal/Catalogs/Товары/Ext/ObjectModule.bsl b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Catalogs/Товары/Ext/ObjectModule.bsl new file mode 100644 index 00000000..e69de29b diff --git a/tests/skills/cases/meta-compile/snapshots/format-221-pal/Configuration.xml b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Configuration.xml new file mode 100644 index 00000000..639d97c2 --- /dev/null +++ b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Configuration.xml @@ -0,0 +1,267 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + ВидыЦен + Товары + + + \ No newline at end of file diff --git a/tests/skills/cases/meta-compile/snapshots/format-221-pal/Enums/ВидыЦен.xml b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Enums/ВидыЦен.xml new file mode 100644 index 00000000..88740944 --- /dev/null +++ b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Enums/ВидыЦен.xml @@ -0,0 +1,125 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + + ВидыЦен + + + ru + Виды цен + + + + false + + + + DontCheck + false + false + Auto + TransformValues + + + false + + + Auto + Auto + + false + Use + false + + + + Use + + + + + + + + DontCheck + false + false + Auto + TransformValues + + + false + + + Auto + Auto + + false + Use + false + + + + Use + + + + + + + + true + BothWays + + + + + + + + Auto + + + + + Оптовая + + + ru + Оптовая + + + + auto + + + + + Розничная + + + ru + Розничная + + + + auto + + + + + \ No newline at end of file diff --git a/tests/skills/cases/meta-compile/snapshots/format-221-pal/Enums/ВидыЦен/Ext/ManagerModule.bsl b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Enums/ВидыЦен/Ext/ManagerModule.bsl new file mode 100644 index 00000000..e69de29b diff --git a/tests/skills/cases/meta-compile/snapshots/format-221-pal/Ext/ClientApplicationInterface.xml b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/meta-compile/snapshots/format-221-pal/Languages/Русский.xml b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/meta-compile/snapshots/format-221-pal/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/meta-edit/format-221.json b/tests/skills/cases/meta-edit/format-221.json new file mode 100644 index 00000000..0dcbce35 --- /dev/null +++ b/tests/skills/cases/meta-edit/format-221.json @@ -0,0 +1,36 @@ +{ + "name": "Формат 2.21 (8.5): у добавляемого значения перечисления", + "setup": "empty-config-221", + "preRun": [ + { + "script": "meta-compile/scripts/meta-compile", + "input": { + "type": "Enum", + "name": "ВидыЦен", + "values": [ + "Оптовая" + ] + }, + "args": { + "-JsonPath": "{inputFile}", + "-OutputDir": "{workDir}" + } + } + ], + "params": { + "objectPath": "Enums/ВидыЦен" + }, + "input": { + "add": { + "values": [ + "Розничная" + ] + } + }, + "expect": { + "fileContains": { + "file": "Enums/ВидыЦен.xml", + "text": "auto" + } + } +} diff --git a/tests/skills/cases/meta-edit/snapshots/format-221/Configuration.xml b/tests/skills/cases/meta-edit/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..3c8c93fb --- /dev/null +++ b/tests/skills/cases/meta-edit/snapshots/format-221/Configuration.xml @@ -0,0 +1,266 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + ВидыЦен + + + \ No newline at end of file diff --git a/tests/skills/cases/meta-edit/snapshots/format-221/Enums/ВидыЦен.xml b/tests/skills/cases/meta-edit/snapshots/format-221/Enums/ВидыЦен.xml new file mode 100644 index 00000000..88740944 --- /dev/null +++ b/tests/skills/cases/meta-edit/snapshots/format-221/Enums/ВидыЦен.xml @@ -0,0 +1,125 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + + ВидыЦен + + + ru + Виды цен + + + + false + + + + DontCheck + false + false + Auto + TransformValues + + + false + + + Auto + Auto + + false + Use + false + + + + Use + + + + + + + + DontCheck + false + false + Auto + TransformValues + + + false + + + Auto + Auto + + false + Use + false + + + + Use + + + + + + + + true + BothWays + + + + + + + + Auto + + + + + Оптовая + + + ru + Оптовая + + + + auto + + + + + Розничная + + + ru + Розничная + + + + auto + + + + + \ No newline at end of file diff --git a/tests/skills/cases/meta-edit/snapshots/format-221/Enums/ВидыЦен/Ext/ManagerModule.bsl b/tests/skills/cases/meta-edit/snapshots/format-221/Enums/ВидыЦен/Ext/ManagerModule.bsl new file mode 100644 index 00000000..e69de29b diff --git a/tests/skills/cases/meta-edit/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/meta-edit/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/meta-edit/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/meta-edit/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/meta-edit/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/meta-edit/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/mxl-compile/format-221.json b/tests/skills/cases/mxl-compile/format-221.json new file mode 100644 index 00000000..845658d0 --- /dev/null +++ b/tests/skills/cases/mxl-compile/format-221.json @@ -0,0 +1,32 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в теле макета", + "setup": "empty-config-221", + "params": { + "outputPath": "Template.xml" + }, + "input": { + "columns": 3, + "areas": [ + { + "name": "Шапка", + "rows": [ + { + "cells": [ + { + "col": 1, + "text": "Тест" + } + ] + } + ] + } + ] + }, + "validatePath": "Template.xml", + "expect": { + "fileContains": { + "file": "Template.xml", + "text": "xmlns=\"http://v8.1c.ru/8.2/data/spreadsheet\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + } + } +} diff --git a/tests/skills/cases/mxl-compile/snapshots/format-221/Configuration.xml b/tests/skills/cases/mxl-compile/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..bf135d15 --- /dev/null +++ b/tests/skills/cases/mxl-compile/snapshots/format-221/Configuration.xml @@ -0,0 +1,265 @@ + + + + + + 9cd510cd-abfc-11d4-9434-004095e12fc7 + 0b4fac2a-6776-4bfc-af10-ad5377cef392 + + + 9fcd25a0-4822-11d4-9414-008048da11f9 + 8392c8a2-cb48-45d2-bb6f-27c67bf9608b + + + e3687481-0a87-462c-a166-9f34594f9bba + 68b934bb-706b-484e-ba96-523db5c1a1c6 + + + 9de14907-ec23-4a07-96f0-85521cb6b53b + 990bbd21-975b-478a-aab0-020172faff72 + + + 51f2d5d8-ea4d-4064-8892-82951750031e + 30407c9e-f7a1-43d6-8d8e-4aca82398bd0 + + + e68182ea-4237-4383-967f-90c1e3370bc7 + 19be8397-1ee6-4a8c-b4c7-02aae4bb6372 + + + fb282519-d103-4dd3-bc12-cb271d631dfc + cb1279b3-b562-4a00-83d4-1d407c27a0c4 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + + + \ No newline at end of file diff --git a/tests/skills/cases/mxl-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/mxl-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..8fd4bb9e --- /dev/null +++ b/tests/skills/cases/mxl-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + cbab57f2-a0f3-4f0a-89ea-4cb19570ab75 + + + + + b553047f-c9aa-4157-978d-448ecad24248 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/mxl-compile/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/mxl-compile/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..62536e1d --- /dev/null +++ b/tests/skills/cases/mxl-compile/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/mxl-compile/snapshots/format-221/Template.xml b/tests/skills/cases/mxl-compile/snapshots/format-221/Template.xml new file mode 100644 index 00000000..a0f71e7f --- /dev/null +++ b/tests/skills/cases/mxl-compile/snapshots/format-221/Template.xml @@ -0,0 +1,54 @@ + + + + ru + ru + + ru + Русский + Русский + + + + 3 + + + 0 + + + 0 + + 2 + + + ru + Тест + + + + + + + true + 1 + 1 + 1 + + Шапка + + Rows + 0 + 0 + -1 + -1 + + + + + 10 + + + 0 + Text + + \ No newline at end of file diff --git a/tests/skills/cases/role-compile/format-221.json b/tests/skills/cases/role-compile/format-221.json new file mode 100644 index 00000000..64b61597 --- /dev/null +++ b/tests/skills/cases/role-compile/format-221.json @@ -0,0 +1,22 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в Role.xml, но не в Rights.xml", + "setup": "empty-config-221", + "input": { + "name": "Роль221" + }, + "validatePath": "Roles/Роль221", + "expect": { + "files": [ + "Roles/Роль221.xml", + "Roles/Роль221/Ext/Rights.xml" + ], + "fileContains": { + "file": "Roles/Роль221.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + }, + "fileNotContains": { + "file": "Roles/Роль221/Ext/Rights.xml", + "text": "xmlns:pal=" + } + } +} diff --git a/tests/skills/cases/role-compile/snapshots/format-221/Configuration.xml b/tests/skills/cases/role-compile/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..d45d1074 --- /dev/null +++ b/tests/skills/cases/role-compile/snapshots/format-221/Configuration.xml @@ -0,0 +1,266 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + Роль221 + + + \ No newline at end of file diff --git a/tests/skills/cases/role-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/role-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/role-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/role-compile/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/role-compile/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/role-compile/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/role-compile/snapshots/format-221/Roles/Роль221.xml b/tests/skills/cases/role-compile/snapshots/format-221/Roles/Роль221.xml new file mode 100644 index 00000000..e05a6adb --- /dev/null +++ b/tests/skills/cases/role-compile/snapshots/format-221/Roles/Роль221.xml @@ -0,0 +1,15 @@ + + + + + Роль221 + + + ru + Роль221 + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/role-compile/snapshots/format-221/Roles/Роль221/Ext/Rights.xml b/tests/skills/cases/role-compile/snapshots/format-221/Roles/Роль221/Ext/Rights.xml new file mode 100644 index 00000000..1349b9bf --- /dev/null +++ b/tests/skills/cases/role-compile/snapshots/format-221/Roles/Роль221/Ext/Rights.xml @@ -0,0 +1,6 @@ + + + false + true + false + \ No newline at end of file diff --git a/tests/skills/cases/subsystem-compile/format-221.json b/tests/skills/cases/subsystem-compile/format-221.json new file mode 100644 index 00000000..2168c2d6 --- /dev/null +++ b/tests/skills/cases/subsystem-compile/format-221.json @@ -0,0 +1,17 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в шапке подсистемы", + "setup": "empty-config-221", + "input": { + "name": "Продажи221" + }, + "validatePath": "Subsystems/Продажи221", + "expect": { + "files": [ + "Subsystems/Продажи221.xml" + ], + "fileContains": { + "file": "Subsystems/Продажи221.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + } + } +} diff --git a/tests/skills/cases/subsystem-compile/snapshots/format-221/Configuration.xml b/tests/skills/cases/subsystem-compile/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..64da9d46 --- /dev/null +++ b/tests/skills/cases/subsystem-compile/snapshots/format-221/Configuration.xml @@ -0,0 +1,266 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + Продажи221 + + + \ No newline at end of file diff --git a/tests/skills/cases/subsystem-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/subsystem-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/subsystem-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/subsystem-compile/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/subsystem-compile/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/subsystem-compile/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/subsystem-compile/snapshots/format-221/Subsystems/Продажи221.xml b/tests/skills/cases/subsystem-compile/snapshots/format-221/Subsystems/Продажи221.xml new file mode 100644 index 00000000..37f2e4bb --- /dev/null +++ b/tests/skills/cases/subsystem-compile/snapshots/format-221/Subsystems/Продажи221.xml @@ -0,0 +1,22 @@ + + + + + Продажи221 + + + ru + Продажи221 + + + + true + true + false + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/subsystem-edit/format-221.json b/tests/skills/cases/subsystem-edit/format-221.json new file mode 100644 index 00000000..c3b7121c --- /dev/null +++ b/tests/skills/cases/subsystem-edit/format-221.json @@ -0,0 +1,31 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в шапке дочерней подсистемы", + "setup": "empty-config-221", + "preRun": [ + { + "script": "subsystem-compile/scripts/subsystem-compile", + "input": { + "name": "Продажи" + }, + "args": { + "-DefinitionFile": "{inputFile}", + "-OutputDir": "{workDir}" + } + } + ], + "params": { + "subsystemPath": "Subsystems/Продажи.xml" + }, + "input": [ + { + "operation": "add-child", + "value": "Настройки" + } + ], + "expect": { + "fileContains": { + "file": "Subsystems/Продажи/Subsystems/Настройки.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + } + } +} diff --git a/tests/skills/cases/subsystem-edit/snapshots/format-221/Configuration.xml b/tests/skills/cases/subsystem-edit/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..a1d79ea1 --- /dev/null +++ b/tests/skills/cases/subsystem-edit/snapshots/format-221/Configuration.xml @@ -0,0 +1,266 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + Продажи + + + \ No newline at end of file diff --git a/tests/skills/cases/subsystem-edit/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/subsystem-edit/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/subsystem-edit/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/subsystem-edit/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/subsystem-edit/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/subsystem-edit/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/subsystem-edit/snapshots/format-221/Subsystems/Продажи.xml b/tests/skills/cases/subsystem-edit/snapshots/format-221/Subsystems/Продажи.xml new file mode 100644 index 00000000..bbcb951a --- /dev/null +++ b/tests/skills/cases/subsystem-edit/snapshots/format-221/Subsystems/Продажи.xml @@ -0,0 +1,24 @@ + + + + + Продажи + + + ru + Продажи + + + + true + true + false + + + + + + Настройки + + + \ No newline at end of file diff --git a/tests/skills/cases/subsystem-edit/snapshots/format-221/Subsystems/Продажи/Subsystems/Настройки.xml b/tests/skills/cases/subsystem-edit/snapshots/format-221/Subsystems/Продажи/Subsystems/Настройки.xml new file mode 100644 index 00000000..e17e7f6a --- /dev/null +++ b/tests/skills/cases/subsystem-edit/snapshots/format-221/Subsystems/Продажи/Subsystems/Настройки.xml @@ -0,0 +1,17 @@ + + + + + Настройки + + + true + true + false + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/template-add/format-221.json b/tests/skills/cases/template-add/format-221.json new file mode 100644 index 00000000..82d2b349 --- /dev/null +++ b/tests/skills/cases/template-add/format-221.json @@ -0,0 +1,28 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в шапке макета", + "setup": "empty-config-221", + "preRun": [ + { + "script": "meta-compile/scripts/meta-compile", + "input": { + "type": "DataProcessor", + "name": "Обработка221" + }, + "args": { + "-JsonPath": "{inputFile}", + "-OutputDir": "{workDir}" + } + } + ], + "params": { + "objectName": "Обработка221", + "templateName": "Макет221", + "templateType": "SpreadsheetDocument" + }, + "expect": { + "fileContains": { + "file": "DataProcessors/Обработка221/Templates/Макет221.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + } + } +} diff --git a/tests/skills/cases/template-add/snapshots/format-221/Configuration.xml b/tests/skills/cases/template-add/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..f39850aa --- /dev/null +++ b/tests/skills/cases/template-add/snapshots/format-221/Configuration.xml @@ -0,0 +1,266 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + Обработка221 + + + \ No newline at end of file diff --git a/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221.xml b/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221.xml new file mode 100644 index 00000000..7c069012 --- /dev/null +++ b/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221.xml @@ -0,0 +1,34 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + + Обработка221 + + + ru + Обработка221 + + + + true + + + false + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221/Ext/ManagerModule.bsl b/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221/Ext/ManagerModule.bsl new file mode 100644 index 00000000..e69de29b diff --git a/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221/Ext/ObjectModule.bsl b/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221/Ext/ObjectModule.bsl new file mode 100644 index 00000000..e69de29b diff --git a/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221/Templates/Макет221.xml b/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221/Templates/Макет221.xml new file mode 100644 index 00000000..1609b63f --- /dev/null +++ b/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221/Templates/Макет221.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221/Templates/Макет221/Ext/Template.xml b/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221/Templates/Макет221/Ext/Template.xml new file mode 100644 index 00000000..d16dc67b --- /dev/null +++ b/tests/skills/cases/template-add/snapshots/format-221/DataProcessors/Обработка221/Templates/Макет221/Ext/Template.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/tests/skills/cases/template-add/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/template-add/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/template-add/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/template-add/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/template-add/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/template-add/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/xdto-compile/format-221.json b/tests/skills/cases/xdto-compile/format-221.json new file mode 100644 index 00000000..635dfa45 --- /dev/null +++ b/tests/skills/cases/xdto-compile/format-221.json @@ -0,0 +1,17 @@ +{ + "name": "Формат 2.21 (8.5): xmlns:pal в шапке пакета XDTO", + "setup": "empty-config-221", + "caseFiles": [ + "annotations.xsd" + ], + "params": { + "xsdFile": "annotations.xsd" + }, + "validatePath": "XDTOPackages/ПакетСАннотациями", + "expect": { + "fileContains": { + "file": "XDTOPackages/ПакетСАннотациями.xml", + "text": "xmlns:lf=\"http://v8.1c.ru/8.2/managed-application/logform\" xmlns:pal=\"http://v8.1c.ru/8.1/data/ui/colors/palette\" xmlns:style=" + } + } +} diff --git a/tests/skills/cases/xdto-compile/snapshots/format-221/Configuration.xml b/tests/skills/cases/xdto-compile/snapshots/format-221/Configuration.xml new file mode 100644 index 00000000..4c3fd43c --- /dev/null +++ b/tests/skills/cases/xdto-compile/snapshots/format-221/Configuration.xml @@ -0,0 +1,266 @@ + + + + + + UUID-002 + UUID-003 + + + UUID-004 + UUID-005 + + + UUID-006 + UUID-007 + + + UUID-008 + UUID-009 + + + UUID-010 + UUID-011 + + + UUID-012 + UUID-013 + + + UUID-014 + UUID-015 + + + + TestConfig + + + ru + TestConfig + + + + + Version8_3_27 + ManagedApplication + + PlatformApplication + + Russian + + + + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Biometrics + true + + + Location + false + + + BackgroundLocation + false + + + BluetoothPrinters + false + + + WiFiPrinters + false + + + Contacts + false + + + Calendars + false + + + PushNotifications + false + + + LocalNotifications + false + + + InAppPurchases + false + + + PersonalComputerFileExchange + false + + + Ads + false + + + NumberDialing + false + + + CallProcessing + false + + + CallLog + false + + + AutoSendSMS + false + + + ReceiveSMS + false + + + SMSLog + false + + + Camera + false + + + Microphone + false + + + MusicLibrary + false + + + PictureAndVideoLibraries + false + + + AudioPlaybackAndVibration + false + + + BackgroundAudioPlaybackAndVibration + false + + + InstallPackages + false + + + OSBackup + true + + + ApplicationUsageStatistics + false + + + BarcodeScanning + false + + + BackgroundAudioRecording + false + + + AllFilesAccess + false + + + Videoconferences + false + + + NFC + false + + + DocumentScanning + false + + + SpeechToText + false + + + Geofences + false + + + IncomingShareRequests + false + + + AllIncomingShareRequestsTypesProcessing + false + + + + + + NavigationLeft + Auto + Normal + OpenDataInDialogs + + + + + Language.Русский + + + + + + Managed + NotAutoFree + DontUse + DontUse + TaxiEnableVersion8_2 + DontUse + DontUse + Version8_3_27 + + + + Русский + ПакетСАннотациями + + + \ No newline at end of file diff --git a/tests/skills/cases/xdto-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml b/tests/skills/cases/xdto-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml new file mode 100644 index 00000000..3c1161b2 --- /dev/null +++ b/tests/skills/cases/xdto-compile/snapshots/format-221/Ext/ClientApplicationInterface.xml @@ -0,0 +1,18 @@ + + + + + UUID-002 + + + + + UUID-004 + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/xdto-compile/snapshots/format-221/Languages/Русский.xml b/tests/skills/cases/xdto-compile/snapshots/format-221/Languages/Русский.xml new file mode 100644 index 00000000..b0221093 --- /dev/null +++ b/tests/skills/cases/xdto-compile/snapshots/format-221/Languages/Русский.xml @@ -0,0 +1,16 @@ + + + + + Русский + + + ru + Русский + + + + ru + + + \ No newline at end of file diff --git a/tests/skills/cases/xdto-compile/snapshots/format-221/XDTOPackages/ПакетСАннотациями.xml b/tests/skills/cases/xdto-compile/snapshots/format-221/XDTOPackages/ПакетСАннотациями.xml new file mode 100644 index 00000000..c3914d17 --- /dev/null +++ b/tests/skills/cases/xdto-compile/snapshots/format-221/XDTOPackages/ПакетСАннотациями.xml @@ -0,0 +1,20 @@ + + + + + ПакетСАннотациями + + + ru + Пакет с аннотациями + + + en + Annotated package + + + Проверка xs:appinfo + urn:test:annotations + + + \ No newline at end of file diff --git a/tests/skills/cases/xdto-compile/snapshots/format-221/XDTOPackages/ПакетСАннотациями/Ext/Package.bin b/tests/skills/cases/xdto-compile/snapshots/format-221/XDTOPackages/ПакетСАннотациями/Ext/Package.bin new file mode 100644 index 00000000..374cb880 --- /dev/null +++ b/tests/skills/cases/xdto-compile/snapshots/format-221/XDTOPackages/ПакетСАннотациями/Ext/Package.bin @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/tests/skills/cases/xdto-compile/snapshots/format-221/annotations.xsd b/tests/skills/cases/xdto-compile/snapshots/format-221/annotations.xsd new file mode 100644 index 00000000..8d5521c3 --- /dev/null +++ b/tests/skills/cases/xdto-compile/snapshots/format-221/annotations.xsd @@ -0,0 +1,28 @@ + + + + + ПакетСАннотациями + Пакет с аннотациями + Annotated package + Проверка xs:appinfo + + + + + + + + + + + + + + + + + diff --git a/tests/skills/runner.mjs b/tests/skills/runner.mjs index d8ff7df7..524bc709 100644 --- a/tests/skills/runner.mjs +++ b/tests/skills/runner.mjs @@ -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);