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

Public Member Functions

 Manifest_test ()
 
 ~Manifest_test ()
 
std::string makeManifestString (PublicKey const &pk, SecretKey const &sk, PublicKey const &spk, SecretKey const &ssk, int seq)
 
std::string makeRevocationString (SecretKey const &sk, KeyType type, bool invalidSig=false)
 
Manifest makeRevocation (SecretKey const &sk, KeyType type, bool invalidSig=false)
 
Manifest makeManifest (SecretKey const &sk, KeyType type, SecretKey const &ssk, KeyType stype, int seq, bool invalidSig=false)
 
Manifest clone (Manifest const &m)
 
void testLoadStore (ManifestCache &m)
 
void testGetSignature ()
 
void testGetKeys ()
 
void testValidatorToken ()
 
void testManifestVersioning ()
 
void testManifestDeserialization ()
 
void testManifestDomainNames ()
 
void run () override
 

Static Private Member Functions

static PublicKey randomNode ()
 
static PublicKey randomMasterKey ()
 
static void cleanupDatabaseDir (boost::filesystem::path const &dbPath)
 
static void setupDatabaseDir (boost::filesystem::path const &dbPath)
 
static boost::filesystem::path getDatabasePath ()
 

Detailed Description

Definition at line 38 of file Manifest_test.cpp.

Constructor & Destructor Documentation

◆ Manifest_test()

ripple::test::Manifest_test::Manifest_test ( )

Definition at line 86 of file Manifest_test.cpp.

◆ ~Manifest_test()

ripple::test::Manifest_test::~Manifest_test ( )

Definition at line 96 of file Manifest_test.cpp.

Member Function Documentation

◆ randomNode()

static PublicKey ripple::test::Manifest_test::randomNode ( )
staticprivate

Definition at line 42 of file Manifest_test.cpp.

◆ randomMasterKey()

static PublicKey ripple::test::Manifest_test::randomMasterKey ( )
staticprivate

Definition at line 48 of file Manifest_test.cpp.

◆ cleanupDatabaseDir()

static void ripple::test::Manifest_test::cleanupDatabaseDir ( boost::filesystem::path const &  dbPath)
staticprivate

Definition at line 54 of file Manifest_test.cpp.

◆ setupDatabaseDir()

static void ripple::test::Manifest_test::setupDatabaseDir ( boost::filesystem::path const &  dbPath)
staticprivate

Definition at line 63 of file Manifest_test.cpp.

◆ getDatabasePath()

static boost::filesystem::path ripple::test::Manifest_test::getDatabasePath ( )
staticprivate

Definition at line 80 of file Manifest_test.cpp.

◆ makeManifestString()

std::string ripple::test::Manifest_test::makeManifestString ( PublicKey const &  pk,
SecretKey const &  sk,
PublicKey const &  spk,
SecretKey const &  ssk,
int  seq 
)

Definition at line 108 of file Manifest_test.cpp.

◆ makeRevocationString()

std::string ripple::test::Manifest_test::makeRevocationString ( SecretKey const &  sk,
KeyType  type,
bool  invalidSig = false 
)

Definition at line 136 of file Manifest_test.cpp.

◆ makeRevocation()

Manifest ripple::test::Manifest_test::makeRevocation ( SecretKey const &  sk,
KeyType  type,
bool  invalidSig = false 
)

Definition at line 165 of file Manifest_test.cpp.

◆ makeManifest()

Manifest ripple::test::Manifest_test::makeManifest ( SecretKey const &  sk,
KeyType  type,
SecretKey const &  ssk,
KeyType  stype,
int  seq,
bool  invalidSig = false 
)

Definition at line 196 of file Manifest_test.cpp.

◆ clone()

Manifest ripple::test::Manifest_test::clone ( Manifest const &  m)

Definition at line 239 of file Manifest_test.cpp.

◆ testLoadStore()

void ripple::test::Manifest_test::testLoadStore ( ManifestCache m)

Definition at line 251 of file Manifest_test.cpp.

◆ testGetSignature()

void ripple::test::Manifest_test::testGetSignature ( )

Definition at line 430 of file Manifest_test.cpp.

◆ testGetKeys()

void ripple::test::Manifest_test::testGetKeys ( )

Definition at line 454 of file Manifest_test.cpp.

◆ testValidatorToken()

void ripple::test::Manifest_test::testValidatorToken ( )

Definition at line 513 of file Manifest_test.cpp.

◆ testManifestVersioning()

void ripple::test::Manifest_test::testManifestVersioning ( )

Definition at line 566 of file Manifest_test.cpp.

◆ testManifestDeserialization()

void ripple::test::Manifest_test::testManifestDeserialization ( )

Definition at line 608 of file Manifest_test.cpp.

◆ testManifestDomainNames()

void ripple::test::Manifest_test::testManifestDomainNames ( )

Definition at line 895 of file Manifest_test.cpp.

◆ run()

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

Definition at line 981 of file Manifest_test.cpp.