rippled
Loading...
Searching...
No Matches
testline.h
1#pragma once
2
3#include <test/jtx/Env.h>
4
5namespace xrpl {
6namespace test {
7namespace jtx {
8
14{
15private:
16 int line_;
17
18public:
19 explicit testline(int line) : line_(line)
20 {
21 }
22
23 void
24 operator()(Env&, JTx& jt) const;
25};
26
27#define THISLINE testline(__LINE__)
28
29} // namespace jtx
30} // namespace test
31} // namespace xrpl
A transaction testing environment.
Definition Env.h:119
Store the line number of the current test in a JTx.
Definition testline.h:14
void operator()(Env &, JTx &jt) const
Definition testline.cpp:8
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
Execution context for applying a JSON transaction.
Definition JTx.h:25