Skip to content

Commit

Permalink
tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
treblereel committed Jun 8, 2023
1 parent caa8f76 commit b0791b2
Show file tree
Hide file tree
Showing 10 changed files with 310 additions and 107 deletions.
5 changes: 4 additions & 1 deletion processor/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<plugins>
Expand Down Expand Up @@ -95,4 +98,4 @@
</exclusions>
</dependency>
</dependencies>
</project>
</project>
3 changes: 3 additions & 0 deletions processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<plugins>
Expand Down
57 changes: 42 additions & 15 deletions tests/entrypoint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,72 +3,98 @@
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.treblereel.j2cl</groupId>
<artifactId>tests-parent</artifactId>
<version>0.5.1</version>
</parent>

<groupId>org.treblereel.j2cl</groupId>
<artifactId>entrypoit-tests</artifactId>
<version>0.5.1</version>

<name>GWT3ENTRYPOINT Tests</name>
<description>Test cases for the GWT3ENTRYPOINT</description>
<url>https://github.com/treblereel/gwt3-processors</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.version>3.8.0</maven.compiler.version>
<maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
<maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version>
<maven.fmt.plugin>2.9</maven.fmt.plugin>
<maven.surefire.plugin>3.1.0</maven.surefire.plugin>
<maven.source.plugin>3.0.1</maven.source.plugin>
<maven.license.plugin>3.0</maven.license.plugin>
<maven.j2cl.plugin>0.20</maven.j2cl.plugin>
<maven.j2cl.version>0.10.0-3c97afeac</maven.j2cl.version>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>

<jsinterop.annotations.version>2.0.0</jsinterop.annotations.version>
<jsinterop.base.version>1.0.0</jsinterop.base.version>
<elemental2.version>1.1.0</elemental2.version>
</properties>

<dependencies>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>annotations</artifactId>
</dependency>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>processors</artifactId>
<scope>provided</scope>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>jsinterop-annotations</artifactId>
<version>${jsinterop.annotations.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>base</artifactId>
<version>${jsinterop.base.version}</version>
</dependency>

<dependency>
<groupId>com.google.elemental2</groupId>
<artifactId>elemental2-dom</artifactId>
<version>${elemental2.version}</version>
</dependency>


<!-- test dependencies -->
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>junit-annotations</artifactId>
<version>${maven.j2cl.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>gwttestcase-emul</artifactId>
<version>${maven.j2cl.version}</version>
<classifier>sources</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>junit-emul</artifactId>
<version>${maven.j2cl.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<version>${maven.compiler.version}</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<annotationProcessorPaths>
<path>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>processors</artifactId>
<version>${project.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
Expand All @@ -87,12 +113,13 @@
<configuration>
<defaultWebappDirectory>${project.build.directory}/gwt/launcherDir</defaultWebappDirectory>
<compilationLevel>ADVANCED</compilationLevel>
<annotationProcessorMode>IGNORE_MAVEN</annotationProcessorMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<version>${maven.surefire.plugin}</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
Expand Down
66 changes: 50 additions & 16 deletions tests/es6shim/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,75 +3,109 @@
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.treblereel.j2cl</groupId>
<artifactId>tests-parent</artifactId>
<version>0.5.1</version>
</parent>

<artifactId>es6shim-tests</artifactId>
<groupId>org.treblereel.j2cl</groupId>
<version>0.5.1</version>

<packaging>jar</packaging>

<name>ES6SHIM Tests</name>
<description>Test cases for the ES6SHIM</description>
<url>https://github.com/treblereel/gwt3-processors</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.version>3.8.0</maven.compiler.version>
<maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
<maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version>
<maven.fmt.plugin>2.9</maven.fmt.plugin>
<maven.surefire.plugin>3.1.0</maven.surefire.plugin>
<maven.source.plugin>3.0.1</maven.source.plugin>
<maven.license.plugin>3.0</maven.license.plugin>
<maven.j2cl.plugin>0.20</maven.j2cl.plugin>
<maven.j2cl.version>0.10.0-3c97afeac</maven.j2cl.version>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>

<jsinterop.annotations.version>2.0.0</jsinterop.annotations.version>
<jsinterop.base.version>1.0.0</jsinterop.base.version>
<elemental2.version>1.1.0</elemental2.version>
</properties>

<dependencies>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>annotations</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>processors</artifactId>
<scope>provided</scope>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>jsinterop-annotations</artifactId>
<version>${jsinterop.annotations.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>base</artifactId>
<scope>test</scope>
<version>${jsinterop.base.version}</version>
</dependency>

<dependency>
<groupId>com.google.elemental2</groupId>
<artifactId>elemental2-dom</artifactId>
<scope>test</scope>
<version>${elemental2.version}</version>
</dependency>


<!-- test dependencies -->
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>junit-annotations</artifactId>
<version>${maven.j2cl.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>gwttestcase-emul</artifactId>
<version>${maven.j2cl.version}</version>
<classifier>sources</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>junit-emul</artifactId>
<version>${maven.j2cl.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>processors</artifactId>
<version>${project.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-maven-plugin</artifactId>
<version>${maven.j2cl.plugin}</version>
<version>0.20</version>
<configuration>
<compilationLevel>ADVANCED</compilationLevel>
<annotationProcessorMode>IGNORE_MAVEN</annotationProcessorMode>
</configuration>
<executions>
<execution>
Expand All @@ -86,7 +120,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<version>${maven.surefire.plugin}</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
Expand Down
52 changes: 37 additions & 15 deletions tests/exports/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,57 @@
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.treblereel.j2cl</groupId>
<artifactId>tests-parent</artifactId>
<version>0.5.1</version>
</parent>

<groupId>org.treblereel.j2cl</groupId>
<artifactId>exports</artifactId>
<version>0.5.1</version>

<name>GWTExports Tests</name>
<description>Test cases for the GWTExports</description>
<url>https://github.com/treblereel/gwt3-processors</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.version>3.8.0</maven.compiler.version>
<maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
<maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version>
<maven.fmt.plugin>2.9</maven.fmt.plugin>
<maven.surefire.plugin>3.1.0</maven.surefire.plugin>
<maven.source.plugin>3.0.1</maven.source.plugin>
<maven.license.plugin>3.0</maven.license.plugin>
<maven.j2cl.plugin>0.20</maven.j2cl.plugin>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>

<jsinterop.annotations.version>2.0.0</jsinterop.annotations.version>
<jsinterop.base.version>1.0.0</jsinterop.base.version>
<elemental2.version>1.1.0</elemental2.version>
</properties>

<dependencies>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>annotations</artifactId>
</dependency>
<dependency>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>processors</artifactId>
<scope>provided</scope>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>jsinterop-annotations</artifactId>
<version>${jsinterop.annotations.version}</version>
</dependency>
<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>base</artifactId>
<version>${jsinterop.base.version}</version>
</dependency>

<dependency>
<groupId>com.google.elemental2</groupId>
<artifactId>elemental2-dom</artifactId>
<version>${elemental2.version}</version>
</dependency>
</dependencies>

Expand All @@ -46,10 +62,15 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<version>${maven.compiler.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<annotationProcessorPaths>
<path>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>processors</artifactId>
<version>${project.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
Expand All @@ -68,12 +89,13 @@
<configuration>
<defaultWebappDirectory>${project.build.directory}/gwt/launcherDir</defaultWebappDirectory>
<compilationLevel>ADVANCED</compilationLevel>
<annotationProcessorMode>IGNORE_MAVEN</annotationProcessorMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<version>${maven.surefire.plugin}</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
Expand Down
Loading

0 comments on commit b0791b2

Please sign in to comment.