Search in sources :

Example 6 with LnTrafficController

use of jmri.jmrix.loconet.LnTrafficController 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);
}
Also used : SlotManager(jmri.jmrix.loconet.SlotManager) LocoNetInterfaceScaffold(jmri.jmrix.loconet.LocoNetInterfaceScaffold) LocoNetSystemConnectionMemo(jmri.jmrix.loconet.LocoNetSystemConnectionMemo) LnTrafficController(jmri.jmrix.loconet.LnTrafficController) Test(org.junit.Test)

Aggregations

LnTrafficController (jmri.jmrix.loconet.LnTrafficController)6 LocoNetInterfaceScaffold (jmri.jmrix.loconet.LocoNetInterfaceScaffold)5 Test (org.junit.Test)5 LocoNetSystemConnectionMemo (jmri.jmrix.loconet.LocoNetSystemConnectionMemo)3 SlotManager (jmri.jmrix.loconet.SlotManager)3 UhlenbrockSlotManager (jmri.jmrix.loconet.UhlenbrockSlotManager)2 LocoNetMessage (jmri.jmrix.loconet.LocoNetMessage)1