Fix tests: add hamcrest jar, make them run headless/no dock icon.

This commit is contained in:
Ray J. Greenwell
2026-04-27 20:41:05 -07:00
parent 5e9f4d5a15
commit cc7193a4f4
3 changed files with 17 additions and 0 deletions
+7
View File
@@ -63,6 +63,13 @@
<version>4.13.1</version> <version>4.13.1</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<!-- needed by junit -->
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>3.0</version>
<scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>org.hsqldb</groupId> <groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId> <artifactId>hsqldb</artifactId>
+3
View File
@@ -94,6 +94,9 @@
<includes> <includes>
<include>com/threerings/**/*Test.java</include> <include>com/threerings/**/*Test.java</include>
</includes> </includes>
<systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
+7
View File
@@ -42,5 +42,12 @@
<version>4.13.1</version> <version>4.13.1</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<!-- needed by junit -->
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>3.0</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
</project> </project>