C# Class SIL.FieldWorks.FDO.CoreTests.PersistingLayerTests.MockXMLBackendProvider

Minimal XMLBackendProvider for testing the loading of an xml file.
Inheritance: SIL.FieldWorks.FDO.Infrastructure.Impl.XMLBackendProvider
Datei anzeigen Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
MockXMLBackendProvider ( FdoCache cache, string projName ) : System

Create a minimal XMLBackendProvider for testing the loading of an xml file.

Startup ( ) : void
StartupExtant ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
StartupInternalWithDataMigrationIfNeeded ( IThreadedProgress progressDlg ) : void

Private Methods

Method Description
ReportDuplicateGuidsIfTheyExist ( ) : void

We don't want to display any dialogs when running tests.

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

MockXMLBackendProvider() public method

Create a minimal XMLBackendProvider for testing the loading of an xml file.
public MockXMLBackendProvider ( FdoCache cache, string projName ) : System
cache FdoCache
projName string
return System

Startup() public method

public Startup ( ) : void
return void

StartupExtant() public method

public StartupExtant ( ) : void
return void

StartupInternalWithDataMigrationIfNeeded() protected method

protected StartupInternalWithDataMigrationIfNeeded ( IThreadedProgress progressDlg ) : void
progressDlg IThreadedProgress
return void