mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
API for improved Unit Testing (RIPD-432):
* Added new test APIs allowing easy ways to create ledgers, apply transactions to them, close and advance them. * Moved Ledger tests from Ledger.cpp to Ledger.test.cpp. * Changed several TransactionEngine log priorities from lsINFO to lsDEBUG to reduce unnecessary verbosity in the log messages while running these tests. * Moved LedgerConsensus:applyTransactions from a private member function to a free function so that it could be accessed externally, and without having to reference a LedgerConsensus object. This was done to facilitate the new testing API.
This commit is contained in:
committed by
Nik Bougalis
parent
c62ccf4870
commit
eafa6f960f
@@ -22,6 +22,7 @@
|
||||
#include <ripple/unity/app.h>
|
||||
|
||||
#include <ripple/app/ledger/Ledger.cpp>
|
||||
#include <ripple/app/ledger/Ledger.test.cpp>
|
||||
#include <ripple/app/shamap/SHAMapDelta.cpp>
|
||||
#include <ripple/app/shamap/SHAMapNodeID.cpp>
|
||||
#include <ripple/app/shamap/SHAMapTreeNode.cpp>
|
||||
|
||||
Reference in New Issue
Block a user