C# Class SIL.FieldWorks.FDO.FDOTests.FdoTestBase

Base class for FDO tests that use a real FdoCache, or a fake one.
Inheritance: SIL.FieldWorks.Test.TestUtils.BaseTest
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Свойство Type Description
m_actionHandler IActionHandler
m_internalRestart bool

Méthodes protégées

Méthode Description
CreateCache ( ) : SIL.FieldWorks.FDO.FdoCache

Called by FixtureSetup(). Subclasses must override this to create an FdoCache that is loaded with whatever data is needed.

DisposeEverythingButBase ( ) : void

RestartCache ( bool doCommit ) : void

Restart the cache.

SetupEverythingButBase ( ) : void

Private Methods

Méthode Description
BootstrapSystem ( IProjectIdentifier projectId, BackendBulkLoadDomain loadType, FdoSettings settings ) : SIL.FieldWorks.FDO.FdoCache
FixtureSetup ( ) : void
FixtureTeardown ( ) : void
TestSetup ( ) : void
TestTearDown ( ) : void

Method Details

CreateCache() protected abstract méthode

Called by FixtureSetup(). Subclasses must override this to create an FdoCache that is loaded with whatever data is needed.
protected abstract CreateCache ( ) : SIL.FieldWorks.FDO.FdoCache
Résultat SIL.FieldWorks.FDO.FdoCache

DisposeEverythingButBase() protected méthode

protected DisposeEverythingButBase ( ) : void
Résultat void

RestartCache() protected méthode

Restart the cache.
protected RestartCache ( bool doCommit ) : void
doCommit bool 'True' to end the task and commit the changes. 'False' to skip the commit.
Résultat void

SetupEverythingButBase() protected méthode

protected SetupEverythingButBase ( ) : void
Résultat void

Property Details

m_actionHandler protected_oe property

protected IActionHandler m_actionHandler
Résultat IActionHandler

m_internalRestart protected_oe property

protected bool m_internalRestart
Résultat bool