diff --git a/SRPXX-Tests/main.cpp b/SRPXX-Tests/main.cpp new file mode 100755 index 0000000..2c3fad3 --- /dev/null +++ b/SRPXX-Tests/main.cpp @@ -0,0 +1,26 @@ +/******************************************************************************* + * The MIT License (MIT) + * + * Copyright (c) 2024 Jean-David Gadina - www.xs-labs.com + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + ******************************************************************************/ + +#define XSTEST_MAIN_RUN +#include \ No newline at end of file diff --git a/SRPXX.sln b/SRPXX.sln index 2ba98aa..593d05f 100755 --- a/SRPXX.sln +++ b/SRPXX.sln @@ -9,6 +9,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SRPXX-v143", "VisualStudio\ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SRPXX-Debug", "VisualStudio\SRPXX-Debug.vcxproj", "{2DB2E3E5-5D70-48AA-B568-1159B49E4180}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SRPXX-Tests", "VisualStudio\SRPXX-Tests.vcxproj", "{A5B515DE-C717-4C51-87E8-3DFF21B90FA1}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 @@ -41,6 +43,14 @@ Global {2DB2E3E5-5D70-48AA-B568-1159B49E4180}.Release|x64.Build.0 = Release|x64 {2DB2E3E5-5D70-48AA-B568-1159B49E4180}.Release|x86.ActiveCfg = Release|Win32 {2DB2E3E5-5D70-48AA-B568-1159B49E4180}.Release|x86.Build.0 = Release|Win32 + {A5B515DE-C717-4C51-87E8-3DFF21B90FA1}.Debug|x64.ActiveCfg = Debug|x64 + {A5B515DE-C717-4C51-87E8-3DFF21B90FA1}.Debug|x64.Build.0 = Debug|x64 + {A5B515DE-C717-4C51-87E8-3DFF21B90FA1}.Debug|x86.ActiveCfg = Debug|Win32 + {A5B515DE-C717-4C51-87E8-3DFF21B90FA1}.Debug|x86.Build.0 = Debug|Win32 + {A5B515DE-C717-4C51-87E8-3DFF21B90FA1}.Release|x64.ActiveCfg = Release|x64 + {A5B515DE-C717-4C51-87E8-3DFF21B90FA1}.Release|x64.Build.0 = Release|x64 + {A5B515DE-C717-4C51-87E8-3DFF21B90FA1}.Release|x86.ActiveCfg = Release|Win32 + {A5B515DE-C717-4C51-87E8-3DFF21B90FA1}.Release|x86.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/VisualStudio/SRPXX-Tests.vcxproj b/VisualStudio/SRPXX-Tests.vcxproj new file mode 100755 index 0000000..4915fce --- /dev/null +++ b/VisualStudio/SRPXX-Tests.vcxproj @@ -0,0 +1,192 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {A5B515DE-C717-4C51-87E8-3DFF21B90FA1} + SRPXXTests + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)Build\32\$(Configuration)\ + $(SolutionDir)Build\32\$(Configuration)\Temp\$(ProjectName)\ + + + $(SolutionDir)Build\32\$(Configuration)\ + $(SolutionDir)Build\32\$(Configuration)\Temp\$(ProjectName)\ + + + $(SolutionDir)Build\64\$(Configuration)\ + $(SolutionDir)Build\64\$(Configuration)\Temp\$(ProjectName)\ + + + $(SolutionDir)Build\64\$(Configuration)\ + $(SolutionDir)Build\64\$(Configuration)\Temp\$(ProjectName)\ + + + + Level3 + true + WIN32;DEBUG;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + .;..\SRPXX\include;..\Submodules\XSTest\XSTest\include;%(AdditionalIncludeDirectories) + true + + + Console + true + crypto-v143.lib;ssl-v143.lib;decrepit-v143.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) + $(SolutionDir)Submodules\BoringSSL\lib\Windows\32\Debug + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + .;..\SRPXX\include;..\Submodules\XSTest\XSTest\include;%(AdditionalIncludeDirectories) + true + + + Console + true + true + true + crypto-v143.lib;ssl-v143.lib;decrepit-v143.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) + $(SolutionDir)Submodules\BoringSSL\lib\Windows\32\Release + + + + + Level3 + true + DEBUG;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + .;..\SRPXX\include;..\Submodules\XSTest\XSTest\include;%(AdditionalIncludeDirectories) + true + + + Console + true + crypto-v143.lib;ssl-v143.lib;decrepit-v143.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) + $(SolutionDir)Submodules\BoringSSL\lib\Windows\64\Debug + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + .;..\SRPXX\include;..\Submodules\XSTest\XSTest\include;%(AdditionalIncludeDirectories) + true + + + Console + true + true + true + crypto-v143.lib;ssl-v143.lib;decrepit-v143.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) + $(SolutionDir)Submodules\BoringSSL\lib\Windows\64\Release + + + + + {a6695da4-3581-4321-a064-7a75ef189388} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/VisualStudio/SRPXX-Tests.vcxproj.filters b/VisualStudio/SRPXX-Tests.vcxproj.filters new file mode 100755 index 0000000..f7dc69d --- /dev/null +++ b/VisualStudio/SRPXX-Tests.vcxproj.filters @@ -0,0 +1,78 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + \ No newline at end of file