-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Добавлен конфигурационный файл yaxunit
- Loading branch information
Plehanov Stepan
authored and
Plehanov Stepan
committed
Apr 18, 2024
1 parent
b730bf2
commit dc0cc57
Showing
511 changed files
with
31,150 additions
and
0 deletions.
There are no files selected for viewing
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,24 @@ | ||
#language: ru | ||
|
||
@tree | ||
|
||
Функционал: проверка установки пометки удаления | ||
|
||
Контекст: | ||
Дано Я запускаю сценарий открытия TestClient или подключаю уже существующий | ||
|
||
Сценарий: Проверка установки пометки удаления для элементов справочника Тип соответствия объектов ИБ | ||
* Установка пометки | ||
И В командном интерфейсе я выбираю 'Соответствие объектов ИБ' 'Тип соответствия объектов ИБ' | ||
Тогда открылось окно 'Тип соответствия объектов ИБ' | ||
И в таблице 'Список' я выделяю все строки | ||
И я выбираю пункт контекстного меню с именем 'СписокКонтекстноеМенюУстановитьПометкуУдаления' на элементе формы с именем "Список" | ||
Тогда открылось окно '1С:Предприятие' | ||
И я нажимаю на кнопку с именем 'Button0' | ||
* Снятие пометки | ||
Когда открылось окно 'Тип соответствия объектов ИБ' | ||
И в таблице 'Список' я выделяю все строки | ||
И я выбираю пункт контекстного меню с именем 'СписокКонтекстноеМенюУстановитьПометкуУдаления' на элементе формы с именем "Список" | ||
Тогда открылось окно '1С:Предприятие' | ||
И я нажимаю на кнопку с именем 'Button0' | ||
|
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,30 @@ | ||
#language: ru | ||
|
||
@tree | ||
|
||
Функционал: ввод данных | ||
|
||
Контекст: | ||
Дано Я запускаю сценарий открытия TestClient или подключаю уже существующий | ||
|
||
Сценарий: Создание элемента справочника Тип соответствия объектов ИБ | ||
* Создание элемента | ||
И В командном интерфейсе я выбираю 'Соответствие объектов ИБ' 'Тип соответствия объектов ИБ' | ||
Тогда открылось окно 'Тип соответствия объектов ИБ' | ||
И я нажимаю на кнопку с именем 'ФормаСоздать' | ||
Тогда открылось окно 'Тип соответствия объектов ИБ (создание)' | ||
И в поле с именем 'Наименование' я ввожу текст 'ВА - Тест' | ||
И в поле с именем 'ИдентификаторНастройки' я ввожу текст 'ВА - Тест' | ||
И я нажимаю на кнопку с именем 'ФормаЗаписатьИЗакрыть' | ||
И я жду закрытия окна 'Тип соответствия объектов ИБ (создание) *' в течение 20 секунд | ||
* Проверка создания | ||
Когда открылось окно 'Тип соответствия объектов ИБ' | ||
И я нажимаю на кнопку с именем 'ФормаНайти' | ||
Тогда открылось окно 'Найти' | ||
И я меняю значение переключателя с именем 'CompareType' на 'По точному совпадению' | ||
И я нажимаю на кнопку с именем 'Find' | ||
Тогда открылось окно 'Тип соответствия объектов ИБ' | ||
И в таблице "Список" я выбираю текущую строку | ||
Тогда открылось окно 'ВА - Тест (Тип соответствия объектов ИБ)' | ||
И Я закрываю окно 'ВА - Тест (Тип соответствия объектов ИБ)' | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
src/cfe/YAXUnit/CommonModules/_ОбщегоНазаначенияСервер.xml
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,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.16"> | ||
<CommonModule uuid="99f38b62-a6ed-4db4-ae07-f9a7c8656043"> | ||
<Properties> | ||
<Name>_ОбщегоНазаначенияСервер</Name> | ||
<Synonym> | ||
<v8:item> | ||
<v8:lang>ru</v8:lang> | ||
<v8:content>Общего назаначения сервер</v8:content> | ||
</v8:item> | ||
</Synonym> | ||
<Comment/> | ||
<Global>false</Global> | ||
<ClientManagedApplication>false</ClientManagedApplication> | ||
<Server>true</Server> | ||
<ExternalConnection>false</ExternalConnection> | ||
<ClientOrdinaryApplication>false</ClientOrdinaryApplication> | ||
<ServerCall>false</ServerCall> | ||
<Privileged>false</Privileged> | ||
<ReturnValuesReuse>DontUse</ReturnValuesReuse> | ||
</Properties> | ||
</CommonModule> | ||
</MetaDataObject> |
59 changes: 59 additions & 0 deletions
59
src/cfe/YAXUnit/CommonModules/_ОбщегоНазаначенияСервер/Ext/Module.bsl
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,59 @@ | ||
#Область СлужебныйПрограммныйИнтерфейс | ||
|
||
Процедура ИсполняемыеСценарии() Экспорт | ||
|
||
ЮТТесты | ||
.ДобавитьТестовыйНабор("Тесты функции ОписаниеТипаЧисло") | ||
.ДобавитьТест("ТестДолженСоздатьТипЧисло") | ||
.ДобавитьТест("ТестДолженВернутьОписаниеЧислаСКорректнымЗнаком") | ||
.ДобавитьТест("ТестДолженУстановитьЗнакЛюбойПриОтсутствииЯвнойУказки") | ||
.ДобавитьТест("ТестДолженПроверитьПолучениеЗначенияСКешем"); | ||
ЮТТесты | ||
.ДобавитьТестовыйНабор("Тесты функции ПолучитьПредопределенноеЗначение") | ||
.ДобавитьТест("ТестДолженПроверитьПолучениеЗначенияСКешем"); | ||
|
||
КонецПроцедуры | ||
|
||
#КонецОбласти | ||
|
||
|
||
#Область Тесты | ||
|
||
Процедура ТестДолженПроверитьПолучениеЗначенияСКешем() Экспорт | ||
|
||
Результат = __ОбщегоНазначенияСервер.ПолучитьПредопределенноеЗначение("КолДнейХраненияИсторииИнтеграции", Истина); | ||
|
||
ЮТест.ОжидаетЧто(Результат).Равно(0); | ||
|
||
КонецПроцедуры | ||
|
||
|
||
|
||
|
||
Процедура ТестДолженСоздатьТипЧисло() Экспорт | ||
|
||
Описание = __ОбщегоНазначенияСервер.ОписаниеТипаЧисло(10, 2, ДопустимыйЗнак.Неотрицательный); | ||
ЮТест.ОжидаетЧто(Тип(Описание)).Равно(Тип("Число")); | ||
|
||
КонецПроцедуры | ||
|
||
Процедура ТестДолженВернутьОписаниеЧислаСКорректнымЗнаком() Экспорт | ||
|
||
Описание = __ОбщегоНазначенияСервер.ОписаниеТипаЧисло(10, 2, ДопустимыйЗнак.Неотрицательный); | ||
Проверка = Новый ОписаниеТипов("Число", Новый КвалификаторыЧисла(10, 2, ДопустимыйЗнак.Неотрицательный)); | ||
|
||
ЮТест.ОжидаетЧто(Проверка).Равно(Проверка); | ||
|
||
КонецПроцедуры | ||
|
||
Процедура ТестДолженУстановитьЗнакЛюбойПриОтсутствииЯвнойУказки() Экспорт | ||
|
||
Описание = __ОбщегоНазначенияСервер.ОписаниеТипаЧисло(10, 2); | ||
Проверка = __ОбщегоНазначенияСервер.ОписаниеТипаЧисло(10, 2, ДопустимыйЗнак.Любой); | ||
|
||
ЮТест.ОжидаетЧто(Описание).Равно(Проверка); | ||
|
||
КонецПроцедуры | ||
|
||
#КонецОбласти | ||
|
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,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.16"> | ||
<CommonModule uuid="b5c40903-c446-420c-824e-07c58f5b7021"> | ||
<Properties> | ||
<Name>Мокито</Name> | ||
<Synonym> | ||
<v8:item> | ||
<v8:lang>ru</v8:lang> | ||
<v8:content>Мокито</v8:content> | ||
</v8:item> | ||
</Synonym> | ||
<Comment/> | ||
<Global>false</Global> | ||
<ClientManagedApplication>true</ClientManagedApplication> | ||
<Server>true</Server> | ||
<ExternalConnection>false</ExternalConnection> | ||
<ClientOrdinaryApplication>true</ClientOrdinaryApplication> | ||
<ServerCall>false</ServerCall> | ||
<Privileged>false</Privileged> | ||
<ReturnValuesReuse>DontUse</ReturnValuesReuse> | ||
</Properties> | ||
</CommonModule> | ||
</MetaDataObject> |
Oops, something went wrong.