use of jetbrains.buildServer.buildTriggers.vcs.git.agent.PluginConfigImpl in project teamcity-git by JetBrains.
the class AgentConfigPluginTest method test_negative_idle_timeout.
public void test_negative_idle_timeout() throws VcsException {
myBuildSharedConfigParameters.put("teamcity.git.idle.timeout.seconds", "-60");
PluginConfigImpl config = getPluginConfig();
assertEquals(PluginConfig.DEFAULT_IDLE_TIMEOUT, config.getIdleTimeoutSeconds());
}
use of jetbrains.buildServer.buildTriggers.vcs.git.agent.PluginConfigImpl in project teamcity-git by JetBrains.
the class AgentConfigPluginTest method test_change_use_native_ssh.
public void test_change_use_native_ssh() throws VcsException {
myBuildSharedConfigParameters.put("teamcity.git.use.native.ssh", "true");
PluginConfigImpl config = getPluginConfig();
assertTrue(config.isUseNativeSSH());
}
Aggregations