-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TS-8032 Add more nested test projects
- Loading branch information
Showing
11 changed files
with
143 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
system-tests/maven-external-upload-test/root-project/sub-project-B/sub-project-B1/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<artifactId>sub-project-B</artifactId> | ||
<groupId>org.example</groupId> | ||
<version>1.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>sub-project-B1</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
|
||
<name>sub-project-B1</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-engine</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-failsafe-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...-B/src/test/java/org/example/IntegIT.java → ...B1/src/test/java/org/example/IntegIT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
package bar; | ||
|
||
import org.junit.jupiter.api.Test; | ||
import org.example.SUTB; | ||
import org.example.SUTB1; | ||
|
||
public class IntegIT { | ||
|
||
@Test | ||
public void itBlub() throws Exception { | ||
new SUTB().blub(); | ||
new SUTB1().blub(); | ||
} | ||
|
||
@Test | ||
public void itGoo() { | ||
new SUTB().goo(); | ||
new SUTB1().goo(); | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
...B/src/test/java/org/example/UnitTest.java → ...1/src/test/java/org/example/UnitTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
package bar; | ||
|
||
import org.junit.jupiter.api.Test; | ||
import org.example.SUTB; | ||
import org.example.SUTB1; | ||
|
||
public class UnitTest { | ||
|
||
@Test | ||
public void utBlub() { | ||
new SUTB().blub(); | ||
new SUTB1().blub(); | ||
} | ||
|
||
@Test | ||
public void utGoo() { | ||
new SUTB().goo(); | ||
new SUTB1().goo(); | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
system-tests/maven-external-upload-test/root-project/sub-project-B/sub-project-B2/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<artifactId>sub-project-B</artifactId> | ||
<groupId>org.example</groupId> | ||
<version>1.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>sub-project-B2</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
|
||
<name>sub-project-B2</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-engine</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-failsafe-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
16 changes: 16 additions & 0 deletions
16
...pload-test/root-project/sub-project-B/sub-project-B2/src/main/java/org/example/SUTB2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.example; | ||
|
||
/** | ||
* Hello world! | ||
* | ||
*/ | ||
public class SUTB2 | ||
{ | ||
public void goo() { | ||
System.out.println("goo"); | ||
} | ||
|
||
public void blub() { | ||
System.out.println("blub"); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...oad-test/root-project/sub-project-B/sub-project-B2/src/test/java/org/example/IntegIT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package bar; | ||
|
||
import org.junit.jupiter.api.Test; | ||
import org.example.SUTB2; | ||
|
||
public class IntegIT { | ||
|
||
@Test | ||
public void itBlub() throws Exception { | ||
new SUTB2().blub(); | ||
} | ||
|
||
@Test | ||
public void itGoo() { | ||
new SUTB2().goo(); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ad-test/root-project/sub-project-B/sub-project-B2/src/test/java/org/example/UnitTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package bar; | ||
|
||
import org.junit.jupiter.api.Test; | ||
import org.example.SUTB2; | ||
|
||
public class UnitTest { | ||
|
||
@Test | ||
public void utBlub() { | ||
new SUTB2().blub(); | ||
} | ||
|
||
@Test | ||
public void utGoo() { | ||
new SUTB2().goo(); | ||
} | ||
} |