34 lines
782 B
Java
34 lines
782 B
Java
package jmri.jmrix.sprog.packetgen;
|
|
|
|
import java.awt.GraphicsEnvironment;
|
|
|
|
import jmri.util.JUnitUtil;
|
|
|
|
import org.junit.Assert;
|
|
import org.junit.jupiter.api.*;
|
|
import org.junit.Assume;
|
|
|
|
/**
|
|
* Test simple functioning of SprogPacketGenAction
|
|
*
|
|
* @author Paul Bender Copyright (C) 2016
|
|
*/
|
|
public class SprogPacketGenActionTest {
|
|
|
|
|
|
@Test
|
|
public void testCtor() {
|
|
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
|
|
SprogPacketGenAction action = new SprogPacketGenAction("SPROG Action Test",new jmri.jmrix.sprog.SprogSystemConnectionMemo());
|
|
Assert.assertNotNull("exists", action);
|
|
}
|
|
|
|
@BeforeEach
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
}
|
|
|
|
@AfterEach
|
|
public void tearDown() { JUnitUtil.tearDown(); }
|
|
}
|