Bitcoin
Namespaces | Classes | Functions
leveldb::test Namespace Reference

Namespaces

 anonymous_namespace{testharness.cc}
 

Classes

class  ErrorEnv
 
class  Tester
 

Functions

bool RegisterTest (const char *base, const char *name, void(*func)())
 
int RunAllTests ()
 
std::string TmpDir ()
 
int RandomSeed ()
 
Slice RandomString (Random *rnd, int len, std::string *dst)
 
std::string RandomKey (Random *rnd, int len)
 
Slice CompressibleString (Random *rnd, double compressed_fraction, size_t len, std::string *dst)
 

Function Documentation

◆ CompressibleString()

Slice leveldb::test::CompressibleString ( Random rnd,
double  compressed_fraction,
size_t  len,
std::string *  dst 
)

◆ RandomKey()

std::string leveldb::test::RandomKey ( Random rnd,
int  len 
)

◆ RandomSeed()

int leveldb::test::RandomSeed ( )

◆ RandomString()

Slice leveldb::test::RandomString ( Random rnd,
int  len,
std::string *  dst 
)

◆ RegisterTest()

bool leveldb::test::RegisterTest ( const char *  base,
const char *  name,
void(*)()  func 
)

◆ RunAllTests()

int leveldb::test::RunAllTests ( )

◆ TmpDir()

std::string leveldb::test::TmpDir ( )