Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
paultuckey committed Jun 9, 2023
1 parent 0067f45 commit d6480dc
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
run: mvn --batch-mode --update-snapshots package

- name: Locally install filter
run: mvn install
run: mvn install --batch-mode

- name: Locally install example
working-directory: container-test/example-webapp
run: mvn install
run: mvn install --batch-mode

- name: Run container tests
working-directory: container-test/test-with-testcontainers
run: mvn test
run: mvn test --batch-mode

# - uses: actions/upload-artifact@v3
# with:
Expand Down
4 changes: 2 additions & 2 deletions container-test/example-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.tuckey</groupId>
<artifactId>example-webapp</artifactId>
<packaging>war</packaging>
<version>5.0.0</version>
<packaging>jar</packaging>
<version>5.0.0-SNAPSHOT</version>
<name>Example Webapp</name>
<url>http://www.tuckey.org/urlrewrite/</url>
<inceptionYear>2001</inceptionYear>
Expand Down
17 changes: 14 additions & 3 deletions container-test/test-with-testcontainers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<version>6.0.0</version>
<version>5.0.0-SNAPSHOT</version>
<name>UrlRewriteFilter Container Tests</name>
<url>http://www.tuckey.org/urlrewrite/</url>
<inceptionYear>2001</inceptionYear>
Expand All @@ -31,6 +31,16 @@
</developer>
</developers>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<!-- run `mvn install` locally root of project -->
Expand All @@ -42,7 +52,7 @@
<!-- run `mvn install` locally in example-webapp -->
<groupId>org.tuckey</groupId>
<artifactId>example-webapp</artifactId>
<version>5.0.0</version>
<version>5.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -54,7 +64,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.8.1</version>
<version>5.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -88,4 +98,5 @@

</dependencies>


</project>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
*
*/
public class WebappDecodeNoneIT extends ContainerTestBase {
public class WebappDecodeNoneITTest extends ContainerTestBase {

protected String getApp() {
return "webapp";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* <p/>
* options: browser (may fail), enc (unlikely fail)
*/
public class WebappDecodeUtf8IT extends ContainerTestBase {
public class WebappDecodeUtf8ITTest extends ContainerTestBase {

protected String getApp() {
return "webapp";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
* @author Paul Tuckey
* @version $Revision: 33 $ $Date: 2006-09-12 16:41:56 +1200 (Tue, 12 Sep 2006) $
*/
public class WebappHttpIT extends ContainerTestBase {
public class WebappHttpITTest extends ContainerTestBase {

protected String getApp() {
return "webapp";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
* @author Paul Tuckey
* @version $Revision: 33 $ $Date: 2006-09-12 16:41:56 +1200 (Tue, 12 Sep 2006) $
*/
public class WebappModStyleHttpIT extends ContainerTestBase {
public class WebappModStyleHttpITTest extends ContainerTestBase {

protected String getApp() {
return "webapp/mod";
Expand Down

0 comments on commit d6480dc

Please sign in to comment.