Skip to content

Commit

Permalink
Fix incorrect import auto-formatting from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
WGautier committed Sep 16, 2015
1 parent 1389242 commit 69e80cc
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import hudson.model.FreeStyleBuild;
import hudson.model.FreeStyleProject;
import hudson.model.TaskListener;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
Expand All @@ -21,6 +20,7 @@
import java.util.List;
import java.util.Map;

import static com.hpe.cloudfoundryjenkins.CloudFoundryPushPublisher.DescriptorImpl.*;
import static org.junit.Assert.*;

public class DeploymentInfoTest {
Expand Down Expand Up @@ -75,11 +75,11 @@ public void testReadManifestFileDefaultOptions() throws Exception {
new DeploymentInfo(System.out, appInfo, "jenkins-build-name", "domain-name", "");

assertEquals("jenkins-build-name", deploymentInfo.getAppName());
Assert.assertEquals(CloudFoundryPushPublisher.DescriptorImpl.DEFAULT_MEMORY, deploymentInfo.getMemory());
assertEquals(DEFAULT_MEMORY, deploymentInfo.getMemory());
assertEquals("jenkins-build-name", deploymentInfo.getHostname());
Assert.assertEquals(CloudFoundryPushPublisher.DescriptorImpl.DEFAULT_INSTANCES, deploymentInfo.getInstances());
Assert.assertEquals(CloudFoundryPushPublisher.DescriptorImpl.DEFAULT_STACK, deploymentInfo.getStack());
Assert.assertEquals(CloudFoundryPushPublisher.DescriptorImpl.DEFAULT_TIMEOUT, deploymentInfo.getTimeout());
assertEquals(DEFAULT_INSTANCES, deploymentInfo.getInstances());
assertEquals(DEFAULT_STACK, deploymentInfo.getStack());
assertEquals(DEFAULT_TIMEOUT, deploymentInfo.getTimeout());
assertEquals(false, deploymentInfo.isNoRoute());
assertEquals("domain-name", deploymentInfo.getDomain());
assertEquals("", deploymentInfo.getAppPath());
Expand Down Expand Up @@ -158,11 +158,11 @@ public void testReadJenkinsConfigDefaultOptions() throws Exception {
new DeploymentInfo(System.out, jenkinsManifest, "jenkins-build-name", "domain-name");

assertEquals("jenkins-build-name", deploymentInfo.getAppName());
Assert.assertEquals(CloudFoundryPushPublisher.DescriptorImpl.DEFAULT_MEMORY, deploymentInfo.getMemory());
assertEquals(DEFAULT_MEMORY, deploymentInfo.getMemory());
assertEquals("jenkins-build-name", deploymentInfo.getHostname());
Assert.assertEquals(CloudFoundryPushPublisher.DescriptorImpl.DEFAULT_INSTANCES, deploymentInfo.getInstances());
Assert.assertEquals(CloudFoundryPushPublisher.DescriptorImpl.DEFAULT_TIMEOUT, deploymentInfo.getTimeout());
Assert.assertEquals(CloudFoundryPushPublisher.DescriptorImpl.DEFAULT_STACK, deploymentInfo.getStack());
assertEquals(DEFAULT_INSTANCES, deploymentInfo.getInstances());
assertEquals(DEFAULT_TIMEOUT, deploymentInfo.getTimeout());
assertEquals(DEFAULT_STACK, deploymentInfo.getStack());
assertEquals(false, deploymentInfo.isNoRoute());
assertEquals("domain-name", deploymentInfo.getDomain());
assertEquals("", deploymentInfo.getAppPath());
Expand Down

0 comments on commit 69e80cc

Please sign in to comment.