C# Class CBForest.Tests.C4Test

显示文件 Open project: buzzfeed/cbforest

Protected Properties

Property Type Description
_db C4Database*

Public Methods

Method Description
ToJSON ( C4Key key ) : string
ToJSON ( C4KeyReader r ) : string

Protected Methods

Method Description
CreateRev ( string docID, string revID, string body, bool isNew = true ) : void

Private Methods

Method Description
Log ( C4LogLevel level, C4Slice message ) : void
SetUp ( ) : void
TearDown ( ) : void

Method Details

CreateRev() protected method

protected CreateRev ( string docID, string revID, string body, bool isNew = true ) : void
docID string
revID string
body string
isNew bool
return void

ToJSON() public method

public ToJSON ( C4Key key ) : string
key C4Key
return string

ToJSON() public method

public ToJSON ( C4KeyReader r ) : string
r C4KeyReader
return string

Property Details

_db protected_oe property

protected C4Database* _db
return C4Database*