47 lines
1.4 KiB
Java
47 lines
1.4 KiB
Java
package jmri.jmrix.loconet.uhlenbrock;
|
|
|
|
import jmri.jmrix.loconet.LnTrafficController;
|
|
import jmri.jmrix.loconet.LocoNetInterfaceScaffold;
|
|
import jmri.jmrix.loconet.UhlenbrockSlotManager;
|
|
import jmri.util.JUnitUtil;
|
|
import jmri.util.junit.annotations.*;
|
|
|
|
import org.junit.Assert;
|
|
import org.junit.jupiter.api.*;
|
|
|
|
/**
|
|
*
|
|
* @author Paul Bender Copyright (C) 2017
|
|
*/
|
|
public class UhlenbrockLnThrottleManagerTest extends jmri.managers.AbstractThrottleManagerTestBase {
|
|
|
|
private UhlenbrockSystemConnectionMemo memo;
|
|
|
|
@Test
|
|
@Override
|
|
@Disabled("parent class test requires further setup")
|
|
@ToDo("finish initialization and remove this overriden test so that the parent class test can run")
|
|
public void testGetThrottleInfo() {
|
|
Assert.fail("parent class test requires further setup");
|
|
}
|
|
|
|
@BeforeEach
|
|
@Override
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
LnTrafficController lnis = new LocoNetInterfaceScaffold();
|
|
UhlenbrockSlotManager slotmanager = new UhlenbrockSlotManager(lnis);
|
|
memo = new UhlenbrockSystemConnectionMemo(lnis,slotmanager);
|
|
tm = new UhlenbrockLnThrottleManager(memo);
|
|
}
|
|
|
|
@AfterEach
|
|
public void tearDown() {
|
|
memo.dispose();
|
|
JUnitUtil.tearDown();
|
|
}
|
|
|
|
// private static final Logger log = LoggerFactory.getLogger(UhlenbrockLnThrottleManagerTest.class);
|
|
|
|
}
|