We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d036b commit 357aa21Copy full SHA for 357aa21
convex-gui/src/test/java/convex/gui/GUITest.java
@@ -2,8 +2,10 @@
2
3
import static org.junit.jupiter.api.Assertions.assertEquals;
4
import static org.junit.jupiter.api.Assertions.assertNotNull;
5
+import static org.junit.jupiter.api.Assumptions.assumeFalse;
6
import static org.junit.jupiter.api.Assumptions.assumeTrue;
7
8
+import java.awt.GraphicsEnvironment;
9
import java.awt.HeadlessException;
10
11
import org.junit.jupiter.api.Test;
@@ -52,6 +54,7 @@ public class GUITest {
52
54
*/
53
55
public static void assumeGUI() {
56
assumeTrue(manager!=null);
57
+ assumeFalse(GraphicsEnvironment.isHeadless());
58
}
59
60
/**
0 commit comments