use of jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold in project JMRI by JMRI.
the class EditNodeFrameTest method setUp.
@Before
public void setUp() {
JUnitUtil.resetInstanceManager();
tc = new XBeeInterfaceScaffold();
m = new XBeeConnectionMemo();
m.setSystemPrefix("ABC");
tc.setAdapterMemo(m);
}
use of jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold in project JMRI by JMRI.
the class PacketGenActionTest method testStringCTor.
@Test
public void testStringCTor() {
XBeeTrafficController tc = new XBeeInterfaceScaffold();
XBeeConnectionMemo m = new XBeeConnectionMemo();
InstanceManager.store(m, XBeeConnectionMemo.class);
PacketGenAction t = new PacketGenAction("Test Action");
Assert.assertNotNull("exists", t);
}
use of jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold in project JMRI by JMRI.
the class PacketGenActionTest method testStringMemoCTor.
@Test
public void testStringMemoCTor() {
XBeeTrafficController tc = new XBeeInterfaceScaffold();
XBeeConnectionMemo m = new XBeeConnectionMemo();
PacketGenAction t = new PacketGenAction("Test Action", m);
Assert.assertNotNull("exists", t);
}
use of jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold in project JMRI by JMRI.
the class PacketGenActionTest method testMemoCTor.
@Test
public void testMemoCTor() {
XBeeTrafficController tc = new XBeeInterfaceScaffold();
XBeeConnectionMemo m = new XBeeConnectionMemo();
PacketGenAction t = new PacketGenAction(m);
Assert.assertNotNull("exists", t);
}
use of jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold in project JMRI by JMRI.
the class PacketGenActionTest method testCTor.
@Test
public void testCTor() {
XBeeTrafficController tc = new XBeeInterfaceScaffold();
XBeeConnectionMemo m = new XBeeConnectionMemo();
InstanceManager.store(m, XBeeConnectionMemo.class);
PacketGenAction t = new PacketGenAction();
Assert.assertNotNull("exists", t);
}
Aggregations