Merge branch '1.5.x'

pull/11202/head
Stephane Nicoll 7 years ago
commit d5c32333d5

@ -22,12 +22,12 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.codehaus.plexus.util.StringUtils;
import org.junit.ClassRule; import org.junit.ClassRule;
import org.junit.Rule; import org.junit.Rule;
import org.junit.rules.TemporaryFolder; import org.junit.rules.TemporaryFolder;
import org.springframework.http.client.ClientHttpResponse; import org.springframework.http.client.ClientHttpResponse;
import org.springframework.util.StringUtils;
import org.springframework.web.client.ResponseErrorHandler; import org.springframework.web.client.ResponseErrorHandler;
import org.springframework.web.client.RestTemplate; import org.springframework.web.client.RestTemplate;
import org.springframework.web.util.UriTemplateHandler; import org.springframework.web.util.UriTemplateHandler;
@ -66,7 +66,7 @@ public abstract class AbstractEmbeddedServletContainerIntegrationTests {
AbstractApplicationLauncher launcher = launcherClass AbstractApplicationLauncher launcher = launcherClass
.getDeclaredConstructor(ApplicationBuilder.class) .getDeclaredConstructor(ApplicationBuilder.class)
.newInstance(applicationBuilder); .newInstance(applicationBuilder);
String name = StringUtils.capitalise(container) + ": " String name = StringUtils.capitalize(container) + ": "
+ launcher.getDescription(packaging); + launcher.getDescription(packaging);
parameters.add(new Object[] { name, launcher }); parameters.add(new Object[] { name, launcher });
} }

Loading…
Cancel
Save