From 333c229ec5ac2aa3c6f2909bc05387f59efa0391 Mon Sep 17 00:00:00 2001 From: Denis Prokhorchik Date: Mon, 14 Feb 2022 07:57:23 +0300 Subject: [PATCH 1/2] feat(issue-200): add new sdk for test with .net core support --- .../Mappers/BaseMappingTests.cs | 18 +++++++ .../O2NG.Sdk.IntegrationTester.NetCore.csproj | 15 ++++++ .../UnitTest1.cs | 13 +++++ .../O2NG.Sdk.UnitTester.NetCore.csproj | 52 +++++++++++++++++++ src/SDKs/O2NG.Tester.Sdk/O2NG.Tester.Sdk.sln | 41 +++++++++++++++ 5 files changed, 139 insertions(+) create mode 100644 src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/Mappers/BaseMappingTests.cs create mode 100644 src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore.csproj create mode 100644 src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore/UnitTest1.cs create mode 100644 src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.UnitTester.NetCore.csproj create mode 100644 src/SDKs/O2NG.Tester.Sdk/O2NG.Tester.Sdk.sln diff --git a/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/Mappers/BaseMappingTests.cs b/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/Mappers/BaseMappingTests.cs new file mode 100644 index 00000000..12abd3b9 --- /dev/null +++ b/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/Mappers/BaseMappingTests.cs @@ -0,0 +1,18 @@ +using NUnit.Framework; + +namespace O2NG.Sdk.UnitTester.NetCore.Mappers +{ + public class BaseMappingTests + { + [SetUp] + public void Setup() + { + } + + [Test] + public void Test1() + { + Assert.Pass(); + } + } +} diff --git a/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore.csproj b/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore.csproj new file mode 100644 index 00000000..09b7577b --- /dev/null +++ b/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore.csproj @@ -0,0 +1,15 @@ + + + + netcoreapp2.1 + + false + + + + + + + + + diff --git a/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore/UnitTest1.cs b/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore/UnitTest1.cs new file mode 100644 index 00000000..5343ce7a --- /dev/null +++ b/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.IntegrationTester.NetCore/UnitTest1.cs @@ -0,0 +1,13 @@ +using Xunit; + +namespace O2NG.Sdk.IntegrationTester.NetCore +{ + public class Tests + { + [Fact] + public void Test1() + { + + } + } +} diff --git a/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.UnitTester.NetCore.csproj b/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.UnitTester.NetCore.csproj new file mode 100644 index 00000000..e430a463 --- /dev/null +++ b/src/SDKs/O2NG.Tester.Sdk/O2NG.Sdk.UnitTester.NetCore/O2NG.Sdk.UnitTester.NetCore.csproj @@ -0,0 +1,52 @@ + + + + netcoreapp2.1 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/SDKs/O2NG.Tester.Sdk/O2NG.Tester.Sdk.sln b/src/SDKs/O2NG.Tester.Sdk/O2NG.Tester.Sdk.sln new file mode 100644 index 00000000..2a51a216 --- /dev/null +++ b/src/SDKs/O2NG.Tester.Sdk/O2NG.Tester.Sdk.sln @@ -0,0 +1,41 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 25.0.1700.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WPF", "WPF", "{0BD21E13-AC0B-4567-823C-CE1B4D286489}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "XAMARIN", "XAMARIN", "{EF06ACB4-9E8C-47B5-B709-DBE7A4BED4E4}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".NetCore", ".NetCore", "{B94CA396-F1CA-4326-B5E3-7C4FFA843076}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "O2NG.Sdk.UnitTester.NetCore", "O2NG.Sdk.UnitTester.NetCore\O2NG.Sdk.UnitTester.NetCore.csproj", "{A93A8701-CF00-446D-9B51-8C762B896BB6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "O2NG.Sdk.IntegrationTester.NetCore", "O2NG.Sdk.UnitTester.NetCore\O2NG.Sdk.IntegrationTester.NetCore\O2NG.Sdk.IntegrationTester.NetCore.csproj", "{953F39E9-9D11-4C7F-AF76-9EEC2FA12644}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A93A8701-CF00-446D-9B51-8C762B896BB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A93A8701-CF00-446D-9B51-8C762B896BB6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A93A8701-CF00-446D-9B51-8C762B896BB6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A93A8701-CF00-446D-9B51-8C762B896BB6}.Release|Any CPU.Build.0 = Release|Any CPU + {953F39E9-9D11-4C7F-AF76-9EEC2FA12644}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {953F39E9-9D11-4C7F-AF76-9EEC2FA12644}.Debug|Any CPU.Build.0 = Debug|Any CPU + {953F39E9-9D11-4C7F-AF76-9EEC2FA12644}.Release|Any CPU.ActiveCfg = Release|Any CPU + {953F39E9-9D11-4C7F-AF76-9EEC2FA12644}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {4670C972-682D-4FA8-9097-095CB3E02EBB} + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {A93A8701-CF00-446D-9B51-8C762B896BB6} = {B94CA396-F1CA-4326-B5E3-7C4FFA843076} + {953F39E9-9D11-4C7F-AF76-9EEC2FA12644} = {B94CA396-F1CA-4326-B5E3-7C4FFA843076} + EndGlobalSection +EndGlobal From cf6b31bc85b36fc6eb360b802a3522a07dd9b849 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Feb 2022 05:00:13 +0000 Subject: [PATCH 2/2] build(deps): bump follow-redirects in /src/WebApps/pfr-app/c-gen Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] --- src/WebApps/pfr-app/c-gen/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/WebApps/pfr-app/c-gen/yarn.lock b/src/WebApps/pfr-app/c-gen/yarn.lock index d85b4f77..9caebb1a 100644 --- a/src/WebApps/pfr-app/c-gen/yarn.lock +++ b/src/WebApps/pfr-app/c-gen/yarn.lock @@ -2310,9 +2310,9 @@ find-up@^4.0.0: path-exists "^4.0.0" follow-redirects@^1.0.0: - version "1.14.7" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.7.tgz#2004c02eb9436eee9a21446a6477debf17e81685" - integrity sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ== + version "1.14.8" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.8.tgz#016996fb9a11a100566398b1c6839337d7bfa8fc" + integrity sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA== forwarded@0.2.0: version "0.2.0"