Skip to content

Commit d798314

Browse files
authored
Merge branch 'main' into main
2 parents 4d61d29 + 9e7f70d commit d798314

File tree

5 files changed

+55
-5
lines changed

5 files changed

+55
-5
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,6 @@ mvnw failsafe:integration-test
106106

107107
To view the test results, look at the console output or look under
108108
directory `target/failsafe-reports`
109+
110+
111+
# Build jul-25-6

pom.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@
99
<version>1.0-SNAPSHOT</version>
1010
<packaging>war</packaging>
1111

12-
<!-- Just Testing Something-->
12+
<!-- Just Testing Something else -->
1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
16-
<maven.compiler.source>11</maven.compiler.source>
17-
<maven.compiler.target>11</maven.compiler.target>
16+
<maven.compiler.release>17</maven.compiler.release>
1817
<!-- Plugin versions -->
1918
<version.liberty-maven-plugin>3.7.1</version.liberty-maven-plugin>
2019
<version.maven-failsafe-plugin>3.0.0</version.maven-failsafe-plugin>
@@ -80,7 +79,7 @@
8079
<serverName>sampleAppServer</serverName>
8180
</configuration>
8281
</plugin>
83-
<!-- Plugin to run functional tests -->
82+
<!-- Plugin to run functional tests 1 -->
8483
<plugin>
8584
<groupId>org.apache.maven.plugins</groupId>
8685
<artifactId>maven-failsafe-plugin</artifactId>
@@ -104,4 +103,4 @@
104103
</plugin>
105104
</plugins>
106105
</build>
107-
</project>
106+
</project>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package basic.unittests;
2+
3+
import org.junit.jupiter.api.Test;
4+
5+
public class FirstSuiteTest {
6+
@Test
7+
public void firstTest1() {
8+
System.out.println("firstTest1 was successful");
9+
}
10+
11+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package basic.unittests;
2+
3+
import org.junit.jupiter.api.Test;
4+
5+
public class SecondSuiteTest {
6+
@Test
7+
public void secondTest1() {
8+
System.out.println("secondTest1 successful!");
9+
}
10+
11+
@Test
12+
public void secondTest2() {
13+
System.out.println("secondTest2 successful!");
14+
}
15+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package basic.unittests;
2+
3+
import static org.junit.jupiter.api.Assertions.fail;
4+
5+
import org.junit.jupiter.api.Test;
6+
7+
public class ThirdSuiteTest {
8+
@Test
9+
public void thirdTest1() {
10+
System.out.println("thirdTest1 successful!");
11+
}
12+
13+
@Test
14+
public void thirdTest2() throws Exception {
15+
System.out.println("thirdTest2 successful!");
16+
}
17+
18+
@Test
19+
public void thirdTest3() {
20+
System.out.println("thirdTest3 successful!");
21+
}
22+
}

0 commit comments

Comments
 (0)