use of jmri.jmrix.acela.AcelaSystemConnectionMemo in project JMRI by JMRI.
the class AcelaMonActionTest method testStringMemoCtor.
@Test
public void testStringMemoCtor() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
AcelaMonAction action = new AcelaMonAction("Acela test Action", new AcelaSystemConnectionMemo());
Assert.assertNotNull("exists", action);
}
use of jmri.jmrix.acela.AcelaSystemConnectionMemo in project JMRI by JMRI.
the class AcelaPacketGenFrameTest method testCtor.
@Test
public void testCtor() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
AcelaPacketGenFrame f = new AcelaPacketGenFrame(new AcelaSystemConnectionMemo());
Assert.assertNotNull("exists", f);
}
use of jmri.jmrix.acela.AcelaSystemConnectionMemo in project JMRI by JMRI.
the class AcelaComponentFactoryTest method setUp.
// The minimal setup for log4J
@Before
public void setUp() {
apps.tests.Log4JFixture.setUp();
jmri.util.JUnitUtil.resetInstanceManager();
AcelaTrafficController tc = new AcelaTrafficControlScaffold();
memo = new AcelaSystemConnectionMemo(tc);
}
use of jmri.jmrix.acela.AcelaSystemConnectionMemo in project JMRI by JMRI.
the class NodeConfigActionTest method testDefaultCtor.
@Test
public void testDefaultCtor() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
AcelaSystemConnectionMemo memo = new AcelaSystemConnectionMemo();
InstanceManager.setDefault(AcelaSystemConnectionMemo.class, memo);
NodeConfigAction action = new NodeConfigAction();
Assert.assertNotNull("exists", action);
}
use of jmri.jmrix.acela.AcelaSystemConnectionMemo in project JMRI by JMRI.
the class NodeConfigFrameTest method testCtor.
@Test
public void testCtor() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
NodeConfigFrame f = new NodeConfigFrame(new AcelaSystemConnectionMemo());
Assert.assertNotNull("exists", f);
}
Aggregations