Search in sources :

Example 11 with LocoNetInterfaceScaffold

use of jmri.jmrix.loconet.LocoNetInterfaceScaffold 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

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