Search in sources :

Example 6 with LocoNetSystemConnectionMemo

use of jmri.jmrix.loconet.LocoNetSystemConnectionMemo 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);
}
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)

Example 7 with LocoNetSystemConnectionMemo

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

LocoNetSystemConnectionMemo (jmri.jmrix.loconet.LocoNetSystemConnectionMemo)7 LocoNetInterfaceScaffold (jmri.jmrix.loconet.LocoNetInterfaceScaffold)6 LnTrafficController (jmri.jmrix.loconet.LnTrafficController)3 LocoNetMessage (jmri.jmrix.loconet.LocoNetMessage)3 SlotManager (jmri.jmrix.loconet.SlotManager)3 Test (org.junit.Test)3 DefaultMutableTreeNode (javax.swing.tree.DefaultMutableTreeNode)1