|
leveldb
|
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 | ||
| ) |
Definition at line 34 of file testutil.cc.


| std::string leveldb::test::RandomKey | ( | Random * | rnd, |
| int | len | ||
| ) |
Definition at line 20 of file testutil.cc.


| int leveldb::test::RandomSeed | ( | ) |
Definition at line 12 of file testutil.cc.


| bool leveldb::test::RegisterTest | ( | const char * | base, |
| const char * | name, | ||
| void(*)() | func | ||
| ) |
Definition at line 24 of file testharness.cc.
| int leveldb::test::RunAllTests | ( | ) |
Definition at line 36 of file testharness.cc.

| std::string leveldb::test::TmpDir | ( | ) |
Definition at line 60 of file testharness.cc.


1.8.12