Search in sources :

Example 11 with CanSystemConnectionMemo

use of jmri.jmrix.can.CanSystemConnectionMemo in project JMRI by JMRI.

the class CanMenuTest method setUp.

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

Example 12 with CanSystemConnectionMemo

use of jmri.jmrix.can.CanSystemConnectionMemo in project JMRI by JMRI.

the class CbusMenuTest method setUp.

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

Example 13 with CanSystemConnectionMemo

use of jmri.jmrix.can.CanSystemConnectionMemo in project JMRI by JMRI.

the class NmraNetComponentFactoryTest method setUp.

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

Example 14 with CanSystemConnectionMemo

use of jmri.jmrix.can.CanSystemConnectionMemo in project JMRI by JMRI.

the class NmraNetMenuTest method setUp.

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

Example 15 with CanSystemConnectionMemo

use of jmri.jmrix.can.CanSystemConnectionMemo in project JMRI by JMRI.

the class CbusSensorManagerTest method setUp.

// The minimal setup for log4J
@Override
@Before
public void setUp() {
    apps.tests.Log4JFixture.setUp();
    jmri.util.JUnitUtil.resetInstanceManager();
    memo = new CanSystemConnectionMemo();
    memo.setTrafficController(new TestTrafficController());
    l = new CbusSensorManager(memo);
}
Also used : CanSystemConnectionMemo(jmri.jmrix.can.CanSystemConnectionMemo) TestTrafficController(jmri.jmrix.can.TestTrafficController) Before(org.junit.Before)

Aggregations

CanSystemConnectionMemo (jmri.jmrix.can.CanSystemConnectionMemo)25 Before (org.junit.Before)14 TrafficControllerScaffold (jmri.jmrix.can.TrafficControllerScaffold)12 Test (org.junit.Test)10 TestTrafficController (jmri.jmrix.can.TestTrafficController)7 DccLocoAddress (jmri.DccLocoAddress)2 CanMessage (jmri.jmrix.can.CanMessage)1 CanReply (jmri.jmrix.can.CanReply)1