Storage Engine API
btree_test_help.h File Reference

Go to the source code of this file.

Classes

class  mongo::TestHeadManager
 Simple head manager, which performs no validity checking or persistence. More...
 
struct  mongo::BtreeLogicTestHelper< OnDiskFormat >
 This structure encapsulates a Btree and all the infrastructure needed by it (head manager, record store and a valid disk location to use by the tests). More...
 
class  mongo::ArtificialTreeBuilder< OnDiskFormat >
 Tool to construct custom tree shapes for tests. More...
 

Namespaces

 mongo
 Copyright (C) 2014 MongoDB Inc.
 

Functions

string mongo::bigNumString (long long n, int len)
 Generates a string of the specified length containing repeated concatenation of the hexadecimal representation of the input value. More...
 
BSONObj mongo::simpleKey (char c, int n=1)
 Generates key on a field 'a', with the specified number of repetitions of the character. More...