Skip to content

Commit 7206e64

Browse files
amit2103pivovarit
authored andcommitted
Bael 6556 3 (eugenp#4382)
* Added parent module on poms that have no parent defined * Removed dependency reduced pom from undertow module * [BAEL-6556] - Next set of renames of testcases * [BAEL-6556] - Next set of renames of testcases * [BAEL-6556] - Next set of renames of testcases * [BAEL-6556] - Next set of renames of testcases
1 parent cfa5f07 commit 7206e64

File tree

150 files changed

+187
-182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+187
-182
lines changed

algorithms/src/test/java/com/baeldung/jgrapht/DirectedGraphUnitTests.java renamed to algorithms/src/test/java/com/baeldung/jgrapht/DirectedGraphUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.junit.Before;
2525
import org.junit.Test;
2626

27-
public class DirectedGraphUnitTests {
27+
public class DirectedGraphUnitTest {
2828
DirectedGraph<String, DefaultEdge> directedGraph;
2929

3030
@Before

apache-opennlp/src/test/java/com/baeldung/apache/opennlp/TokenizerTest.java renamed to apache-opennlp/src/test/java/com/baeldung/apache/opennlp/TokenizerUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import static org.assertj.core.api.Assertions.assertThat;
99
import org.junit.Test;
1010

11-
public class TokenizerTest {
11+
public class TokenizerUnitTest {
1212

1313
@Test
1414
public void givenEnglishModel_whenTokenize_thenTokensAreDetected() throws Exception {

core-java-8/src/test/java/com/baeldung/stream/StreamIndicesTest.java renamed to core-java-8/src/test/java/com/baeldung/stream/StreamIndicesUnitTest.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 StreamIndicesTest {
11+
public class StreamIndicesUnitTest {
1212

1313
@Test
1414
public void whenCalled_thenReturnListOfEvenIndexedStrings() {

core-java/src/main/java/com/baeldung/keyword/KeywordDemo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
package com.baeldung.keyword;
22

33
import com.baeldung.keyword.superkeyword.SuperSub;
4-
import com.baeldung.keyword.thiskeyword.KeywordTest;
4+
import com.baeldung.keyword.thiskeyword.KeywordUnitTest;
55

66
/**
77
* Created by Gebruiker on 5/14/2018.
88
*/
99
public class KeywordDemo {
1010

1111
public static void main(String[] args) {
12-
KeywordTest keyword = new KeywordTest();
12+
KeywordUnitTest keyword = new KeywordUnitTest();
1313

1414
SuperSub child = new SuperSub("message from the child class");
1515
}

core-java/src/main/java/com/baeldung/keyword/thiskeyword/KeywordTest.java renamed to core-java/src/main/java/com/baeldung/keyword/thiskeyword/KeywordUnitTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
package com.baeldung.keyword.thiskeyword;
22

3-
public class KeywordTest {
3+
public class KeywordUnitTest {
44

55
private String name;
66
private int age;
77

8-
public KeywordTest() {
8+
public KeywordUnitTest() {
99
this("John", 27);
1010
this.printMessage();
1111
printInstance(this);
1212
}
1313

14-
public KeywordTest(String name, int age) {
14+
public KeywordUnitTest(String name, int age) {
1515
this.name = name;
1616
this.age = age;
1717
}
@@ -20,11 +20,11 @@ public void printMessage() {
2020
System.out.println("invoked by this");
2121
}
2222

23-
public void printInstance(KeywordTest thisKeyword) {
23+
public void printInstance(KeywordUnitTest thisKeyword) {
2424
System.out.println(thisKeyword);
2525
}
2626

27-
public KeywordTest getCurrentInstance() {
27+
public KeywordUnitTest getCurrentInstance() {
2828
return this;
2929
}
3030

@@ -33,8 +33,8 @@ class ThisInnerClass {
3333
boolean isInnerClass = true;
3434

3535
public ThisInnerClass() {
36-
KeywordTest thisKeyword = KeywordTest.this;
37-
String outerString = KeywordTest.this.name;
36+
KeywordUnitTest thisKeyword = KeywordUnitTest.this;
37+
String outerString = KeywordUnitTest.this.name;
3838
System.out.println(this.isInnerClass);
3939
}
4040
}

core-java/src/test/java/com/baeldung/decimalformat/DecimalFormatExamplesTest.java renamed to core-java/src/test/java/com/baeldung/decimalformat/DecimalFormatExamplesUnitTest.java

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

1212
import org.junit.Test;
1313

14-
public class DecimalFormatExamplesTest {
14+
public class DecimalFormatExamplesUnitTest {
1515

1616
double d = 1234567.89;
1717

core-java/src/test/java/com/baeldung/dst/DaylightSavingTimeExamplesTest.java renamed to core-java/src/test/java/com/baeldung/dst/DaylightSavingTimeExamplesUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import org.junit.Ignore;
1414
import org.junit.Test;
1515

16-
public class DaylightSavingTimeExamplesTest {
16+
public class DaylightSavingTimeExamplesUnitTest {
1717

1818
@Test
1919
public void givenItalianTimeZone_WhenDSTHappens_ThenCorrectlyShiftTimeZone() throws ParseException {

core-java/src/test/java/com/baeldung/dst/DaylightSavingTimeJavaTimeExamplesTest.java renamed to core-java/src/test/java/com/baeldung/dst/DaylightSavingTimeJavaTimeExamplesUnitTest.java

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

1212
import org.junit.Test;
1313

14-
public class DaylightSavingTimeJavaTimeExamplesTest {
14+
public class DaylightSavingTimeJavaTimeExamplesUnitTest {
1515

1616
@Test
1717
public void givenItalianTimeZone_WhenDSTHappens_ThenCorrectlyShiftTimeZone() throws ParseException {

core-java/src/test/java/com/baeldung/extension/ExtensionTest.java renamed to core-java/src/test/java/com/baeldung/extension/ExtensionUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import org.junit.Assert;
44
import org.junit.Test;
55

6-
public class ExtensionTest {
6+
public class ExtensionUnitTest {
77
private Extension extension = new Extension();
88

99
@Test

core-java/src/test/java/com/baeldung/hashcode/application/ApplicationTest.java renamed to core-java/src/test/java/com/baeldung/hashcode/application/ApplicationUnitTest.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.assertTrue;
1010

11-
public class ApplicationTest {
11+
public class ApplicationUnitTest {
1212

1313
@Test
1414
public void main_NoInputState_TextPrintedToConsole() throws Exception {

0 commit comments

Comments
 (0)