use of jmri.jmrix.loconet.SlotManager in project JMRI by JMRI.
the class LocoNetMenuTest method testCTor.
@Test
public void testCTor() {
LnTrafficController lnis = new LocoNetInterfaceScaffold();
SlotManager slotmanager = new SlotManager(lnis);
LocoNetSystemConnectionMemo memo = new LocoNetSystemConnectionMemo(lnis, slotmanager);
LocoNetMenu t = new LocoNetMenu(memo);
Assert.assertNotNull("exists", t);
}
use of jmri.jmrix.loconet.SlotManager in project JMRI by JMRI.
the class LnPr2PowerManagerTest method setUp.
// setup a default interface
@Before
@Override
public void setUp() {
controller = new LocoNetInterfaceScaffold();
slotmanager = new SlotManager(controller);
PR2SystemConnectionMemo memo = new PR2SystemConnectionMemo(controller, slotmanager);
memo.configureManagers();
jmri.InstanceManager.setThrottleManager(memo.getPr2ThrottleManager());
memo.getPr2ThrottleManager().requestThrottleSetup(new jmri.DccLocoAddress(3, false), true);
p = new LnPr2PowerManager(memo);
}
use of jmri.jmrix.loconet.SlotManager in project JMRI by JMRI.
the class SlotMonDataModelTest method testCTor.
@Test
public void testCTor() {
LnTrafficController lnis = new LocoNetInterfaceScaffold();
SlotManager slotmanager = new SlotManager(lnis);
LocoNetSystemConnectionMemo memo = new LocoNetSystemConnectionMemo(lnis, slotmanager);
SlotMonDataModel t = new SlotMonDataModel(1, 19, memo);
Assert.assertNotNull("exists", t);
}
use of jmri.jmrix.loconet.SlotManager in project JMRI by JMRI.
the class LnComponentFactoryTest method testCTor.
@Test
public void testCTor() {
LnTrafficController lnis = new LocoNetInterfaceScaffold();
SlotManager slotmanager = new SlotManager(lnis);
LocoNetSystemConnectionMemo memo = new LocoNetSystemConnectionMemo(lnis, slotmanager);
LnComponentFactory t = new LnComponentFactory(memo);
Assert.assertNotNull("exists", t);
}
Aggregations