use of jmri.jmrix.can.TrafficControllerScaffold 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.TrafficControllerScaffold in project JMRI by JMRI.
the class CbusTurnoutTest method testCTor.
@Test
public void testCTor() {
CbusTurnout t = new CbusTurnout("MT", "+1;-1", new TrafficControllerScaffold());
Assert.assertNotNull("exists", t);
}
use of jmri.jmrix.can.TrafficControllerScaffold 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.TrafficControllerScaffold 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.TrafficControllerScaffold in project JMRI by JMRI.
the class CbusReporterTest method testCTor.
@Test
public void testCTor() {
CbusReporter t = new CbusReporter(1, new TrafficControllerScaffold(), "Test");
Assert.assertNotNull("exists", t);
}
Aggregations