30 lines
788 B
Java
30 lines
788 B
Java
package apps.startup;
|
|
|
|
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 StartupActionsPreferencesPanelTest extends PreferencesPanelTestBase<StartupActionsPreferencesPanel> {
|
|
|
|
@Override
|
|
@BeforeEach
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
jmri.util.JUnitUtil.initStartupActionsManager();
|
|
prefsPanel = new StartupActionsPreferencesPanel();
|
|
}
|
|
|
|
@Override
|
|
@Test
|
|
public void isPersistant(){
|
|
assertThat(prefsPanel.isPersistant()).isTrue();
|
|
}
|
|
// private static final Logger log = LoggerFactory.getLogger(StartupActionsPreferencesPanelTest.class);
|
|
|
|
}
|