Bitcoin
Classes | Namespaces | Functions
testutil.h File Reference
#include "leveldb/env.h"
#include "leveldb/slice.h"
#include "util/random.h"

Go to the source code of this file.

Classes

class  leveldb::test::ErrorEnv
 

Namespaces

 leveldb
 
 leveldb::test
 

Functions

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