| 1 19 20 package gui.propertyeditors; 21 22 import org.netbeans.junit.NbTestSuite; 23 24 25 30 public class PropertyType_ElementFormat extends PropertyEditorsTest { 31 32 public String propertyName_L; 33 public String propertyValue_L; 34 35 public String propertyValueExpectation_L; 36 37 public boolean waitDialog = false; 38 39 40 41 public PropertyType_ElementFormat(String testName) { 42 super(testName); 43 } 44 45 46 public void setUp(){ 47 propertyName_L = "Element Format"; 48 super.setUp(); 49 } 50 51 public static NbTestSuite suite() { 52 NbTestSuite suite = new NbTestSuite(); 53 suite.addTest(new PropertyType_ElementFormat("testByInPlace")); 54 return suite; 55 } 56 57 public void testByInPlace(){ 58 propertyValue_L = "element"; 59 propertyValueExpectation_L = propertyValue_L; 60 waitDialog = false; 61 setByInPlace(propertyName_L, propertyValue_L, true); 62 } 63 64 65 public void setCustomizerValue() { 66 } 67 68 public void verifyPropertyValue(boolean expectation) { 69 verifyExpectationValue(propertyName_L,expectation, propertyValueExpectation_L, propertyValue_L, waitDialog); 70 } 71 72 73 76 public static void main(String [] args) { 77 junit.textui.TestRunner.run(suite()); 79 } 80 81 public void verifyCustomizerLayout() { 82 } 83 84 } 85 | Popular Tags |