use of jmri.jmrix.can.CanSystemConnectionMemo in project JMRI by JMRI.
the class CbusTurnoutManagerTest method testCTor.
@Test
public void testCTor() {
TrafficControllerScaffold tc = new TrafficControllerScaffold();
CanSystemConnectionMemo memo = new CanSystemConnectionMemo();
memo.setTrafficController(tc);
CbusTurnoutManager t = new CbusTurnoutManager(memo);
Assert.assertNotNull("exists", t);
}
use of jmri.jmrix.can.CanSystemConnectionMemo in project JMRI by JMRI.
the class CbusComponentFactoryTest method setUp.
@Before
public void setUp() {
Log4JFixture.setUp();
JUnitUtil.resetInstanceManager();
tc = new TestTrafficController();
m = new CanSystemConnectionMemo();
m.setSystemPrefix("ABC");
}
use of jmri.jmrix.can.CanSystemConnectionMemo in project JMRI by JMRI.
the class CbusThrottleManagerTest method testCTor.
@Test
public void testCTor() {
TrafficControllerScaffold tc = new TrafficControllerScaffold();
CanSystemConnectionMemo memo = new CanSystemConnectionMemo();
memo.setTrafficController(tc);
CbusThrottleManager t = new CbusThrottleManager(memo);
Assert.assertNotNull("exists", t);
}
use of jmri.jmrix.can.CanSystemConnectionMemo in project JMRI by JMRI.
the class CbusReporterManagerTest method setUp.
// The minimal setup for log4J
@Before
@Override
public void setUp() {
apps.tests.Log4JFixture.setUp();
jmri.util.JUnitUtil.resetInstanceManager();
tc = new TrafficControllerScaffold();
CanSystemConnectionMemo memo = new CanSystemConnectionMemo();
memo.setTrafficController(tc);
l = new CbusReporterManager(memo);
}
use of jmri.jmrix.can.CanSystemConnectionMemo in project JMRI by JMRI.
the class CanComponentFactoryTest method setUp.
@Before
public void setUp() {
Log4JFixture.setUp();
JUnitUtil.resetInstanceManager();
tc = new TestTrafficController();
m = new CanSystemConnectionMemo();
m.setSystemPrefix("ABC");
}
Aggregations