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:
@@ -28,7 +28,6 @@
|
||||
#include <ripple/protocol/impl/ErrorCodes.cpp>
|
||||
#include <ripple/protocol/impl/HashPrefix.cpp>
|
||||
#include <ripple/protocol/impl/Indexes.cpp>
|
||||
#include <ripple/protocol/impl/Issue.cpp>
|
||||
#include <ripple/protocol/impl/LedgerFormats.cpp>
|
||||
#include <ripple/protocol/impl/RippleAddress.cpp>
|
||||
#include <ripple/protocol/impl/Serializer.cpp>
|
||||
@@ -53,4 +52,10 @@
|
||||
#include <ripple/protocol/impl/STValidation.cpp>
|
||||
#include <ripple/protocol/impl/STVector256.cpp>
|
||||
|
||||
#include <ripple/protocol/tests/BuildInfo.test.cpp>
|
||||
#include <ripple/protocol/tests/Issue.test.cpp>
|
||||
#include <ripple/protocol/tests/RippleAddress.test.cpp>
|
||||
#include <ripple/protocol/tests/Serializer.test.cpp>
|
||||
#include <ripple/protocol/tests/STAmount.test.cpp>
|
||||
#include <ripple/protocol/tests/STObject.test.cpp>
|
||||
#include <ripple/protocol/tests/STTx.test.cpp>
|
||||
|
||||
Reference in New Issue
Block a user