mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
refactor: Rename RIPPLE_ and RIPPLED_ definitions to XRPL_ (#5821)
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). C++ include guards are used to prevent the contents of a header file from being included multiple times in a single compilation unit. This change renames all `RIPPLE_` and `RIPPLED_` definitions, primarily include guards, to `XRPL_`. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <xrpl/basics/rocksdb.h>
|
||||
|
||||
#if RIPPLE_ROCKSDB_AVAILABLE
|
||||
#if XRPL_ROCKSDB_AVAILABLE
|
||||
#include <xrpl/basics/ByteUtilities.h>
|
||||
#include <xrpl/basics/contract.h>
|
||||
#include <xrpl/basics/safe_cast.h>
|
||||
|
||||
@@ -40,7 +40,7 @@ class io_latency_probe_test : public beast::unit_test::suite,
|
||||
using MyTimer =
|
||||
boost::asio::basic_waitable_timer<std::chrono::steady_clock>;
|
||||
|
||||
#ifdef RIPPLED_RUNNING_IN_CI
|
||||
#ifdef XRPL_RUNNING_IN_CI
|
||||
/**
|
||||
* @brief attempt to measure inaccuracy of asio waitable timers
|
||||
*
|
||||
@@ -188,7 +188,7 @@ class io_latency_probe_test : public beast::unit_test::suite,
|
||||
|
||||
size_t expected_probe_count_max = (probe_duration / interval);
|
||||
size_t expected_probe_count_min = expected_probe_count_max;
|
||||
#ifdef RIPPLED_RUNNING_IN_CI
|
||||
#ifdef XRPL_RUNNING_IN_CI
|
||||
// adjust min expected based on measurements
|
||||
// if running in CI/VM environment
|
||||
measure_asio_timers<steady_clock> tt{interval};
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_BASICNETWORK_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_BASICNETWORK_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_BASICNETWORK_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_BASICNETWORK_H_INCLUDED
|
||||
|
||||
#include <test/csf/Digraph.h>
|
||||
#include <test/csf/Scheduler.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_COLLECTOREF_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_COLLECTOREF_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_COLLECTOREF_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_COLLECTOREF_H_INCLUDED
|
||||
|
||||
#include <test/csf/SimTime.h>
|
||||
#include <test/csf/events.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_DIGRAPH_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_DIGRAPH_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_DIGRAPH_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_DIGRAPH_H_INCLUDED
|
||||
|
||||
#include <boost/container/flat_map.hpp>
|
||||
#include <boost/range/adaptor/transformed.hpp>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_HISTOGRAM_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_HISTOGRAM_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_HISTOGRAM_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_HISTOGRAM_H_INCLUDED
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_PEER_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_PEER_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_PEER_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_PEER_H_INCLUDED
|
||||
|
||||
#include <test/csf/CollectorRef.h>
|
||||
#include <test/csf/Scheduler.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_PEERGROUP_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_PEERGROUP_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_PEERGROUP_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_PEERGROUP_H_INCLUDED
|
||||
|
||||
#include <test/csf/Peer.h>
|
||||
#include <test/csf/random.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_PROPOSAL_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_PROPOSAL_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_PROPOSAL_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_PROPOSAL_H_INCLUDED
|
||||
|
||||
#include <test/csf/Tx.h>
|
||||
#include <test/csf/Validation.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_SCHEDULER_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_SCHEDULER_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_SCHEDULER_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_SCHEDULER_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/ByteUtilities.h>
|
||||
#include <xrpl/beast/clock/manual_clock.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_SIM_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_SIM_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_SIM_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_SIM_H_INCLUDED
|
||||
|
||||
#include <test/csf/BasicNetwork.h>
|
||||
#include <test/csf/CollectorRef.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_SIMTIME_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_SIMTIME_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_SIMTIME_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_SIMTIME_H_INCLUDED
|
||||
|
||||
#include <xrpl/beast/clock/manual_clock.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_UNL_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_UNL_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_UNL_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_UNL_H_INCLUDED
|
||||
|
||||
#include <test/csf/random.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_TX_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_TX_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_TX_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_TX_H_INCLUDED
|
||||
|
||||
#include <xrpl/beast/hash/hash_append.h>
|
||||
#include <xrpl/beast/hash/uhash.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_VALIDATION_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_VALIDATION_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_VALIDATION_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_VALIDATION_H_INCLUDED
|
||||
|
||||
#include <test/csf/ledgers.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_COLLECTORS_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_COLLECTORS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_COLLECTORS_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_COLLECTORS_H_INCLUDED
|
||||
|
||||
#include <test/csf/Histogram.h>
|
||||
#include <test/csf/SimTime.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_EVENTS_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_EVENTS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_EVENTS_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_EVENTS_H_INCLUDED
|
||||
|
||||
#include <test/csf/Proposal.h>
|
||||
#include <test/csf/Tx.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_LEDGERS_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_LEDGERS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_LEDGERS_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_LEDGERS_H_INCLUDED
|
||||
|
||||
#include <test/csf/Tx.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_RANDOM_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_RANDOM_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_RANDOM_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_RANDOM_H_INCLUDED
|
||||
|
||||
#include <random>
|
||||
#include <vector>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_SUBMITTERS_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_SUBMITTERS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_SUBMITTERS_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_SUBMITTERS_H_INCLUDED
|
||||
|
||||
#include <test/csf/Peer.h>
|
||||
#include <test/csf/Scheduler.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_CSF_TIMERS_H_INCLUDED
|
||||
#define RIPPLE_TEST_CSF_TIMERS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_CSF_TIMERS_H_INCLUDED
|
||||
#define XRPL_TEST_CSF_TIMERS_H_INCLUDED
|
||||
|
||||
#include <test/csf/Scheduler.h>
|
||||
#include <test/csf/SimTime.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_RPC_TESTOUTPUTSUITE_H_INCLUDED
|
||||
#define RIPPLE_RPC_TESTOUTPUTSUITE_H_INCLUDED
|
||||
#ifndef XRPL_RPC_TESTOUTPUTSUITE_H_INCLUDED
|
||||
#define XRPL_RPC_TESTOUTPUTSUITE_H_INCLUDED
|
||||
|
||||
#include <test/jtx/TestSuite.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_H_INCLUDED
|
||||
|
||||
// Convenience header that includes everything
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_AMM_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_AMM_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_AMM_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_AMM_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
@@ -463,4 +463,4 @@ ammClawback(
|
||||
} // namespace test
|
||||
} // namespace ripple
|
||||
|
||||
#endif // RIPPLE_TEST_JTX_AMM_H_INCLUDED
|
||||
#endif // XRPL_TEST_JTX_AMM_H_INCLUDED
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_AMMTEST_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_AMMTEST_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_AMMTEST_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_AMMTEST_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/amount.h>
|
||||
@@ -169,4 +169,4 @@ protected:
|
||||
} // namespace test
|
||||
} // namespace ripple
|
||||
|
||||
#endif // RIPPLE_TEST_JTX_AMMTEST_H_INCLUDED
|
||||
#endif // XRPL_TEST_JTX_AMMTEST_H_INCLUDED
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_ABSTRACTCLIENT_H_INCLUDED
|
||||
#define RIPPLE_TEST_ABSTRACTCLIENT_H_INCLUDED
|
||||
#ifndef XRPL_TEST_ABSTRACTCLIENT_H_INCLUDED
|
||||
#define XRPL_TEST_ABSTRACTCLIENT_H_INCLUDED
|
||||
|
||||
#include <xrpl/json/json_value.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_ACCOUNT_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_ACCOUNT_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_ACCOUNT_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_ACCOUNT_H_INCLUDED
|
||||
|
||||
#include <xrpl/beast/hash/uhash.h>
|
||||
#include <xrpl/protocol/KeyType.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_CAPTURELOGS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_CAPTURELOGS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_CAPTURELOGS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_CAPTURELOGS_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/Log.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_CHECKMESSAGELOGS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_CHECKMESSAGELOGS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_CHECKMESSAGELOGS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_CHECKMESSAGELOGS_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/Log.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_ENV_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_ENV_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_ENV_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_ENV_H_INCLUDED
|
||||
|
||||
#include <test/jtx/AbstractClient.h>
|
||||
#include <test/jtx/Account.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_ENV_SS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_ENV_SS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_ENV_SS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_ENV_SS_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_HTTPCLIENT_H_INCLUDED
|
||||
#define RIPPLE_TEST_HTTPCLIENT_H_INCLUDED
|
||||
#ifndef XRPL_TEST_HTTPCLIENT_H_INCLUDED
|
||||
#define XRPL_TEST_HTTPCLIENT_H_INCLUDED
|
||||
|
||||
#include <test/jtx/AbstractClient.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_JTX_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_JTX_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_JTX_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_JTX_H_INCLUDED
|
||||
|
||||
#include <test/jtx/basic_prop.h>
|
||||
#include <test/jtx/requires.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_MANUALTIMEKEEPER_H_INCLUDED
|
||||
#define RIPPLE_TEST_MANUALTIMEKEEPER_H_INCLUDED
|
||||
#ifndef XRPL_TEST_MANUALTIMEKEEPER_H_INCLUDED
|
||||
#define XRPL_TEST_MANUALTIMEKEEPER_H_INCLUDED
|
||||
|
||||
#include <xrpld/core/TimeKeeper.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_ORACLE_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_ORACLE_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_ORACLE_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_ORACLE_H_INCLUDED
|
||||
|
||||
#include <test/jtx.h>
|
||||
|
||||
@@ -206,4 +206,4 @@ public:
|
||||
} // namespace test
|
||||
} // namespace ripple
|
||||
|
||||
#endif // RIPPLE_TEST_JTX_ORACLE_H_INCLUDED
|
||||
#endif // XRPL_TEST_JTX_ORACLE_H_INCLUDED
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_LEDGER_TESTS_PATHSET_H_INCLUDED
|
||||
#define RIPPLE_LEDGER_TESTS_PATHSET_H_INCLUDED
|
||||
#ifndef XRPL_LEDGER_TESTS_PATHSET_H_INCLUDED
|
||||
#define XRPL_LEDGER_TESTS_PATHSET_H_INCLUDED
|
||||
|
||||
#include <test/jtx.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef RIPPLE_TEST_JTX_SIGNERUTILS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_SIGNERUTILS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_SIGNERUTILS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_SIGNERUTILS_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_TESTHELPERS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_TESTHELPERS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_TESTHELPERS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_TESTHELPERS_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -720,4 +720,4 @@ checkMetrics(
|
||||
} // namespace test
|
||||
} // namespace ripple
|
||||
|
||||
#endif // RIPPLE_TEST_JTX_TESTHELPERS_H_INCLUDED
|
||||
#endif // XRPL_TEST_JTX_TESTHELPERS_H_INCLUDED
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_BASICS_TESTSUITE_H_INCLUDED
|
||||
#define RIPPLE_BASICS_TESTSUITE_H_INCLUDED
|
||||
#ifndef XRPL_BASICS_TESTSUITE_H_INCLUDED
|
||||
#define XRPL_BASICS_TESTSUITE_H_INCLUDED
|
||||
|
||||
#include <xrpl/beast/unit_test.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_TRUSTED_PUBLISHER_SERVER_H_INCLUDED
|
||||
#define RIPPLE_TEST_TRUSTED_PUBLISHER_SERVER_H_INCLUDED
|
||||
#ifndef XRPL_TEST_TRUSTED_PUBLISHER_SERVER_H_INCLUDED
|
||||
#define XRPL_TEST_TRUSTED_PUBLISHER_SERVER_H_INCLUDED
|
||||
|
||||
#include <test/jtx/envconfig.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_WSCLIENT_H_INCLUDED
|
||||
#define RIPPLE_TEST_WSCLIENT_H_INCLUDED
|
||||
#ifndef XRPL_TEST_WSCLIENT_H_INCLUDED
|
||||
#define XRPL_TEST_WSCLIENT_H_INCLUDED
|
||||
|
||||
#include <test/jtx/AbstractClient.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_ACCOUNT_TXN_ID_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_ACCOUNT_TXN_ID_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_ACCOUNT_TXN_ID_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_ACCOUNT_TXN_ID_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_ACCTDELETE_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_ACCTDELETE_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_ACCTDELETE_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_ACCTDELETE_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_AMOUNT_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_AMOUNT_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_AMOUNT_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_AMOUNT_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/tags.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_ATTESTER_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_ATTESTER_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_ATTESTER_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_ATTESTER_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/Buffer.h>
|
||||
#include <xrpl/protocol/AccountID.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_BALANCE_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_BALANCE_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_BALANCE_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_BALANCE_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
#include <test/jtx/tags.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_BASIC_PROP_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_BASIC_PROP_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_BASIC_PROP_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_BASIC_PROP_H_INCLUDED
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_BATCH_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_BATCH_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_BATCH_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_BATCH_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_CHECK_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_CHECK_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_CHECK_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_CHECK_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_CREDENTIALS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_CREDENTIALS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_CREDENTIALS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_CREDENTIALS_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_DELIVERMIN_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_DELIVERMIN_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_DELIVERMIN_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_DELIVERMIN_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_DEPOSIT_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_DEPOSIT_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_DEPOSIT_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_DEPOSIT_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_DID_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_DID_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_DID_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_DID_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_DIRECTORY_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_DIRECTORY_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_DIRECTORY_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_DIRECTORY_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_ENVCONFIG_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_ENVCONFIG_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_ENVCONFIG_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_ENVCONFIG_H_INCLUDED
|
||||
|
||||
#include <xrpld/core/Config.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_ESCROW_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_ESCROW_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_ESCROW_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_ESCROW_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_FEE_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_FEE_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_FEE_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_FEE_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
#include <test/jtx/tags.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_FLAGS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_FLAGS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_FLAGS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_FLAGS_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_INVOICE_ID_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_INVOICE_ID_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_INVOICE_ID_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_INVOICE_ID_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_JSON_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_JSON_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_JSON_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_JSON_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_LAST_LEDGER_SEQUENCE_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_LAST_LEDGER_SEQUENCE_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_LAST_LEDGER_SEQUENCE_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_LAST_LEDGER_SEQUENCE_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_LEDGER_STATE_FIX_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_LEDGER_STATE_FIX_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_LEDGER_STATE_FIX_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_LEDGER_STATE_FIX_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_MEMO_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_MEMO_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_MEMO_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_MEMO_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_MPT_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_MPT_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_MPT_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_MPT_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_MULTISIGN_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_MULTISIGN_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_MULTISIGN_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_MULTISIGN_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/SignerUtils.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_NOOP_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_NOOP_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_NOOP_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_NOOP_H_INCLUDED
|
||||
|
||||
#include <test/jtx/flags.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_OFFER_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_OFFER_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_OFFER_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_OFFER_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_OWNERS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_OWNERS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_OWNERS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_OWNERS_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_PATHS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_PATHS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_PATHS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_PATHS_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_PAY_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_PAY_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_PAY_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_PAY_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/amount.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_PERMISSIONED_DOMAINS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_PERMISSIONED_DOMAINS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_PERMISSIONED_DOMAINS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_PERMISSIONED_DOMAINS_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_PROP_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_PROP_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_PROP_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_PROP_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_QUALITY_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_QUALITY_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_QUALITY_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_QUALITY_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_RATE_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_RATE_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_RATE_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_RATE_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_REGKEY_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_REGKEY_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_REGKEY_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_REGKEY_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/tags.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_REQUIRE_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_REQUIRE_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_REQUIRE_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_REQUIRE_H_INCLUDED
|
||||
|
||||
#include <test/jtx/requires.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_REQUIRES_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_REQUIRES_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_REQUIRES_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_REQUIRES_H_INCLUDED
|
||||
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_RPC_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_RPC_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_RPC_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_RPC_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_SENDMAX_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_SENDMAX_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_SENDMAX_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_SENDMAX_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_SEQ_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_SEQ_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_SEQ_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_SEQ_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
#include <test/jtx/tags.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_SIG_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_SIG_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_SIG_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_SIG_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_TAG_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_TAG_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_TAG_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_TAG_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_TAGS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_TAGS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_TAGS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_TAGS_H_INCLUDED
|
||||
|
||||
namespace ripple {
|
||||
namespace test {
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_TER_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_TER_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_TER_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_TER_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_TICKET_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_TICKET_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_TICKET_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_TICKET_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_NFT_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_NFT_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_NFT_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_NFT_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/Env.h>
|
||||
@@ -248,4 +248,4 @@ modify(jtx::Account const& account, uint256 const& nftokenID);
|
||||
} // namespace test
|
||||
} // namespace ripple
|
||||
|
||||
#endif // RIPPLE_TEST_JTX_NFT_H_INCLUDED
|
||||
#endif // XRPL_TEST_JTX_NFT_H_INCLUDED
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_TRUST_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_TRUST_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_TRUST_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_TRUST_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_TXFLAGS_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_TXFLAGS_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_TXFLAGS_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_TXFLAGS_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Env.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_UTILITY_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_UTILITY_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_UTILITY_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_UTILITY_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_VAULT_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_VAULT_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_VAULT_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_VAULT_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/amount.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_TEST_JTX_XCHAINBRIDGE_H_INCLUDED
|
||||
#define RIPPLE_TEST_JTX_XCHAINBRIDGE_H_INCLUDED
|
||||
#ifndef XRPL_TEST_JTX_XCHAINBRIDGE_H_INCLUDED
|
||||
#define XRPL_TEST_JTX_XCHAINBRIDGE_H_INCLUDED
|
||||
|
||||
#include <test/jtx/Account.h>
|
||||
#include <test/jtx/amount.h>
|
||||
|
||||
@@ -110,11 +110,11 @@ public:
|
||||
|
||||
testBackend("nudb", seedValue);
|
||||
|
||||
#if RIPPLE_ROCKSDB_AVAILABLE
|
||||
#if XRPL_ROCKSDB_AVAILABLE
|
||||
testBackend("rocksdb", seedValue);
|
||||
#endif
|
||||
|
||||
#ifdef RIPPLE_ENABLE_SQLITE_BACKEND_TESTS
|
||||
#ifdef XRPL_ENABLE_SQLITE_BACKEND_TESTS
|
||||
testBackend("sqlite", seedValue);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -745,7 +745,7 @@ public:
|
||||
{
|
||||
testNodeStore("nudb", true, seedValue);
|
||||
|
||||
#if RIPPLE_ROCKSDB_AVAILABLE
|
||||
#if XRPL_ROCKSDB_AVAILABLE
|
||||
testNodeStore("rocksdb", true, seedValue);
|
||||
#endif
|
||||
}
|
||||
@@ -754,11 +754,11 @@ public:
|
||||
{
|
||||
testImport("nudb", "nudb", seedValue);
|
||||
|
||||
#if RIPPLE_ROCKSDB_AVAILABLE
|
||||
#if XRPL_ROCKSDB_AVAILABLE
|
||||
testImport("rocksdb", "rocksdb", seedValue);
|
||||
#endif
|
||||
|
||||
#if RIPPLE_ENABLE_SQLITE_BACKEND_TESTS
|
||||
#if XRPL_ENABLE_SQLITE_BACKEND_TESTS
|
||||
testImport("sqlite", "sqlite", seedValue);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_NODESTORE_BASE_H_INCLUDED
|
||||
#define RIPPLE_NODESTORE_BASE_H_INCLUDED
|
||||
#ifndef XRPL_NODESTORE_BASE_H_INCLUDED
|
||||
#define XRPL_NODESTORE_BASE_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/StringUtilities.h>
|
||||
#include <xrpl/basics/random.h>
|
||||
|
||||
@@ -746,7 +746,7 @@ public:
|
||||
*/
|
||||
std::string default_args =
|
||||
"type=nudb"
|
||||
#if RIPPLE_ROCKSDB_AVAILABLE
|
||||
#if XRPL_ROCKSDB_AVAILABLE
|
||||
";type=rocksdb,open_files=2000,filter_bits=12,cache_mb=256,"
|
||||
"file_size_mb=8,file_size_mult=2"
|
||||
#endif
|
||||
|
||||
@@ -279,7 +279,7 @@ parse_args(std::string const& s)
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#if RIPPLE_ROCKSDB_AVAILABLE
|
||||
#if XRPL_ROCKSDB_AVAILABLE
|
||||
|
||||
class import_test : public beast::unit_test::suite
|
||||
{
|
||||
|
||||
@@ -36,11 +36,11 @@
|
||||
#define STL_SET_HAS_EMPLACE 0
|
||||
#endif
|
||||
|
||||
#ifndef RIPPLE_ASSETS_ENABLE_STD_HASH
|
||||
#ifndef XRPL_ASSETS_ENABLE_STD_HASH
|
||||
#if BEAST_MAC || BEAST_IOS
|
||||
#define RIPPLE_ASSETS_ENABLE_STD_HASH 0
|
||||
#define XRPL_ASSETS_ENABLE_STD_HASH 0
|
||||
#else
|
||||
#define RIPPLE_ASSETS_ENABLE_STD_HASH 1
|
||||
#define XRPL_ASSETS_ENABLE_STD_HASH 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -343,7 +343,7 @@ public:
|
||||
testcase("std::map <std::pair<Issue, Domain>, int>");
|
||||
testIssueDomainMap<std::map<std::pair<Issue, Domain>, int>>();
|
||||
|
||||
#if RIPPLE_ASSETS_ENABLE_STD_HASH
|
||||
#if XRPL_ASSETS_ENABLE_STD_HASH
|
||||
testcase("hash_map <std::pair<Issue, Domain>, int>");
|
||||
testIssueDomainMap<hash_map<std::pair<Issue, Domain>, int>>();
|
||||
|
||||
@@ -367,7 +367,7 @@ public:
|
||||
testcase("std::set <Issue>");
|
||||
testIssueSet<std::set<Issue>>();
|
||||
|
||||
#if RIPPLE_ASSETS_ENABLE_STD_HASH
|
||||
#if XRPL_ASSETS_ENABLE_STD_HASH
|
||||
testcase("std::unordered_set <Issue>");
|
||||
testIssueSet<std::unordered_set<Issue>>();
|
||||
|
||||
@@ -391,7 +391,7 @@ public:
|
||||
testcase("std::map <Issue, int>");
|
||||
testIssueMap<std::map<Issue, int>>();
|
||||
|
||||
#if RIPPLE_ASSETS_ENABLE_STD_HASH
|
||||
#if XRPL_ASSETS_ENABLE_STD_HASH
|
||||
testcase("std::unordered_map <Issue, int>");
|
||||
testIssueMap<std::unordered_map<Issue, int>>();
|
||||
|
||||
@@ -900,7 +900,7 @@ public:
|
||||
testcase("std::set <Book>");
|
||||
testBookSet<std::set<Book>>();
|
||||
|
||||
#if RIPPLE_ASSETS_ENABLE_STD_HASH
|
||||
#if XRPL_ASSETS_ENABLE_STD_HASH
|
||||
testcase("std::unordered_set <Book>");
|
||||
testBookSet<std::unordered_set<Book>>();
|
||||
|
||||
@@ -924,7 +924,7 @@ public:
|
||||
testcase("std::map <Book, int>");
|
||||
testBookMap<std::map<Book, int>>();
|
||||
|
||||
#if RIPPLE_ASSETS_ENABLE_STD_HASH
|
||||
#if XRPL_ASSETS_ENABLE_STD_HASH
|
||||
testcase("std::unordered_map <Book, int>");
|
||||
testBookMap<std::unordered_map<Book, int>>();
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLED_GRPCTESTCLIENTBASE_H
|
||||
#define RIPPLED_GRPCTESTCLIENTBASE_H
|
||||
#ifndef XRPL_GRPCTESTCLIENTBASE_H
|
||||
#define XRPL_GRPCTESTCLIENTBASE_H
|
||||
|
||||
#include <test/jtx/envconfig.h>
|
||||
|
||||
@@ -49,4 +49,4 @@ struct GRPCTestClientBase
|
||||
|
||||
} // namespace test
|
||||
} // namespace ripple
|
||||
#endif // RIPPLED_GRPCTESTCLIENTBASE_H
|
||||
#endif // XRPL_GRPCTESTCLIENTBASE_H
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_SHAMAP_TESTS_COMMON_H_INCLUDED
|
||||
#define RIPPLE_SHAMAP_TESTS_COMMON_H_INCLUDED
|
||||
#ifndef XRPL_SHAMAP_TESTS_COMMON_H_INCLUDED
|
||||
#define XRPL_SHAMAP_TESTS_COMMON_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/chrono.h>
|
||||
#include <xrpl/nodestore/DummyScheduler.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_APP_CONSENSUS_RCLCENSORSHIPDETECTOR_H_INCLUDED
|
||||
#define RIPPLE_APP_CONSENSUS_RCLCENSORSHIPDETECTOR_H_INCLUDED
|
||||
#ifndef XRPL_APP_CONSENSUS_RCLCENSORSHIPDETECTOR_H_INCLUDED
|
||||
#define XRPL_APP_CONSENSUS_RCLCENSORSHIPDETECTOR_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/algorithm.h>
|
||||
#include <xrpl/shamap/SHAMap.h>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user