42 lines
865 B
Java
42 lines
865 B
Java
package jmri;
|
|
|
|
import jmri.util.JUnitUtil;
|
|
|
|
import org.junit.jupiter.api.*;
|
|
|
|
/**
|
|
*
|
|
* @author Paul Bender Copyright (C) 2018
|
|
*/
|
|
public class BooleanPropertyDescriptorTest {
|
|
|
|
@Test
|
|
public void testCTor() {
|
|
BooleanPropertyDescriptor t = new BooleanPropertyDescriptor("test",false){
|
|
@Override
|
|
public String getColumnHeaderText(){
|
|
return "test";
|
|
}
|
|
|
|
@Override
|
|
public boolean isEditable(NamedBean bean){
|
|
return false;
|
|
}
|
|
};
|
|
Assertions.assertNotNull( t, "exists");
|
|
}
|
|
|
|
@BeforeEach
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
}
|
|
|
|
@AfterEach
|
|
public void tearDown() {
|
|
JUnitUtil.tearDown();
|
|
}
|
|
|
|
// private static final Logger log = LoggerFactory.getLogger(TurnoutOperationManagerTest.class);
|
|
|
|
}
|