NX01: Set all unit tests to headless and disable 2 offenders
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1m33s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1m33s
This commit is contained in:
parent
ce544764a4
commit
67dd3e4628
4 changed files with 19 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ import java.io.OutputStream;
|
|||
import java.nio.charset.Charset;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.x4o.xml.X4ODriver;
|
||||
import org.x4o.xml.test.TestDriver;
|
||||
|
|
@ -74,6 +75,7 @@ public class X4OWriterTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Disabled("Caused by: java.awt.HeadlessException")
|
||||
public void testWriterSwiXmlOutput() throws Exception {
|
||||
Accelerator3 ac3 = new Accelerator3(false);
|
||||
SwingEngine engine = new SwingEngine(ac3);
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ import javax.swing.JMenu;
|
|||
import javax.swing.JMenuItem;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.x4o.xml.io.X4OReader;
|
||||
|
||||
|
|
@ -41,6 +42,7 @@ import org.x4o.xml.io.X4OReader;
|
|||
public class Accelerator3Test {
|
||||
|
||||
@Test
|
||||
@Disabled("Caused by: java.awt.HeadlessException")
|
||||
public void testSwingMenuAbout() throws Exception {
|
||||
Accelerator3 ac3 = new Accelerator3(false);
|
||||
SwingEngine engine = new SwingEngine(ac3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue