Skip to content

Commit 91be1ea

Browse files
Doha2012Eugen
authored andcommitted
fix test names (eugenp#1865)
* upgrade to spring boot 1.5.2 * add full update to REST API * modify ratings controller * upgrade herold * fix integration test * fix integration test * minor fix * fix integration test * fix integration test * minor cleanup * minor cleanup * remove log4j properties * use standard logbook.xml * remove log4j dependencies * remove commons-logging * merge * fix conflict * exclude commons-logging dependency * cleanup * minor fix * minor fix * fix dependency issues * Revert "fix dependency issues" This reverts commit 83bf1f9. * fix dependency issues * minor fix * minor fix * minor fix * cleanup generated files * fix commons-logging issue * add parent to pom * cleanup parent dependencies * cleanup pom * cleanup pom * add missing parent * fix logging issue * fix test names * fix merge * minor fix * fix test names * fix test names
1 parent 9e644af commit 91be1ea

18 files changed

Lines changed: 21 additions & 21 deletions

File tree

guava21/src/test/java/GuavaStreamsTests.java renamed to guava21/src/test/java/GuavaStreamsUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import java.util.stream.LongStream;
1010
import java.util.stream.Stream;
1111

12-
public class GuavaStreamsTests {
12+
public class GuavaStreamsUnitTest {
1313

1414
List<Integer> numbers;
1515

jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/ProfileInfoResourceIntTest.java renamed to jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/ProfileInfoResourceIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
**/
2828
@RunWith(SpringRunner.class)
2929
@SpringBootTest(classes = GatewayApp.class)
30-
public class ProfileInfoResourceIntTest {
30+
public class ProfileInfoResourceIntegrationTest {
3131

3232
@Mock
3333
private Environment environment;

jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/ProfileInfoResourceIntTest.java renamed to jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/ProfileInfoResourceIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
**/
2828
@RunWith(SpringRunner.class)
2929
@SpringBootTest(classes = BaeldungApp.class)
30-
public class ProfileInfoResourceIntTest {
30+
public class ProfileInfoResourceIntegrationTest {
3131

3232
@Mock
3333
private Environment environment;

libraries/src/test/java/com/baeldung/cglib/proxy/ProxyTest.java renamed to libraries/src/test/java/com/baeldung/cglib/proxy/ProxyIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import static org.junit.Assert.assertEquals;
99

10-
public class ProxyTest {
10+
public class ProxyIntegrationTest {
1111
@Test
1212
public void givenPersonService_whenSayHello_thenReturnResult() {
1313
//given

libraries/src/test/java/com/baeldung/commons/math/RootFindingTests.java renamed to libraries/src/test/java/com/baeldung/commons/math/RootFindingUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import org.junit.Assert;
77
import org.junit.Test;
88

9-
public class RootFindingTests {
9+
public class RootFindingUnitTest {
1010

1111
@Test
1212
public void whenUnivariateSolverSolver_thenCorrect() {

libraries/src/test/java/com/baeldung/hikaricp/HikariCPTest.java renamed to libraries/src/test/java/com/baeldung/hikaricp/HikariCPUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import static org.junit.Assert.assertEquals;
1010

11-
public class HikariCPTest {
11+
public class HikariCPUnitTest {
1212

1313
@Test
1414
@Ignore

libraries/src/test/java/com/baeldung/serenity/spring/KonamCheatClassDirtiesContextTest.java renamed to libraries/src/test/java/com/baeldung/serenity/spring/KonamCheatClassDirtiesContextIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
@RunWith(Suite.class)
2222
@Suite.SuiteClasses({
23-
KonamCheatClassDirtiesContextTest.DirtiesContextTest.class, KonamCheatClassDirtiesContextTest.AnotherDirtiesContextTest.class
23+
KonamCheatClassDirtiesContextIntegrationTest.DirtiesContextTest.class, KonamCheatClassDirtiesContextIntegrationTest.AnotherDirtiesContextTest.class
2424
})
25-
public class KonamCheatClassDirtiesContextTest {
25+
public class KonamCheatClassDirtiesContextIntegrationTest {
2626

2727
@RunWith(SerenityRunner.class)
2828
@ContextConfiguration(classes = KonamiCodeService.class)

libraries/src/test/java/com/baeldung/serenity/spring/KonamCheatWithDirtyActionTest.java renamed to libraries/src/test/java/com/baeldung/serenity/spring/KonamCheatWithDirtyActionIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
@RunWith(SerenityRunner.class)
2121
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
2222
@ContextConfiguration(classes = KonamiCodeService.class)
23-
public class KonamCheatWithDirtyActionTest {
23+
public class KonamCheatWithDirtyActionIntegrationTest {
2424

2525
private KonamiCodeConstructorDependencySteps cheatSteps;
2626

libraries/src/test/java/com/baeldung/serenity/spring/KonamCheatWithDirtyActionWithImplicitInjectionTest.java renamed to libraries/src/test/java/com/baeldung/serenity/spring/KonamCheatWithDirtyActionWithImplicitInjectionIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
@RunWith(SerenityRunner.class)
2020
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
2121
@ContextConfiguration(classes = KonamiCodeService.class)
22-
public class KonamCheatWithDirtyActionWithImplicitInjectionTest {
22+
public class KonamCheatWithDirtyActionWithImplicitInjectionIntegrationTest {
2323

2424
@Steps private KonamiCodeServiceInjectionSteps cheatSteps;
2525

libraries/src/test/java/com/baeldung/serenity/spring/KonamCheatWithServiceTest.java renamed to libraries/src/test/java/com/baeldung/serenity/spring/KonamCheatWithServiceIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @author aiet
1212
*/
1313
@RunWith(SerenityRunner.class)
14-
public class KonamCheatWithServiceTest {
14+
public class KonamCheatWithServiceIntegrationTest {
1515

1616
@Steps private KonamiCodeServiceInjectionSteps cheatSteps;
1717

0 commit comments

Comments
 (0)