Search in sources :

Example 1 with JMRIClientTrafficController

use of jmri.jmrix.jmriclient.JMRIClientTrafficController 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 JMRIClientTrafficController

use of jmri.jmrix.jmriclient.JMRIClientTrafficController 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 JMRIClientTrafficController

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

the class NetworkDriverAdapter method configure.

/**
     * set up all of the other objects to operate with an JMRI server connected
     * to this port
     */
@Override
public void configure() {
    // connect to the traffic controller
    JMRIClientTrafficController control = new JMRIClientTrafficController();
    control.connectPort(this);
    this.getSystemConnectionMemo().setJMRIClientTrafficController(control);
    this.getSystemConnectionMemo().configureManagers();
}
Also used : JMRIClientTrafficController(jmri.jmrix.jmriclient.JMRIClientTrafficController)

Example 4 with JMRIClientTrafficController

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

the class PacketGenFrameTest method setUp.

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

Aggregations

JMRIClientTrafficController (jmri.jmrix.jmriclient.JMRIClientTrafficController)4 Before (org.junit.Before)3 JMRIClientSystemConnectionMemo (jmri.jmrix.jmriclient.JMRIClientSystemConnectionMemo)2