You've already forked OpenIntegrations
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:
committed by
Vitaly the Alpaca (bot)
parent
77a6186dfe
commit
8935776546
File diff suppressed because it is too large
Load Diff
@@ -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;
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
@@ -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
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user