mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Exercise debugLog writes in jtx unit tests (RIPD-1393)
This commit is contained in:
committed by
Edward Hennis
parent
f5af8b03de
commit
71b42dcec5
@@ -24,6 +24,8 @@
|
||||
#include <ripple/json/json_reader.h>
|
||||
#include <ripple/json/to_string.h>
|
||||
#include <ripple/beast/unit_test.h>
|
||||
#include <test/jtx.h>
|
||||
|
||||
#include <memory>
|
||||
#include <type_traits>
|
||||
|
||||
@@ -501,6 +503,9 @@ public:
|
||||
void
|
||||
run()
|
||||
{
|
||||
// Instantiate a jtx::Env so debugLog writes are exercised.
|
||||
test::jtx::Env env (*this);
|
||||
|
||||
testFields();
|
||||
testSerialization();
|
||||
testParseJSONArray();
|
||||
|
||||
Reference in New Issue
Block a user