Permalink
Browse files

Tests: Disabled the ExportDialog tests when running on a headless sys…

…tem.
  • Loading branch information...
eseifert committed Jul 29, 2017
1 parent 4a40efa commit 14584e494920a5504f140d93df7475905e707c60
Showing with 3 additions and 1 deletion.
  1. +3 −1 gral-core/src/test/java/de/erichseifert/gral/ui/ExportDialogTest.java
@@ -22,10 +22,11 @@
package de.erichseifert.gral.ui;
import static org.junit.Assert.assertEquals;
import static org.junit.Assume.assumeFalse;
import java.awt.Component;
import java.awt.GraphicsEnvironment;
import java.awt.geom.Rectangle2D;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
@@ -58,6 +59,7 @@ public static void setUpBeforeClass() {
@Before
public void setUp() {
assumeFalse(GraphicsEnvironment.isHeadless());
dialog = new TestExportDialog(null, drawable);
}

0 comments on commit 14584e4

Please sign in to comment.