C# Класс SIL.FieldWorks.FDO.FDOTests.FdoTestBase

Base class for FDO tests that use a real FdoCache, or a fake one.
Наследование: SIL.FieldWorks.Test.TestUtils.BaseTest
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_actionHandler IActionHandler
m_internalRestart bool

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
BootstrapSystem ( IProjectIdentifier projectId, BackendBulkLoadDomain loadType, FdoSettings settings ) : SIL.FieldWorks.FDO.FdoCache
FixtureSetup ( ) : void
FixtureTeardown ( ) : void
TestSetup ( ) : void
TestTearDown ( ) : void

Описание методов

CreateCache() защищенный абстрактный метод

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
Результат SIL.FieldWorks.FDO.FdoCache

DisposeEverythingButBase() защищенный метод

protected DisposeEverythingButBase ( ) : void
Результат void

RestartCache() защищенный метод

Restart the cache.
protected RestartCache ( bool doCommit ) : void
doCommit bool 'True' to end the task and commit the changes. 'False' to skip the commit.
Результат void

SetupEverythingButBase() защищенный метод

protected SetupEverythingButBase ( ) : void
Результат void

Описание свойств

m_actionHandler защищенное свойство

protected IActionHandler m_actionHandler
Результат IActionHandler

m_internalRestart защищенное свойство

protected bool m_internalRestart
Результат bool