-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Добавлен механизм настройки исключений дымовых тестов открытия форм ч…
…ерез внешний файл настройки в формате JSON #179
- Loading branch information
Showing
39 changed files
with
805 additions
and
210 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"Справочники": { | ||
"Списки": [ | ||
"ПростойСправочник" | ||
], | ||
"Новые": [ | ||
"ПростойСправочник2" | ||
] | ||
}, | ||
"Отчеты": [ | ||
"Отчет1" | ||
], | ||
"Обработки": [ | ||
"xddGuidShow" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Form\Форма\Форма.bsl-->d75f146d-5027-4604-80fd-3b704ddd86a8.0 (50, 463) | ||
Form\Форма\Форма.bsl-->d75f146d-5027-4604-80fd-3b704ddd86a8.0 (50, 476) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
{216,0} | ||
{216,0, | ||
{80308,0} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{1,9,"",5ca3ba7b-ac30-4dd5-add6-7122817caffe,"51efd65a-ed36-4be7-a563-89b34ebfa851",e2d653bc-3396-4cf7-9fc3-571baa412caf,"copyinfo",23e17dfa-5076-42c0-8c4d-85d59567480f,"d75f146d-5027-4604-80fd-3b704ddd86a8",99d14991-84a9-4821-8104-2cfd212270d9,"d75f146d-5027-4604-80fd-3b704ddd86a8.0",279dce53-f8b7-4c88-a094-fd0760a7065c,"dfe532e1-d0ef-4008-afd4-214781ee4960.0",23ef37aa-3c13-4464-aaf2-c5fafbe9c140,"root",ee4fcc67-2ba5-46ee-9386-c41f25c0cf20,"version",373b7d2e-bd4f-4e9b-94f0-ec84d69fdbd3,"versions",407b34f1-2f7e-484d-bce0-6f2378bf01b3} | ||
{1,9,"",8166408f-4159-4e2b-9781-2d591673955c,"51efd65a-ed36-4be7-a563-89b34ebfa851",aa5965af-4229-4bbe-b205-090baded4def,"copyinfo",a2e3eb0b-0020-47ab-ad3d-4a2d481c4930,"d75f146d-5027-4604-80fd-3b704ddd86a8",3d1dd6a8-9cce-40fd-ac47-2fb03a6d359f,"d75f146d-5027-4604-80fd-3b704ddd86a8.0",06306db7-53d9-4399-ba5b-df74053ccdb3,"dfe532e1-d0ef-4008-afd4-214781ee4960.0",3a46fc39-ff5b-4c85-8cdc-989a5b0e6fcb,"root",4d97ec92-f9c5-4e9e-b11c-dc73ed1a5dc7,"version",1e8c5a76-64cc-49c6-b5e3-648fcce003d9,"versions",394b2e82-e841-4627-863c-c710af5699c5} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
&НаКлиенте | ||
Перем КонтекстЯдра; | ||
|
||
// { Plugin interface | ||
|
||
&НаКлиенте | ||
Функция ОписаниеПлагина(ВозможныеТипыПлагинов) Экспорт | ||
Возврат ОписаниеПлагинаНаСервере(ВозможныеТипыПлагинов); | ||
КонецФункции | ||
|
||
&НаКлиенте | ||
Процедура Инициализация(КонтекстЯдраПараметр) Экспорт | ||
КонтекстЯдра = КонтекстЯдраПараметр; | ||
КонецПроцедуры | ||
|
||
&НаСервере | ||
Функция ОписаниеПлагинаНаСервере(ВозможныеТипыПлагинов) | ||
Возврат Объект().ОписаниеПлагина(ВозможныеТипыПлагинов); | ||
КонецФункции | ||
|
||
// } Plugin interface | ||
|
||
// { Settings interface | ||
|
||
&НаКлиенте | ||
Функция ПолучитьНастройку(Знач ПутьФайлаНастройки) Экспорт | ||
ФайлБраузера = Новый Файл(КонтекстЯдра.ИспользуемоеИмяФайла); | ||
Возврат ПолучитьНастройки(ФайлБраузера, ПутьФайлаНастройки); | ||
КонецФункции | ||
|
||
// } Settings interface | ||
|
||
&НаКлиенте | ||
Функция ПолучитьНастройки(Знач ФайлБраузера, Знач ПутьФайлаНастройки) | ||
ИмяФайла = ПутьФайлаНастройки; //"1smoke.json"; | ||
|
||
ПутьФайлаНастроек = СтрШаблон("%1%2", ФайлБраузера.Путь, ИмяФайла); | ||
ФайлНастроек = Новый Файл(ПутьФайлаНастроек); | ||
Если ФайлНастроек.Существует() Тогда | ||
ЧтениеJSON = Новый ЧтениеJSON; | ||
ЧтениеJSON.ОткрытьФайл(ПутьФайлаНастроек); | ||
|
||
Настройки = ПрочитатьJSON(ЧтениеJSON, Ложь); | ||
Настройки = Новый ФиксированнаяСтруктура(Настройки); | ||
КонецЕсли; | ||
Возврат Настройки; | ||
КонецФункции | ||
|
||
&НаСервере | ||
Функция Объект() | ||
Возврат РеквизитФормыВЗначение("Объект"); | ||
КонецФункции | ||
|
Oops, something went wrong.