Polish
Closes gh-4554
This commit is contained in:
committed by
Stephane Nicoll
parent
30791599a5
commit
efff4a0051
@@ -92,7 +92,7 @@ public class LocalDevToolsAutoConfigurationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void defaultPropertyCanBeOverridenFromCommandLine() throws Exception {
|
||||
public void defaultPropertyCanBeOverriddenFromCommandLine() throws Exception {
|
||||
this.context = initializeAndRun(Config.class, "--spring.thymeleaf.cache=true");
|
||||
TemplateResolver resolver = this.context.getBean(TemplateResolver.class);
|
||||
resolver.initialize();
|
||||
@@ -100,7 +100,7 @@ public class LocalDevToolsAutoConfigurationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void defaultPropertyCanBeOverridenFromUserHomeProperties() throws Exception {
|
||||
public void defaultPropertyCanBeOverriddenFromUserHomeProperties() throws Exception {
|
||||
String userHome = System.getProperty("user.home");
|
||||
System.setProperty("user.home",
|
||||
new File("src/test/resources/user-home").getAbsolutePath());
|
||||
|
||||
@@ -153,7 +153,7 @@ public class RemoteDevToolsAutoConfigurationTests {
|
||||
loadContext("spring.devtools.remote.secret:supersecret",
|
||||
"spring.devtools.remote.restart.enabled:false");
|
||||
this.thrown.expect(NoSuchBeanDefinitionException.class);
|
||||
this.context.getBean("remoteRestartHanderMapper");
|
||||
this.context.getBean("remoteRestartHandlerMapper");
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -193,7 +193,7 @@ public class RemoteDevToolsAutoConfigurationTests {
|
||||
loadContext("spring.devtools.remote.secret:supersecret",
|
||||
"spring.devtools.remote.debug.enabled:false");
|
||||
this.thrown.expect(NoSuchBeanDefinitionException.class);
|
||||
this.context.getBean("remoteDebugHanderMapper");
|
||||
this.context.getBean("remoteDebugHandlerMapper");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -223,7 +223,7 @@ public class HttpTunnelServerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void requestRecievedOutOfOrder() throws Exception {
|
||||
public void requestReceivedOutOfOrder() throws Exception {
|
||||
MockHttpConnection h1 = new MockHttpConnection();
|
||||
MockHttpConnection h2 = new MockHttpConnection("1+2", 1);
|
||||
MockHttpConnection h3 = new MockHttpConnection("+3", 2);
|
||||
|
||||
Reference in New Issue
Block a user