Search in sources :

Example 1 with XBeeInterfaceScaffold

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);
}
Also used : XBeeConnectionMemo(jmri.jmrix.ieee802154.xbee.XBeeConnectionMemo) XBeeInterfaceScaffold(jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold) Before(org.junit.Before)

Example 2 with XBeeInterfaceScaffold

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);
}
Also used : XBeeTrafficController(jmri.jmrix.ieee802154.xbee.XBeeTrafficController) XBeeConnectionMemo(jmri.jmrix.ieee802154.xbee.XBeeConnectionMemo) XBeeInterfaceScaffold(jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold) Test(org.junit.Test)

Example 3 with XBeeInterfaceScaffold

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);
}
Also used : XBeeTrafficController(jmri.jmrix.ieee802154.xbee.XBeeTrafficController) XBeeConnectionMemo(jmri.jmrix.ieee802154.xbee.XBeeConnectionMemo) XBeeInterfaceScaffold(jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold) Test(org.junit.Test)

Example 4 with XBeeInterfaceScaffold

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);
}
Also used : XBeeTrafficController(jmri.jmrix.ieee802154.xbee.XBeeTrafficController) XBeeConnectionMemo(jmri.jmrix.ieee802154.xbee.XBeeConnectionMemo) XBeeInterfaceScaffold(jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold) Test(org.junit.Test)

Example 5 with XBeeInterfaceScaffold

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);
}
Also used : XBeeTrafficController(jmri.jmrix.ieee802154.xbee.XBeeTrafficController) XBeeConnectionMemo(jmri.jmrix.ieee802154.xbee.XBeeConnectionMemo) XBeeInterfaceScaffold(jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold) Test(org.junit.Test)

Aggregations

XBeeConnectionMemo (jmri.jmrix.ieee802154.xbee.XBeeConnectionMemo)5 XBeeInterfaceScaffold (jmri.jmrix.ieee802154.xbee.XBeeInterfaceScaffold)5 XBeeTrafficController (jmri.jmrix.ieee802154.xbee.XBeeTrafficController)4 Test (org.junit.Test)4 Before (org.junit.Before)1