1 19 20 package org.netbeans.upgrade.systemoptions; 21 22 25 public class DerbyOptionsTest extends BasicTestForImport { 26 public DerbyOptionsTest(String testName) { 27 super(testName, "org-netbeans-modules-derby-DerbyOptions.settings"); 28 } 29 public void testPreferencesNodePath() throws Exception { 30 assertPreferencesNodePath("/org/netbeans/modules/derby"); 31 } 32 public void testPropertyNames() throws Exception { 33 assertPropertyNames(new String [] { 34 "systemHome", 35 "location" 36 }); 37 } 38 public void testSystemHome() throws Exception { 39 assertPropertyType("systemHome","java.lang.String"); 40 assertProperty("systemHome","/temp/databases"); 41 } 42 public void testLocation() throws Exception { 43 assertPropertyType("location","java.lang.String"); 44 assertProperty("location","/temp"); 45 } 46 } 47 | Popular Tags |