Files
JIMRI/java/test/jmri/jmrit/vsdecoder/VSDecoderManagerThreadTest.java
2026-06-17 14:00:51 +02:00

36 lines
793 B
Java

package jmri.jmrit.vsdecoder;
import jmri.util.JUnitUtil;
import org.junit.Assert;
import org.junit.jupiter.api.*;
/**
*
* @author Paul Bender Copyright (C) 2017
*/
public class VSDecoderManagerThreadTest {
@Test
public void testInstance() {
VSDecoderManagerThread t = VSDecoderManagerThread.instance();
Assert.assertNotNull("exists",t);
// the instance method starts a thread, make sure it goes away.
t.kill();
}
@BeforeEach
public void setUp() {
JUnitUtil.setUp();
}
@AfterEach
public void tearDown() {
JUnitUtil.removeMatchingThreads("VSDecoderManagerThread");
JUnitUtil.tearDown();
}
// private static final Logger log = LoggerFactory.getLogger(VSDecoderManagerThreadTest.class);
}