1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-08-13 20:05:19 +02:00

Преобразование OPI -> OInt (workflow)

This commit is contained in:
Vitaly the Alpaca
2024-06-01 17:53:54 +00:00
committed by Vitaly the Alpaca (bot)
parent 77a6186dfe
commit 8935776546
6 changed files with 728 additions and 728 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -226,19 +226,19 @@ Function ExpectsThat(Value) Export
Try Try
Module = GetCommonModule("ЮTest"); Module = GetCommonModule("ЮТест");
Awaiting = TypeOf(Module) = Type("CommonModule"); Awaiting = TypeOf(Module) = Type("CommonModule");
Return Module.ExpectsThat(Value); Return Module.ExpectsThat(Value);
Except Except
Return Awaiting.What(Value); Return Awaiting.Что(Value);
EndTry; EndTry;
EndFunction EndFunction
Function FormYAXTests() Export Function FormYAXTests() Export
Module = GetCommonModule("ЮТTests"); Module = GetCommonModule("ЮТТесты");
Sections = GetTestingSectionMapping(); Sections = GetTestingSectionMapping();
TestTable = GetTestTable(); TestTable = GetTestTable();
@@ -248,10 +248,10 @@ Function FormYAXTests() Export
Filter = New Structure("Section", CurrentSection); Filter = New Structure("Section", CurrentSection);
SectionTests = TestTable.FindRows(Filter); SectionTests = TestTable.FindRows(Filter);
Set = Module.AddTestоinыйSet(CurrentSection); Set = Module.ДобавитьТестовыйНабор(CurrentSection);
For Each Test In SectionTests Do For Each Test In SectionTests Do
Set.AddServerныйTest(Test.Method, Test.Synonym); Set.ДобавитьСерверныйТест(Test.Method, Test.Synonym);
EndDo; EndDo;
EndDo; EndDo;

View File

@@ -469,7 +469,7 @@ Procedure RemoveEmptyCollectionFields(Collection) Export
ElsIf CollectionType = Type("Array") Then ElsIf CollectionType = Type("Array") Then
RemoveEmptyArrayElements(Collection, OutputCollection); RemoveEmptyArrayItems(Collection, OutputCollection);
Else Else
@@ -1013,7 +1013,7 @@ Procedure RemoveEmptyKeyValues(Val Collection, OutputCollection)
EndProcedure EndProcedure
Procedure RemoveEmptyArrayElements(Val Collection, OutputCollection) Procedure RemoveEmptyArrayItems(Val Collection, OutputCollection)
For Each CollectionItem In Collection Do For Each CollectionItem In Collection Do

View File

@@ -226,19 +226,19 @@ Function ExpectsThat(Value) Export
Try Try
Module = GetCommonModule("ЮTest"); Module = GetCommonModule("ЮТест");
Awaiting = TypeOf(Module) = Type("CommonModule"); Awaiting = TypeOf(Module) = Type("CommonModule");
Return Module.ExpectsThat(Value); Return Module.ExpectsThat(Value);
Except Except
Return Awaiting.What(Value); Return Awaiting.Что(Value);
EndTry; EndTry;
EndFunction EndFunction
Function FormYAXTests() Export Function FormYAXTests() Export
Module = GetCommonModule("ЮТTests"); Module = GetCommonModule("ЮТТесты");
Sections = GetTestingSectionMapping(); Sections = GetTestingSectionMapping();
TestTable = GetTestTable(); TestTable = GetTestTable();
@@ -248,10 +248,10 @@ Function FormYAXTests() Export
Filter = New Structure("Section", CurrentSection); Filter = New Structure("Section", CurrentSection);
SectionTests = TestTable.FindRows(Filter); SectionTests = TestTable.FindRows(Filter);
Set = Module.AddTestоinыйSet(CurrentSection); Set = Module.ДобавитьТестовыйНабор(CurrentSection);
For Each Test In SectionTests Do For Each Test In SectionTests Do
Set.AddServerныйTest(Test.Method, Test.Synonym); Set.ДобавитьСерверныйТест(Test.Method, Test.Synonym);
EndDo; EndDo;
EndDo; EndDo;

File diff suppressed because it is too large Load Diff

View File

@@ -469,7 +469,7 @@ Procedure RemoveEmptyCollectionFields(Collection) Export
ElsIf CollectionType = Type("Array") Then ElsIf CollectionType = Type("Array") Then
RemoveEmptyArrayElements(Collection, OutputCollection); RemoveEmptyArrayItems(Collection, OutputCollection);
Else Else
@@ -1013,7 +1013,7 @@ Procedure RemoveEmptyKeyValues(Val Collection, OutputCollection)
EndProcedure EndProcedure
Procedure RemoveEmptyArrayElements(Val Collection, OutputCollection) Procedure RemoveEmptyArrayItems(Val Collection, OutputCollection)
For Each CollectionItem In Collection Do For Each CollectionItem In Collection Do