#20 - Turned DeploymentInformation into an interface.

This commit is contained in:
Oliver Gierke
2016-04-06 13:42:56 +02:00
parent a044322b31
commit 8282a901a9
6 changed files with 127 additions and 56 deletions

View File

@@ -28,7 +28,7 @@ import org.springframework.data.release.model.ReleaseTrains;
import org.springframework.data.release.model.TrainIteration;
/**
* Integration test for {@link DeploymentInformation}.
* Integration test for {@link DefaultDeploymentInformation}.
*
* @author Oliver Gierke
*/
@@ -42,7 +42,7 @@ public class DeploymentInformationIntegrationTests extends AbstractIntegrationTe
TrainIteration iteration = new TrainIteration(ReleaseTrains.HOPPER, Iteration.M1);
ModuleIteration buildModule = iteration.getModule(Projects.BUILD);
DeploymentInformation information = new DeploymentInformation(buildModule, properties);
DeploymentInformation information = new DefaultDeploymentInformation(buildModule, properties);
assertThat(information.getDeploymentTargetUrl(), containsString(properties.getServer().getUri().toString()));
assertThat(information.getBuildName(), is("Spring Data Build - Release"));