35 lines
808 B
Java
35 lines
808 B
Java
package jmri.jmrix.tams;
|
|
|
|
import jmri.util.JUnitUtil;
|
|
|
|
import org.junit.Assert;
|
|
import org.junit.jupiter.api.*;
|
|
|
|
/**
|
|
*
|
|
* @author Paul Bender Copyright (C) 2017
|
|
*/
|
|
public class TamsPowerManagerTest {
|
|
|
|
@Test
|
|
public void testCTor() {
|
|
TamsTrafficController tc = new TamsInterfaceScaffold();
|
|
TamsPowerManager t = new TamsPowerManager(tc);
|
|
Assert.assertNotNull("exists",t);
|
|
}
|
|
|
|
@BeforeEach
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
}
|
|
|
|
@AfterEach
|
|
public void tearDown() {
|
|
JUnitUtil.clearShutDownManager(); // put in place because AbstractMRTrafficController implementing subclass was not terminated properly
|
|
JUnitUtil.tearDown();
|
|
}
|
|
|
|
// private static final Logger log = LoggerFactory.getLogger(TamsPowerManagerTest.class);
|
|
|
|
}
|