public VaultVersionChecker(IHistoryParser historyParser, ProcessExecutor executor, EForcedVaultVersion forceVersion) { _forcedVaultVersion = forceVersion; switch ( forceVersion ) { case EForcedVaultVersion.Vault3: _vaultSourceControl = new Vault3(this, historyParser, executor); break; case EForcedVaultVersion.Vault317: _vaultSourceControl = new Vault317(this, historyParser, executor); break; default: Debug.Fail("You have to force a version of Vault from the unit tests."); break; } }
public VaultVersionChecker(IHistoryParser historyParser, ProcessExecutor executor, EForcedVaultVersion forceVersion) { _forcedVaultVersion = forceVersion; switch (forceVersion) { case EForcedVaultVersion.Vault3: _vaultSourceControl = new Vault3(this, historyParser, executor); break; case EForcedVaultVersion.Vault317: _vaultSourceControl = new Vault317(this, historyParser, executor); break; default: Debug.Fail("You have to force a version of Vault from the unit tests."); break; } }