33 lines
861 B
Java
33 lines
861 B
Java
package apps;
|
|
|
|
import jmri.swing.PreferencesPanelTestBase;
|
|
import jmri.util.JUnitUtil;
|
|
|
|
import org.junit.jupiter.api.*;
|
|
|
|
import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
/**
|
|
*
|
|
* @author Paul Bender Copyright (C) 2017
|
|
*/
|
|
public class SystemConsoleConfigPanelTest extends PreferencesPanelTestBase<SystemConsoleConfigPanel> {
|
|
|
|
@Override
|
|
@BeforeEach
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
jmri.InstanceManager.setDefault(apps.systemconsole.SystemConsolePreferencesManager.class,new apps.systemconsole.SystemConsolePreferencesManager());
|
|
prefsPanel = new SystemConsoleConfigPanel();
|
|
}
|
|
|
|
@Override
|
|
@Test
|
|
public void isPersistant() {
|
|
assertThat(prefsPanel.isPersistant()).isTrue();
|
|
}
|
|
|
|
// private static final Logger log = LoggerFactory.getLogger(SystemConsoleConfigPanelTest.class);
|
|
|
|
}
|