mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Add AsioTests
This commit is contained in:
@@ -780,7 +780,18 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\modules\ripple_basio\ripple_basio.cpp" />
|
||||
<ClCompile Include="..\..\modules\ripple_basio\ripple_basio.cpp">
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level4</WarningLevel>
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Level4</WarningLevel>
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Level4</WarningLevel>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\modules\ripple_basio\tests\ripple_AsioTests.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\modules\ripple_client\ripple_client.cpp" />
|
||||
<ClCompile Include="..\..\modules\ripple_core\functional\ripple_Config.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
|
||||
@@ -160,6 +160,9 @@
|
||||
<Filter Include="[2] Build">
|
||||
<UniqueIdentifier>{c69b07a2-44e5-4b06-99a9-81f5d137ea15}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="[1] Ripple\ripple_basio\tests">
|
||||
<UniqueIdentifier>{271e2469-a2e6-40c6-acc9-aa75cd6e59c3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\Subtrees\sqlite\sqlite3.c">
|
||||
@@ -885,6 +888,9 @@
|
||||
<ClCompile Include="..\..\modules\ripple_app\main\ripple_RippleMain.cpp">
|
||||
<Filter>[1] Ripple\ripple_app\main</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\modules\ripple_basio\tests\ripple_AsioTests.cpp">
|
||||
<Filter>[1] Ripple\ripple_basio\tests</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\Subtrees\sqlite\sqlite3.h">
|
||||
|
||||
@@ -7,18 +7,13 @@ REMINDER: KEEP CHANGE LOG UP TO DATE
|
||||
Vinnie's List: Changes day to day, descending priority
|
||||
(Items marked '*' can be handled by others.)
|
||||
|
||||
- Emergency implement PROXY protcol
|
||||
- Get rid of boost::filesystem
|
||||
- Unit tests for boost::asio wrappers
|
||||
- Socket implementation for PROXY protocol
|
||||
- Socket that supports multiple protcols
|
||||
- Review boost::asio wrappers and consolidation of network code in ripple_net
|
||||
- Deeply create directories specified in config settings
|
||||
- Finish unit tests and code for Validators
|
||||
* Document the command line options for the beast unit test framework
|
||||
- Review boost::asio wrappers and consolidation of network code in ripple_net
|
||||
- Refactor Section code into ConfigFile
|
||||
- Improved Mutex to track deadlocks
|
||||
- Work on KeyvaDB
|
||||
- Allow skipped/disabled unit tests and reporting.
|
||||
- Supress useless gcc warnings
|
||||
http://stackoverflow.com/questions/3378560/how-to-disable-gcc-warnings-for-a-few-lines-of-code
|
||||
|
||||
David Features:
|
||||
- override config items from command line
|
||||
@@ -26,6 +21,21 @@ David Features:
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
- Refactor Section code into ConfigFile
|
||||
|
||||
- Improved Mutex to track deadlocks
|
||||
|
||||
- Work on KeyvaDB
|
||||
|
||||
- Allow skipped/disabled unit tests and reporting.
|
||||
|
||||
- Supress useless gcc warnings
|
||||
http://stackoverflow.com/questions/3378560/how-to-disable-gcc-warnings-for-a-few-lines-of-code
|
||||
|
||||
- Get rid of boost::filesystem
|
||||
|
||||
- Make some fatal_assert macro that calls FatalError
|
||||
|
||||
- What the heck is up with site_scons/site_tools/protoc.py?
|
||||
|
||||
- Figure out the right behavior of ProtectedCall
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "BeastConfig.h"
|
||||
|
||||
#include "beast/modules/beast_basics/beast_basics.h"
|
||||
|
||||
#include "ripple_basio.h"
|
||||
|
||||
#include "ripple_basio_impl.h"
|
||||
@@ -24,4 +26,16 @@ namespace ripple
|
||||
#include "boost/ripple_IoService.cpp"
|
||||
#include "boost/ripple_SslContext.cpp"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable: 4100)
|
||||
#pragma warning (disable: 4127) // conditional expression is constant
|
||||
#endif
|
||||
|
||||
#include "tests/ripple_AsioTests.cpp"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (pop)
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
3252
modules/ripple_basio/tests/ripple_AsioTests.cpp
Normal file
3252
modules/ripple_basio/tests/ripple_AsioTests.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user