1 19 20 package gui.propertyeditors; 21 22 import org.netbeans.junit.NbTestSuite; 23 24 25 30 public class PropertyType_HTMLBrowser extends PropertyEditorsTest { 31 32 public String propertyName_L; 33 public String propertyValue_L; 34 public String propertyValueExpectation_L; 35 36 public boolean waitDialog = false; 37 38 39 40 public PropertyType_HTMLBrowser(String testName) { 41 super(testName); 42 } 43 44 45 public void setUp(){ 46 propertyName_L = "Html Browser"; 47 super.setUp(); 48 } 49 50 public static NbTestSuite suite() { 51 NbTestSuite suite = new NbTestSuite(); 52 suite.addTest(new PropertyType_HTMLBrowser("testByComboExternal")); 53 suite.addTest(new PropertyType_HTMLBrowser("testByComboSWINGBrowser")); 54 return suite; 55 } 56 57 public void testByComboExternal(){ 58 propertyValue_L = org.netbeans.jellytools.Bundle.getStringTrimmed("org.netbeans.modules.extbrowser.Bundle", "Services/Browsers/SimpleExtBrowser.settings"); propertyValueExpectation_L = propertyValue_L; 60 waitDialog = false; 61 setByCombo(propertyName_L, propertyValue_L, true); 62 } 63 64 public void testByComboSWINGBrowser(){ 65 propertyValue_L = org.netbeans.jellytools.Bundle.getStringTrimmed("org.netbeans.core.ui.Bundle", "Services/Browsers/SwingBrowser.ser"); propertyValueExpectation_L = propertyValue_L; 67 waitDialog = false; 68 setByCombo(propertyName_L, propertyValue_L, true); 69 } 70 71 public void setCustomizerValue() { 72 } 73 74 public void verifyPropertyValue(boolean expectation) { 75 verifyExpectationValue(propertyName_L,expectation, propertyValueExpectation_L, propertyValue_L, false); 76 } 77 78 79 82 public static void main(String [] args) { 83 junit.textui.TestRunner.run(suite()); 85 } 86 87 public void verifyCustomizerLayout() { 88 } 89 90 } 91 | Popular Tags |