You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-07-03 00:58:12 +02:00
Преобразование OPI -> OInt (workflow)
This commit is contained in:
committed by
Vitaly the Alpaca (bot)
parent
02bc48a0f1
commit
e273dc6c51
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
// For YAxUnit
|
// For YAxUnit
|
||||||
|
|
||||||
Procedure ИсполняеымыеСценарии() Export
|
Procedure AndwithполняеымыеСцеtoрии() Export
|
||||||
|
|
||||||
OPI_TestDataRetrieval.FormYAXTests();
|
OPI_TestDataRetrieval.FormYAXTests();
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@ Function ExpectsThat(Value) Export
|
|||||||
|
|
||||||
Try
|
Try
|
||||||
|
|
||||||
Module = GetCommonModule("ЮТест");
|
Module = GetCommonModule("ЮTest");
|
||||||
Awaiting = TypeOf(Module) = Type("CommonModule");
|
Awaiting = TypeOf(Module) = Type("CommonModule");
|
||||||
Return Module.ОжидаетЧто(Value);
|
Return Module.ОжидаетЧто(Value);
|
||||||
|
|
||||||
@ -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.ДобавитьТестовыйНабор(CurrentSection);
|
Set = Module.AddTestоinыйSet(CurrentSection);
|
||||||
|
|
||||||
For Each Test In SectionTests Do
|
For Each Test In SectionTests Do
|
||||||
Set.ДобавитьСерверныйТест(Test.Method, Test.Synonym);
|
Set.AddServerныйTest(Test.Method, Test.Synonym);
|
||||||
EndDo;
|
EndDo;
|
||||||
|
|
||||||
EndDo;
|
EndDo;
|
||||||
|
@ -258,8 +258,8 @@ Function SplitURL(Val URL) Export
|
|||||||
URL = StrReplace(URL, "http://", "");
|
URL = StrReplace(URL, "http://", "");
|
||||||
URL = StrReplace(URL, ":443", "");
|
URL = StrReplace(URL, ":443", "");
|
||||||
|
|
||||||
Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromStart) + 1);
|
Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromBegin) + 1);
|
||||||
Server = Left(URL, StrFind(URL, "/", SearchDirection.FromStart) - 1);
|
Server = Left(URL, StrFind(URL, "/", SearchDirection.FromBegin) - 1);
|
||||||
|
|
||||||
Try
|
Try
|
||||||
SSL = New OpenSSLSecureConnection;
|
SSL = New OpenSSLSecureConnection;
|
||||||
|
@ -226,7 +226,7 @@ Function ExpectsThat(Value) Export
|
|||||||
|
|
||||||
Try
|
Try
|
||||||
|
|
||||||
Module = GetCommonModule("ЮТест");
|
Module = GetCommonModule("ЮTest");
|
||||||
Awaiting = TypeOf(Module) = Type("CommonModule");
|
Awaiting = TypeOf(Module) = Type("CommonModule");
|
||||||
Return Module.ОжидаетЧто(Value);
|
Return Module.ОжидаетЧто(Value);
|
||||||
|
|
||||||
@ -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.ДобавитьТестовыйНабор(CurrentSection);
|
Set = Module.AddTestоinыйSet(CurrentSection);
|
||||||
|
|
||||||
For Each Test In SectionTests Do
|
For Each Test In SectionTests Do
|
||||||
Set.ДобавитьСерверныйТест(Test.Method, Test.Synonym);
|
Set.AddServerныйTest(Test.Method, Test.Synonym);
|
||||||
EndDo;
|
EndDo;
|
||||||
|
|
||||||
EndDo;
|
EndDo;
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
// For YAxUnit
|
// For YAxUnit
|
||||||
|
|
||||||
Procedure ИсполняеымыеСценарии() Export
|
Procedure AndwithполняеымыеСцеtoрии() Export
|
||||||
|
|
||||||
OPI_TestDataRetrieval.FormYAXTests();
|
OPI_TestDataRetrieval.FormYAXTests();
|
||||||
|
|
||||||
|
@ -258,8 +258,8 @@ Function SplitURL(Val URL) Export
|
|||||||
URL = StrReplace(URL, "http://", "");
|
URL = StrReplace(URL, "http://", "");
|
||||||
URL = StrReplace(URL, ":443", "");
|
URL = StrReplace(URL, ":443", "");
|
||||||
|
|
||||||
Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromStart) + 1);
|
Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromBegin) + 1);
|
||||||
Server = Left(URL, StrFind(URL, "/", SearchDirection.FromStart) - 1);
|
Server = Left(URL, StrFind(URL, "/", SearchDirection.FromBegin) - 1);
|
||||||
|
|
||||||
Try
|
Try
|
||||||
SSL = New OpenSSLSecureConnection;
|
SSL = New OpenSSLSecureConnection;
|
||||||
|
Reference in New Issue
Block a user