C# 클래스 SIL.FieldWorks.Common.FwUtils.DummyFwRegistryHelper

Alternative implementation for unit tests
상속: IFwRegistryHelper
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
DeleteAllSubTreesIfPresent ( ) : void

Removes all SubTrees from registry, for test SetUp or Teardown

Paratext7orLaterInstalled ( ) : bool

ParatextSettingsDirectory ( ) : string

ParatextSettingsDirectoryExists ( ) : bool

SetupVersion7ProjectSharedSetting ( ) : RegistryKey

For testing key migration on upgrade.

SetupVersion7ProjectSharedSettingLocation ( ) : RegistryKey

For testing key migration on upgrade.

SetupVersion7Settings ( ) : RegistryKey

For testing the upgrade of user registry keys from FW7 to FW8

SetupVersion8Settings ( ) : RegistryKey

For testing upgrade of user settings where some version 8 keys already exist.

비공개 메소드들

메소드 설명
DeleteRegistrySubkeyTreeIfPresent ( RegistryKey key, string subKeyName ) : void
GetTestKey ( string keyName ) : RegistryKey

메소드 상세

DeleteAllSubTreesIfPresent() 공개 메소드

Removes all SubTrees from registry, for test SetUp or Teardown
public DeleteAllSubTreesIfPresent ( ) : void
리턴 void

Paratext7orLaterInstalled() 공개 메소드

public Paratext7orLaterInstalled ( ) : bool
리턴 bool

ParatextSettingsDirectory() 공개 메소드

public ParatextSettingsDirectory ( ) : string
리턴 string

ParatextSettingsDirectoryExists() 공개 메소드

public ParatextSettingsDirectoryExists ( ) : bool
리턴 bool

SetupVersion7ProjectSharedSetting() 공개 메소드

For testing key migration on upgrade.
public SetupVersion7ProjectSharedSetting ( ) : RegistryKey
리턴 Microsoft.Win32.RegistryKey

SetupVersion7ProjectSharedSettingLocation() 공개 메소드

For testing key migration on upgrade.
public SetupVersion7ProjectSharedSettingLocation ( ) : RegistryKey
리턴 Microsoft.Win32.RegistryKey

SetupVersion7Settings() 공개 메소드

For testing the upgrade of user registry keys from FW7 to FW8
public SetupVersion7Settings ( ) : RegistryKey
리턴 Microsoft.Win32.RegistryKey

SetupVersion8Settings() 공개 메소드

For testing upgrade of user settings where some version 8 keys already exist.
public SetupVersion8Settings ( ) : RegistryKey
리턴 Microsoft.Win32.RegistryKey