mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +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:
@@ -103,9 +103,10 @@
|
||||
#include <ripple/rpc/impl/ParseAccountIds.cpp>
|
||||
#include <ripple/rpc/impl/TransactionSign.cpp>
|
||||
|
||||
#include <ripple/rpc/impl/Coroutine.test.cpp>
|
||||
#include <ripple/rpc/impl/JsonObject.test.cpp>
|
||||
#include <ripple/rpc/impl/JsonWriter.test.cpp>
|
||||
#include <ripple/rpc/impl/Status.test.cpp>
|
||||
#include <ripple/rpc/impl/WriteJson.test.cpp>
|
||||
#include <ripple/rpc/impl/Yield.test.cpp>
|
||||
#include <ripple/rpc/tests/Coroutine.test.cpp>
|
||||
#include <ripple/rpc/tests/JsonObject.test.cpp>
|
||||
#include <ripple/rpc/tests/JSONRPC.test.cpp>
|
||||
#include <ripple/rpc/tests/JsonWriter.test.cpp>
|
||||
#include <ripple/rpc/tests/Status.test.cpp>
|
||||
#include <ripple/rpc/tests/WriteJson.test.cpp>
|
||||
#include <ripple/rpc/tests/Yield.test.cpp>
|
||||
|
||||
Reference in New Issue
Block a user