| 1 19 20 package org.netbeans.upgrade.systemoptions; 21 22 25 public class DataBaseOptionTest extends BasicTestForImport { 26 public DataBaseOptionTest(String testName) { 27 super(testName, "org-netbeans-modules-db-explorer-DatabaseOption.settings"); 28 } 29 30 public void testPreferencesNodePath() throws Exception { 31 assertPreferencesNodePath("/org/netbeans/modules/db"); 32 } 33 34 public void testPropertyNames() throws Exception { 35 assertPropertyNames(new String [] { 36 "autoConn", "debugMode" 37 }); 38 } 39 40 public void testAutoConn() throws Exception { 41 assertPropertyType("autoConn", "java.lang.Boolean"); 42 assertProperty("autoConn", "false"); 43 } 44 45 public void testDebugMode() throws Exception { 46 assertPropertyType("debugMode", "java.lang.Boolean"); 47 assertProperty("debugMode", "true"); 48 } 49 } 50 | Popular Tags |