mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
- Shortcut on issuer match in canTransfer. - An asset can transfer if either trustline enabled rippling, so both must have it disabled for the transfer to fail with terNO_RIPPLE. - Remove unnecessary asfDefaultRipple sets in unit tests. - Add a new unit test helper class: testline, and a macro: THISLINE. When included as a parameter to Env::operator(), will include the line number of the transaction that didn't get the expected result. Works similarly to BEAST_EXPECT. I didn't do the same for the file name, because that can be deduced from the testcase name.
65 lines
1.8 KiB
C
65 lines
1.8 KiB
C
#ifndef XRPL_TEST_JTX_H_INCLUDED
|
|
#define XRPL_TEST_JTX_H_INCLUDED
|
|
|
|
// Convenience header that includes everything
|
|
|
|
#include <test/jtx/AMM.h>
|
|
#include <test/jtx/Account.h>
|
|
#include <test/jtx/Env.h>
|
|
#include <test/jtx/Env_ss.h>
|
|
#include <test/jtx/JTx.h>
|
|
#include <test/jtx/TestHelpers.h>
|
|
#include <test/jtx/account_txn_id.h>
|
|
#include <test/jtx/acctdelete.h>
|
|
#include <test/jtx/amount.h>
|
|
#include <test/jtx/balance.h>
|
|
#include <test/jtx/batch.h>
|
|
#include <test/jtx/check.h>
|
|
#include <test/jtx/credentials.h>
|
|
#include <test/jtx/delegate.h>
|
|
#include <test/jtx/delivermin.h>
|
|
#include <test/jtx/deposit.h>
|
|
#include <test/jtx/did.h>
|
|
#include <test/jtx/directory.h>
|
|
#include <test/jtx/domain.h>
|
|
#include <test/jtx/escrow.h>
|
|
#include <test/jtx/fee.h>
|
|
#include <test/jtx/flags.h>
|
|
#include <test/jtx/invoice_id.h>
|
|
#include <test/jtx/jtx_json.h>
|
|
#include <test/jtx/last_ledger_sequence.h>
|
|
#include <test/jtx/ledgerStateFix.h>
|
|
#include <test/jtx/memo.h>
|
|
#include <test/jtx/mpt.h>
|
|
#include <test/jtx/multisign.h>
|
|
#include <test/jtx/noop.h>
|
|
#include <test/jtx/offer.h>
|
|
#include <test/jtx/owners.h>
|
|
#include <test/jtx/paths.h>
|
|
#include <test/jtx/pay.h>
|
|
#include <test/jtx/permissioned_dex.h>
|
|
#include <test/jtx/permissioned_domains.h>
|
|
#include <test/jtx/prop.h>
|
|
#include <test/jtx/quality.h>
|
|
#include <test/jtx/rate.h>
|
|
#include <test/jtx/regkey.h>
|
|
#include <test/jtx/require.h>
|
|
#include <test/jtx/requires.h>
|
|
#include <test/jtx/rpc.h>
|
|
#include <test/jtx/sendmax.h>
|
|
#include <test/jtx/seq.h>
|
|
#include <test/jtx/sig.h>
|
|
#include <test/jtx/tag.h>
|
|
#include <test/jtx/tags.h>
|
|
#include <test/jtx/ter.h>
|
|
#include <test/jtx/testline.h>
|
|
#include <test/jtx/ticket.h>
|
|
#include <test/jtx/token.h>
|
|
#include <test/jtx/trust.h>
|
|
#include <test/jtx/txflags.h>
|
|
#include <test/jtx/utility.h>
|
|
|
|
#include <xrpl/json/to_string.h>
|
|
|
|
#endif
|