leveldb
Classes | Namespaces | Functions
dbformat_test.cc File Reference
#include "db/dbformat.h"
#include "util/logging.h"
#include "util/testharness.h"
Include dependency graph for dbformat_test.cc:

Go to the source code of this file.

Classes

class  leveldb::FormatTest
 

Namespaces

 leveldb
 

Functions

static std::string leveldb::IKey (const std::string &user_key, uint64_t seq, ValueType vt)
 
static std::string leveldb::Shorten (const std::string &s, const std::string &l)
 
static std::string leveldb::ShortSuccessor (const std::string &s)
 
static void leveldb::TestKey (const std::string &key, uint64_t seq, ValueType vt)
 
 leveldb::TEST (FormatTest, InternalKey_EncodeDecode)
 
 leveldb::TEST (FormatTest, InternalKeyShortSeparator)
 
 leveldb::TEST (FormatTest, InternalKeyShortestSuccessor)
 
int main (int argc, char **argv)
 

Class Documentation

§ leveldb::FormatTest

class leveldb::FormatTest

Definition at line 47 of file dbformat_test.cc.

Function Documentation

§ main()

int main ( int  argc,
char **  argv 
)

Definition at line 110 of file dbformat_test.cc.

110  {
112 }
int RunAllTests()
Definition: testharness.cc:36
Here is the call graph for this function: