Search in sources :

Example 1 with AcelaSystemConnectionMemo

use of jmri.jmrix.acela.AcelaSystemConnectionMemo in project JMRI by JMRI.

the class AcelaMonFrameTest method testCtor.

@Test
public void testCtor() {
    Assume.assumeFalse(GraphicsEnvironment.isHeadless());
    AcelaMonFrame f = new AcelaMonFrame(new AcelaSystemConnectionMemo());
    Assert.assertNotNull("exists", f);
}
Also used : AcelaSystemConnectionMemo(jmri.jmrix.acela.AcelaSystemConnectionMemo) Test(org.junit.Test)

Example 2 with AcelaSystemConnectionMemo

use of jmri.jmrix.acela.AcelaSystemConnectionMemo in project JMRI by JMRI.

the class AcelaSignalHeadXmlTest method setUp.

// The minimal setup for log4J
@Before
public void setUp() {
    apps.tests.Log4JFixture.setUp();
    InstanceManager.setDefault(AcelaSystemConnectionMemo.class, new AcelaSystemConnectionMemo());
}
Also used : AcelaSystemConnectionMemo(jmri.jmrix.acela.AcelaSystemConnectionMemo) Before(org.junit.Before)

Example 3 with AcelaSystemConnectionMemo

use of jmri.jmrix.acela.AcelaSystemConnectionMemo in project JMRI by JMRI.

the class NodeConfigActionTest method testStringMemoCtor.

@Test
public void testStringMemoCtor() {
    Assume.assumeFalse(GraphicsEnvironment.isHeadless());
    NodeConfigAction action = new NodeConfigAction("Acela test Action", new AcelaSystemConnectionMemo());
    Assert.assertNotNull("exists", action);
}
Also used : AcelaSystemConnectionMemo(jmri.jmrix.acela.AcelaSystemConnectionMemo) Test(org.junit.Test)

Example 4 with AcelaSystemConnectionMemo

use of jmri.jmrix.acela.AcelaSystemConnectionMemo in project JMRI by JMRI.

the class AcelaMonActionTest method testDefaultCtor.

@Test
public void testDefaultCtor() {
    Assume.assumeFalse(GraphicsEnvironment.isHeadless());
    AcelaSystemConnectionMemo memo = new AcelaSystemConnectionMemo();
    InstanceManager.setDefault(AcelaSystemConnectionMemo.class, memo);
    AcelaMonAction action = new AcelaMonAction();
    Assert.assertNotNull("exists", action);
}
Also used : AcelaSystemConnectionMemo(jmri.jmrix.acela.AcelaSystemConnectionMemo) Test(org.junit.Test)

Example 5 with AcelaSystemConnectionMemo

use of jmri.jmrix.acela.AcelaSystemConnectionMemo in project JMRI by JMRI.

the class AcelaPacketGenActionTest method testDefaultCtor.

@Test
public void testDefaultCtor() {
    Assume.assumeFalse(GraphicsEnvironment.isHeadless());
    AcelaSystemConnectionMemo memo = new AcelaSystemConnectionMemo();
    InstanceManager.setDefault(AcelaSystemConnectionMemo.class, memo);
    AcelaPacketGenAction action = new AcelaPacketGenAction();
    Assert.assertNotNull("exists", action);
}
Also used : AcelaSystemConnectionMemo(jmri.jmrix.acela.AcelaSystemConnectionMemo) Test(org.junit.Test)

Aggregations

AcelaSystemConnectionMemo (jmri.jmrix.acela.AcelaSystemConnectionMemo)11 Test (org.junit.Test)9 Before (org.junit.Before)2 AcelaTrafficControlScaffold (jmri.jmrix.acela.AcelaTrafficControlScaffold)1 AcelaTrafficController (jmri.jmrix.acela.AcelaTrafficController)1