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

Classes

struct  DownloadCompleter
 
struct  Downloader
 

Public Member Functions

void run () override
 

Private Member Functions

std::shared_ptr< TrustedPublisherServercreateServer (jtx::Env &env, bool ssl=true)
 
void reportFailure (Downloader const &dl, char const *file, int line)
 
void testDownload (bool verify)
 
void testFailures ()
 

Private Attributes

DownloadCompleter cb
 

Detailed Description

Definition at line 33 of file DatabaseDownloader_test.cpp.

Member Function Documentation

◆ createServer()

std::shared_ptr<TrustedPublisherServer> ripple::test::DatabaseDownloader_test::createServer ( jtx::Env env,
bool  ssl = true 
)
private

Definition at line 36 of file DatabaseDownloader_test.cpp.

◆ reportFailure()

void ripple::test::DatabaseDownloader_test::reportFailure ( Downloader const &  dl,
char const *  file,
int  line 
)
private

Definition at line 113 of file DatabaseDownloader_test.cpp.

◆ testDownload()

void ripple::test::DatabaseDownloader_test::testDownload ( bool  verify)
private

Definition at line 128 of file DatabaseDownloader_test.cpp.

◆ testFailures()

void ripple::test::DatabaseDownloader_test::testFailures ( )
private

Definition at line 179 of file DatabaseDownloader_test.cpp.

◆ run()

void ripple::test::DatabaseDownloader_test::run ( )
override

Definition at line 296 of file DatabaseDownloader_test.cpp.

Member Data Documentation

◆ cb

DownloadCompleter ripple::test::DatabaseDownloader_test::cb
private

Definition at line 77 of file DatabaseDownloader_test.cpp.