Bitcoin
|
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) |
Slice leveldb::test::CompressibleString | ( | Random * | rnd, |
double | compressed_fraction, | ||
size_t | len, | ||
std::string * | dst | ||
) |
std::string leveldb::test::RandomKey | ( | Random * | rnd, |
int | len | ||
) |
int leveldb::test::RandomSeed | ( | ) |
bool leveldb::test::RegisterTest | ( | const char * | base, |
const char * | name, | ||
void(*)() | func | ||
) |
int leveldb::test::RunAllTests | ( | ) |
std::string leveldb::test::TmpDir | ( | ) |