rippled
Classes | Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | List of all members
ripple::PerfLog_test Class Reference
Inheritance diagram for ripple::PerfLog_test:
Inheritance graph
[legend]
Collaboration diagram for ripple::PerfLog_test:
Collaboration graph
[legend]

Classes

struct  Cur
 
struct  Fixture
 

Public Member Functions

void testFileCreation ()
 
void testRPC (WithFile withFile)
 
void testJobs (WithFile withFile)
 
void testInvalidID (WithFile withFile)
 
void testRotate (WithFile withFile)
 
void run () override
 

Private Types

enum  WithFile : bool { WithFile::no = false, WithFile::yes = true }
 
using path = boost::filesystem::path
 

Static Private Member Functions

static std::uint64_t jsonToUint64 (Json::Value const &jsonUintAsString)
 
static std::vector< CurgetSortedCurrent (Json::Value const &currentJson)
 

Private Attributes

test::jtx::Env env_
 
beast::Journal j_ {env_.app().journal("PerfLog_test")}
 

Detailed Description

Definition at line 40 of file PerfLog_test.cpp.

Member Typedef Documentation

◆ path

using ripple::PerfLog_test::path = boost::filesystem::path
private

Definition at line 44 of file PerfLog_test.cpp.

Member Enumeration Documentation

◆ WithFile

enum ripple::PerfLog_test::WithFile : bool
strongprivate
Enumerator
no 
yes 

Definition at line 42 of file PerfLog_test.cpp.

Member Function Documentation

◆ jsonToUint64()

static std::uint64_t ripple::PerfLog_test::jsonToUint64 ( Json::Value const &  jsonUintAsString)
staticprivate

Definition at line 146 of file PerfLog_test.cpp.

◆ getSortedCurrent()

static std::vector<Cur> ripple::PerfLog_test::getSortedCurrent ( Json::Value const &  currentJson)
staticprivate

Definition at line 168 of file PerfLog_test.cpp.

◆ testFileCreation()

void ripple::PerfLog_test::testFileCreation ( )

Definition at line 195 of file PerfLog_test.cpp.

◆ testRPC()

void ripple::PerfLog_test::testRPC ( WithFile  withFile)

Definition at line 302 of file PerfLog_test.cpp.

◆ testJobs()

void ripple::PerfLog_test::testJobs ( WithFile  withFile)

Definition at line 505 of file PerfLog_test.cpp.

◆ testInvalidID()

void ripple::PerfLog_test::testInvalidID ( WithFile  withFile)

Definition at line 850 of file PerfLog_test.cpp.

◆ testRotate()

void ripple::PerfLog_test::testRotate ( WithFile  withFile)

Definition at line 991 of file PerfLog_test.cpp.

◆ run()

void ripple::PerfLog_test::run ( )
override

Definition at line 1047 of file PerfLog_test.cpp.

Member Data Documentation

◆ env_

test::jtx::Env ripple::PerfLog_test::env_
private
Initial value:

Definition at line 48 of file PerfLog_test.cpp.

◆ j_

beast::Journal ripple::PerfLog_test::j_ {env_.app().journal("PerfLog_test")}
private

Definition at line 53 of file PerfLog_test.cpp.

beast::severities::kDisabled
@ kDisabled
Definition: Journal.h:41
ripple::test::jtx::envconfig
std::unique_ptr< Config > envconfig()
creates and initializes a default configuration for jtx::Env
Definition: envconfig.h:49