C# Class FoundationDB.Client.Tests.FdbTest

Base class for all FoundationDB tests
Exibir arquivo Open project: BedeGaming/foundationdb-dotnet-client Class Usage Examples

Protected Methods

Method Description
DeleteSubspace ( IFdbDatabase db, FdbSubspace subspace ) : Task
DumpSubspace ( IFdbDatabase db, FdbSubspace subspace ) : Task
GetCleanDirectory ( IFdbDatabase db ) : Task
Log ( string text ) : void
Log ( string format, object arg0 ) : void
Log ( string format, object arg0, object arg1 ) : void
OpenTestDatabaseAsync ( ) : Task

Connect to the local test database

OpenTestPartitionAsync ( ) : Task

Connect to the local test database

Private Methods

Method Description
AfterEachTest ( ) : void
BeforeEachTest ( ) : void
SetupCancellation ( ) : void

Method Details

DeleteSubspace() protected method

protected DeleteSubspace ( IFdbDatabase db, FdbSubspace subspace ) : Task
db IFdbDatabase
subspace FdbSubspace
return Task

DumpSubspace() protected method

protected DumpSubspace ( IFdbDatabase db, FdbSubspace subspace ) : Task
db IFdbDatabase
subspace FdbSubspace
return Task

GetCleanDirectory() protected method

protected GetCleanDirectory ( IFdbDatabase db ) : Task
db IFdbDatabase
return Task

Log() protected method

protected Log ( string text ) : void
text string
return void

Log() protected method

protected Log ( string format, object arg0 ) : void
format string
arg0 object
return void

Log() protected method

protected Log ( string format, object arg0, object arg1 ) : void
format string
arg0 object
arg1 object
return void

OpenTestDatabaseAsync() protected method

Connect to the local test database
protected OpenTestDatabaseAsync ( ) : Task
return Task

OpenTestPartitionAsync() protected method

Connect to the local test database
protected OpenTestPartitionAsync ( ) : Task
return Task