Files
2026-06-17 14:00:51 +02:00

38 lines
870 B
Java

package jmri.jmrit.swing.meter;
import jmri.util.JUnitUtil;
import org.junit.Assert;
import org.junit.jupiter.api.*;
/**
*
* @author Paul Bender Copyright (C) 2017
* @author Andrew Crosland Copyright (C) 2020
* @author Daniel Bergqvist Copyright (C) 2020
*/
public class MeterActionTest {
@Test
public void testCTor() {
MeterAction t = new MeterAction();
Assert.assertNotNull("exists",t);
// Meters may be created while the program is running so MeterAction
// is enabled even if there is no meters currently.
Assert.assertTrue(t.isEnabled());
}
@BeforeEach
public void setUp() {
JUnitUtil.setUp();
}
@AfterEach
public void tearDown() {
JUnitUtil.tearDown();
}
// private static final Logger log = LoggerFactory.getLogger(AmpMeterActionTest.class);
}