Search in sources :

Example 1 with JMRIClientSystemConnectionMemo

use of jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo in project JMRI by JMRI.

the class JMRIClientComponentFactoryTest method setUp.

@Before
public void setUp() {
    Log4JFixture.setUp();
    JUnitUtil.resetInstanceManager();
    tc = new JMRIClientTrafficController();
    m = new JMRIClientSystemConnectionMemo();
    m.setSystemPrefix("ABC");
}
Also used : JMRIClientTrafficController(jmri.jmrix.jmriclient.JMRIClientTrafficController) JMRIClientSystemConnectionMemo(jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo) Before(org.junit.Before)

Example 2 with JMRIClientSystemConnectionMemo

use of jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo in project JMRI by JMRI.

the class JMRIClientMenuTest method setUp.

@Before
public void setUp() {
    Log4JFixture.setUp();
    JUnitUtil.resetInstanceManager();
    tc = new JMRIClientTrafficController();
    m = new JMRIClientSystemConnectionMemo();
    m.setSystemPrefix("ABC");
}
Also used : JMRIClientTrafficController(jmri.jmrix.jmriclient.JMRIClientTrafficController) JMRIClientSystemConnectionMemo(jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo) Before(org.junit.Before)

Example 3 with JMRIClientSystemConnectionMemo

use of jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo in project JMRI by JMRI.

the class JMRIClientMonActionTest method testStringCtor.

@Test
public void testStringCtor() {
    Assume.assumeFalse(GraphicsEnvironment.isHeadless());
    JMRIClientMonAction action = new JMRIClientMonAction("IEEE 802.15.4 test Action", new JMRIClientSystemConnectionMemo());
    Assert.assertNotNull("exists", action);
}
Also used : JMRIClientSystemConnectionMemo(jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo) Test(org.junit.Test)

Example 4 with JMRIClientSystemConnectionMemo

use of jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo in project JMRI by JMRI.

the class JMRIClientMonFrameTest method testMemoCtor.

@Test
public void testMemoCtor() {
    Assume.assumeFalse(GraphicsEnvironment.isHeadless());
    JMRIClientMonFrame action = new JMRIClientMonFrame(new JMRIClientSystemConnectionMemo());
    Assert.assertNotNull("exists", action);
}
Also used : JMRIClientSystemConnectionMemo(jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo) Test(org.junit.Test)

Example 5 with JMRIClientSystemConnectionMemo

use of jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo in project JMRI by JMRI.

the class PacketGenActionTest method testStringMemoCtor.

@Test
public void testStringMemoCtor() {
    Assume.assumeFalse(GraphicsEnvironment.isHeadless());
    PacketGenAction action = new PacketGenAction("JMRIClient PacketGen test Action", new JMRIClientSystemConnectionMemo());
    Assert.assertNotNull("exists", action);
}
Also used : JMRIClientSystemConnectionMemo(jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo) Test(org.junit.Test)

Aggregations

JMRIClientSystemConnectionMemo (jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo)8 Test (org.junit.Test)5 JMRIClientTrafficController (jmri.jmrix.jmriclient.JMRIClientTrafficController)2 Before (org.junit.Before)2 ActionEvent (java.awt.event.ActionEvent)1 ActionListener (java.awt.event.ActionListener)1 FocusEvent (java.awt.event.FocusEvent)1 FocusListener (java.awt.event.FocusListener)1