Polish
This commit is contained in:
parent
a626f5462d
commit
1fdc1e373c
|
@ -60,7 +60,7 @@ public class ManagementPortAndPathSampleActuatorApplicationTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMetrics() throws Exception {
|
public void testMetrics() {
|
||||||
testHome(); // makes sure some requests have been made
|
testHome(); // makes sure some requests have been made
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
ResponseEntity<Map> entity = new TestRestTemplate().getForEntity(
|
ResponseEntity<Map> entity = new TestRestTemplate().getForEntity(
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class ManagementPortSampleActuatorApplicationTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMetrics() throws Exception {
|
public void testMetrics() {
|
||||||
testHome(); // makes sure some requests have been made
|
testHome(); // makes sure some requests have been made
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
ResponseEntity<Map> entity = new TestRestTemplate().getForEntity(
|
ResponseEntity<Map> entity = new TestRestTemplate().getForEntity(
|
||||||
|
|
|
@ -56,7 +56,7 @@ public class NoManagementSampleActuatorApplicationTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMetricsNotAvailable() throws Exception {
|
public void testMetricsNotAvailable() {
|
||||||
testHome(); // makes sure some requests have been made
|
testHome(); // makes sure some requests have been made
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
ResponseEntity<Map> entity = this.restTemplate
|
ResponseEntity<Map> entity = this.restTemplate
|
||||||
|
|
|
@ -89,7 +89,7 @@ public class SampleActuatorApplicationTests {
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
@Test
|
@Test
|
||||||
public void testMetrics() throws Exception {
|
public void testMetrics() {
|
||||||
testHome(); // makes sure some requests have been made
|
testHome(); // makes sure some requests have been made
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
ResponseEntity<Map> entity = this.restTemplate
|
ResponseEntity<Map> entity = this.restTemplate
|
||||||
|
|
|
@ -51,7 +51,7 @@ public class SampleIntegrationApplicationTests {
|
||||||
private ConfigurableApplicationContext context;
|
private ConfigurableApplicationContext context;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void deleteInputAndOutput() throws InterruptedException {
|
public void deleteInputAndOutput() {
|
||||||
deleteIfExists(new File("target/input"));
|
deleteIfExists(new File("target/input"));
|
||||||
deleteIfExists(new File("target/output"));
|
deleteIfExists(new File("target/output"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue