Skip to content

Commit

Permalink
Add integration test infrastructure for JPMS
Browse files Browse the repository at this point in the history
  • Loading branch information
scordio committed Aug 31, 2022
1 parent 62435d0 commit 357df43
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
33 changes: 33 additions & 0 deletions assertj-tests/assertj-integration-tests/assertj-core-jpms/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?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>
<groupId>org.assertj</groupId>
<artifactId>assertj-integration-tests</artifactId>
<version>3.24.0-SNAPSHOT</version>
</parent>

<artifactId>assertj-core-jpms</artifactId>

<name>AssertJ Core Integration Tests - JPMS</name>

<properties>
<java.version>9</java.version>
</properties>

<dependencies>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module assertj.core.tests.jpms {
requires org.assertj.core;
requires org.junit.jupiter.api;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package org.assertj.core.tests.jpms;

import static org.assertj.core.api.Assertions.assertThat;

import org.junit.jupiter.api.Test;

public class JpmsTest {

@Test
void test() {
assertThat(1).isEqualTo(1);
}

}
1 change: 1 addition & 0 deletions assertj-tests/assertj-integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<name>AssertJ Integration Tests</name>

<modules>
<module>assertj-core-jpms</module>
<module>assertj-core-junit4-with-opentest4j</module>
<module>assertj-core-osgi</module>
<module>assertj-core-testng-with-junit4</module>
Expand Down

0 comments on commit 357df43

Please sign in to comment.