Search in sources :

Example 11 with XNetSystemConnectionMemo

use of jmri.jmrix.lenz.XNetSystemConnectionMemo in project JMRI by JMRI.

the class LZV100FrameTest method testCtor.

@Test
public void testCtor() {
    Assume.assumeFalse(GraphicsEnvironment.isHeadless());
    // infrastructure objects
    XNetInterfaceScaffold tc = new XNetInterfaceScaffold(new LenzCommandStation());
    LZV100Frame f = new LZV100Frame(new XNetSystemConnectionMemo(tc));
    Assert.assertNotNull(f);
    f.dispose();
}
Also used : XNetInterfaceScaffold(jmri.jmrix.lenz.XNetInterfaceScaffold) XNetSystemConnectionMemo(jmri.jmrix.lenz.XNetSystemConnectionMemo) LenzCommandStation(jmri.jmrix.lenz.LenzCommandStation) Test(org.junit.Test)

Example 12 with XNetSystemConnectionMemo

use of jmri.jmrix.lenz.XNetSystemConnectionMemo in project JMRI by JMRI.

the class LZ100FrameTest method testCtor.

@Test
public void testCtor() {
    Assume.assumeFalse(GraphicsEnvironment.isHeadless());
    // infrastructure objects
    XNetInterfaceScaffold tc = new XNetInterfaceScaffold(new LenzCommandStation());
    LZ100Frame f = new LZ100Frame(new XNetSystemConnectionMemo(tc));
    Assert.assertNotNull(f);
    f.dispose();
}
Also used : XNetInterfaceScaffold(jmri.jmrix.lenz.XNetInterfaceScaffold) XNetSystemConnectionMemo(jmri.jmrix.lenz.XNetSystemConnectionMemo) LenzCommandStation(jmri.jmrix.lenz.LenzCommandStation) Test(org.junit.Test)

Example 13 with XNetSystemConnectionMemo

use of jmri.jmrix.lenz.XNetSystemConnectionMemo in project JMRI by JMRI.

the class LZ100InternalFrameTest method testCtor.

@Test
public void testCtor() {
    Assume.assumeFalse(GraphicsEnvironment.isHeadless());
    // infrastructure objects
    XNetInterfaceScaffold tc = new XNetInterfaceScaffold(new LenzCommandStation());
    LZ100InternalFrame f = new LZ100InternalFrame(new XNetSystemConnectionMemo(tc));
    Assert.assertNotNull(f);
}
Also used : XNetInterfaceScaffold(jmri.jmrix.lenz.XNetInterfaceScaffold) XNetSystemConnectionMemo(jmri.jmrix.lenz.XNetSystemConnectionMemo) LenzCommandStation(jmri.jmrix.lenz.LenzCommandStation) Test(org.junit.Test)

Aggregations

XNetInterfaceScaffold (jmri.jmrix.lenz.XNetInterfaceScaffold)13 XNetSystemConnectionMemo (jmri.jmrix.lenz.XNetSystemConnectionMemo)13 LenzCommandStation (jmri.jmrix.lenz.LenzCommandStation)11 Test (org.junit.Test)6 XNetListenerScaffold (jmri.jmrix.lenz.XNetListenerScaffold)4 Before (org.junit.Before)4 XNetThrottleTest (jmri.jmrix.lenz.XNetThrottleTest)2