C# Class Raven.Tests.RavenTest

显示文件 Open project: nhsevidence/ravendb

Public Methods

Method Description
NewDocumentStore ( ) : EmbeddableDocumentStore
NewDocumentStore ( string storageType, bool inMemory ) : EmbeddableDocumentStore
NewDocumentStore ( string storageType, bool inMemory, int allocatedMemory ) : EmbeddableDocumentStore
RavenTest ( ) : System
Timer ( System.Action action ) : double
WaitForIndexing ( EmbeddableDocumentStore store ) : void
WaitForUserToContinueTheTest ( EmbeddableDocumentStore documentStore ) : void

Protected Methods

Method Description
ClearDatabaseDirectory ( ) : void
ConfigureServer ( RavenConfiguration ravenConfiguration ) : void
GetNewServer ( bool initializeDocumentsByEntitiyName = true ) : RavenDbServer
GetNewServer ( int port, string path ) : RavenDbServer
GetNewServerWithoutAnonymousAccess ( int port, string path ) : RavenDbServer
GetPath ( string subFolderName ) : string
ModifyConfiguration ( RavenConfiguration configuration ) : void
ModifyStore ( EmbeddableDocumentStore documentStore ) : void
WaitForAllRequestsToComplete ( RavenDbServer server ) : void
WaitForUserToContinueTheTest ( ) : void

Method Details

ClearDatabaseDirectory() protected method

protected ClearDatabaseDirectory ( ) : void
return void

ConfigureServer() protected method

protected ConfigureServer ( RavenConfiguration ravenConfiguration ) : void
ravenConfiguration RavenConfiguration
return void

GetNewServer() protected method

protected GetNewServer ( bool initializeDocumentsByEntitiyName = true ) : RavenDbServer
initializeDocumentsByEntitiyName bool
return RavenDbServer

GetNewServer() protected method

protected GetNewServer ( int port, string path ) : RavenDbServer
port int
path string
return RavenDbServer

GetNewServerWithoutAnonymousAccess() protected method

protected GetNewServerWithoutAnonymousAccess ( int port, string path ) : RavenDbServer
port int
path string
return RavenDbServer

GetPath() protected method

protected GetPath ( string subFolderName ) : string
subFolderName string
return string

ModifyConfiguration() protected method

protected ModifyConfiguration ( RavenConfiguration configuration ) : void
configuration RavenConfiguration
return void

ModifyStore() protected method

protected ModifyStore ( EmbeddableDocumentStore documentStore ) : void
documentStore EmbeddableDocumentStore
return void

NewDocumentStore() public method

public NewDocumentStore ( ) : EmbeddableDocumentStore
return EmbeddableDocumentStore

NewDocumentStore() public method

public NewDocumentStore ( string storageType, bool inMemory ) : EmbeddableDocumentStore
storageType string
inMemory bool
return EmbeddableDocumentStore

NewDocumentStore() public method

public NewDocumentStore ( string storageType, bool inMemory, int allocatedMemory ) : EmbeddableDocumentStore
storageType string
inMemory bool
allocatedMemory int
return EmbeddableDocumentStore

RavenTest() public method

public RavenTest ( ) : System
return System

Timer() public method

public Timer ( System.Action action ) : double
action System.Action
return double

WaitForAllRequestsToComplete() protected method

protected WaitForAllRequestsToComplete ( RavenDbServer server ) : void
server RavenDbServer
return void

WaitForIndexing() public method

public WaitForIndexing ( EmbeddableDocumentStore store ) : void
store EmbeddableDocumentStore
return void

WaitForUserToContinueTheTest() protected method

protected WaitForUserToContinueTheTest ( ) : void
return void

WaitForUserToContinueTheTest() static public method

static public WaitForUserToContinueTheTest ( EmbeddableDocumentStore documentStore ) : void
documentStore EmbeddableDocumentStore
return void