Commit 9a2d654e authored by Andy Wilkinson's avatar Andy Wilkinson

Rename test classes so that their tests are run by Maven

parent fff94733
...@@ -58,7 +58,7 @@ import static org.junit.Assert.assertThat; ...@@ -58,7 +58,7 @@ import static org.junit.Assert.assertThat;
@WebAppConfiguration @WebAppConfiguration
@DirtiesContext @DirtiesContext
@IntegrationTest("server.port=0") @IntegrationTest("server.port=0")
public class BasicErrorControllerIntegrationTest { public class BasicErrorControllerIntegrationTests {
@Value("${local.server.port}") @Value("${local.server.port}")
private int port; private int port;
......
...@@ -36,14 +36,14 @@ import static org.junit.Assert.assertNotNull; ...@@ -36,14 +36,14 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
/** /**
* The SampleDataGemFireApplicationTest class is a test suite with test cases testing the * The SampleDataGemFireApplicationTests class is a test suite with test cases testing the
* SampleDataGemFireApplication in Spring Boot. * SampleDataGemFireApplication in Spring Boot.
* *
* @author John Blum * @author John Blum
*/ */
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = SampleDataGemFireApplication.class) @SpringApplicationConfiguration(classes = SampleDataGemFireApplication.class)
public class SampleDataGemFireApplicationTest { public class SampleDataGemFireApplicationTests {
@Autowired @Autowired
private GemstoneService gemstoneService; private GemstoneService gemstoneService;
......
...@@ -28,7 +28,7 @@ import static org.junit.Assert.assertThat; ...@@ -28,7 +28,7 @@ import static org.junit.Assert.assertThat;
* *
* @author Phillip Webb * @author Phillip Webb
*/ */
public class ByteArrayRandomAccessDataTest { public class ByteArrayRandomAccessDataTests {
@Test @Test
public void testGetInputStream() throws Exception { public void testGetInputStream() throws Exception {
......
...@@ -34,7 +34,7 @@ import static org.springframework.boot.ansi.AnsiElement.RED; ...@@ -34,7 +34,7 @@ import static org.springframework.boot.ansi.AnsiElement.RED;
* *
* @author Phillip Webb * @author Phillip Webb
*/ */
public class AnsiOutputTest { public class AnsiOutputTests {
@BeforeClass @BeforeClass
public static void enable() { public static void enable() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment