mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Normalize files containing unit test code:
Source files are split to place all unit test code into translation
units ending in .test.cpp with no other business logic in the same file,
and in directories named "test".
A new target is added to the SConstruct, invoked by:
scons count
This prints the total number of source code lines occupied by unit tests,
in rippled specific code and excluding library subtrees.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include <ripple/nodestore/impl/DecodedBlob.h>
|
||||
#include <ripple/nodestore/impl/EncodedBlob.h>
|
||||
#include <ripple/nodestore/impl/BatchWriter.h>
|
||||
|
||||
#include <ripple/nodestore/backend/HyperDBFactory.h>
|
||||
#include <ripple/nodestore/backend/HyperDBFactory.cpp>
|
||||
#include <ripple/nodestore/backend/LevelDBFactory.h>
|
||||
@@ -63,8 +64,7 @@
|
||||
#include <ripple/nodestore/impl/Scheduler.cpp>
|
||||
#include <ripple/nodestore/impl/Task.cpp>
|
||||
|
||||
#include <ripple/nodestore/tests/TestBase.h>
|
||||
#include <ripple/nodestore/tests/BackendTests.cpp>
|
||||
#include <ripple/nodestore/tests/BasicTests.cpp>
|
||||
#include <ripple/nodestore/tests/DatabaseTests.cpp>
|
||||
#include <ripple/nodestore/tests/TimingTests.cpp>
|
||||
#include <ripple/nodestore/tests/Backend.test.cpp>
|
||||
#include <ripple/nodestore/tests/Basics.test.cpp>
|
||||
#include <ripple/nodestore/tests/Database.test.cpp>
|
||||
#include <ripple/nodestore/tests/Timing.test.cpp>
|
||||
|
||||
Reference in New Issue
Block a user