Search in sources :

Example 6 with Deployer

use of com.oracle.bedrock.runtime.remote.options.Deployer in project oracle-bedrock by coherence-community.

the class PowerShellHttpDeployerTest method shouldFindInOptions.

@Test
public void shouldFindInOptions() throws Exception {
    Deployer deployer = new PowerShellHttpDeployer();
    OptionsByType optionsByType = OptionsByType.of(deployer);
    assertThat(optionsByType.get(Deployer.class), is(sameInstance(deployer)));
}
Also used : OptionsByType(com.oracle.bedrock.OptionsByType) Deployer(com.oracle.bedrock.runtime.remote.options.Deployer) AbstractWindowsTest(com.oracle.bedrock.runtime.remote.winrm.AbstractWindowsTest) Test(org.junit.Test)

Example 7 with Deployer

use of com.oracle.bedrock.runtime.remote.options.Deployer in project oracle-bedrock by coherence-community.

the class CurlHttpDeployerTest method shouldFindInOptions.

@Test
public void shouldFindInOptions() throws Exception {
    Deployer deployer = new CurlHttpDeployer();
    OptionsByType optionsByType = OptionsByType.of(deployer);
    assertThat(optionsByType.get(Deployer.class), is(sameInstance(deployer)));
}
Also used : OptionsByType(com.oracle.bedrock.OptionsByType) Deployer(com.oracle.bedrock.runtime.remote.options.Deployer) Test(org.junit.Test)

Aggregations

Deployer (com.oracle.bedrock.runtime.remote.options.Deployer)7 Test (org.junit.Test)6 OptionsByType (com.oracle.bedrock.OptionsByType)5 AbstractRemoteTest (com.oracle.bedrock.runtime.remote.AbstractRemoteTest)3 File (java.io.File)3 DeploymentArtifact (com.oracle.bedrock.runtime.remote.DeploymentArtifact)2 BufferedReader (java.io.BufferedReader)2 FileReader (java.io.FileReader)2 DiagnosticsRecording (com.oracle.bedrock.diagnostics.DiagnosticsRecording)1 ApplicationListener (com.oracle.bedrock.runtime.ApplicationListener)1 ApplicationProcess (com.oracle.bedrock.runtime.ApplicationProcess)1 Profile (com.oracle.bedrock.runtime.Profile)1 Arguments (com.oracle.bedrock.runtime.options.Arguments)1 DisplayName (com.oracle.bedrock.runtime.options.DisplayName)1 Executable (com.oracle.bedrock.runtime.options.Executable)1 PlatformSeparators (com.oracle.bedrock.runtime.options.PlatformSeparators)1 WorkingDirectory (com.oracle.bedrock.runtime.options.WorkingDirectory)1 Deployment (com.oracle.bedrock.runtime.remote.options.Deployment)1 SftpDeployer (com.oracle.bedrock.runtime.remote.ssh.SftpDeployer)1 AbstractWindowsTest (com.oracle.bedrock.runtime.remote.winrm.AbstractWindowsTest)1