| 1 19 20 package org.netbeans.upgrade.systemoptions; 21 22 25 public class TaskListSettingsTest extends BasicTestForImport { 26 public TaskListSettingsTest(String testName) { 27 super(testName, "org-netbeans-modules-tasklist-docscan-Settings.settings"); 28 } 29 30 public void testPreferencesNodePath() throws Exception { 31 assertPreferencesNodePath("/org/netbeans/modules/tasklist/docscan"); 32 } 33 34 public void testPropertyNames() throws Exception { 35 assertPropertyNames(new String [] {"Tag<<<<<<<", 36 "Tag@todo", 37 "TagFIXME", 38 "TagPENDING", 39 "TagTODO", 40 "TagXXX", 41 "skipComments", 42 "modificationTime", 43 "usabilityLimit" 44 }); 45 } 46 47 public void testModificationTime() throws Exception { 48 assertPropertyType("modificationTime", "java.lang.Long"); 49 assertProperty("modificationTime", "0"); 50 } 51 public void testSkipComments() throws Exception { 52 assertPropertyType("skipComments","java.lang.Boolean"); 53 assertProperty("skipComments","false"); 54 } 55 public void testUsabilityLimit() throws Exception { 56 assertPropertyType("usabilityLimit","java.lang.Integer"); 57 assertProperty("usabilityLimit","300"); 58 } 59 60 public void testTaskTagsTypes() throws Exception { 61 assertProperty("Tag<<<<<<<", "1"); 62 assertProperty("Tag@todo","3"); 63 assertProperty("TagFIXME","3"); 64 assertProperty("TagPENDING","3"); 65 assertProperty("TagTODO","3"); 66 assertProperty("TagXXX","3"); 67 } 68 } 69 | Popular Tags |