1 28 29 package com.idaremedia.antx.mktemp.tests; 30 31 import junit.framework.TestSuite; 32 33 import com.idaremedia.antx.ut.HTC; 34 import com.idaremedia.antx.ut.HTCUtils; 35 36 46 47 public final class MkdirsTaskTest extends HTC 48 { 49 50 public static final String TEST_CATEGORY="CLASS"; 51 52 53 56 public MkdirsTaskTest(String methodName) 57 { 58 super("MkdirsTask::",methodName); 59 } 60 61 62 65 public static TestSuite suite() 66 { 67 return new TestSuite(MkdirsTaskTest.class); 68 } 69 70 71 74 public static TestSuite baseline() 75 { 76 return suite(); 77 } 78 79 80 83 public static void main(String [] argv) 84 { 85 HTCUtils.quickCheck(suite()); 86 } 87 88 89 93 protected void setUp() throws Exception 94 { 95 configureProjectFromResource("mkdirs.xml"); 96 } 97 98 99 103 public void checkBaseline() 104 { 105 } 107 108 public void testBaseline() 109 { 110 checkBaseline(); 111 } 112 113 public void testMkFromDelimitedList_AntX05() 114 { 115 runTarget("testMkFromDelimitedList_AntX05"); 116 } 117 118 public void testMkFromStringsList_AntX05() 119 { 120 runTarget("testMkFromStringsList_AntX05"); 121 } 122 123 public void testMkFromStringsFile_AntX05() 124 { 125 runTarget("testMkFromStringsFile_AntX05"); 126 } 127 128 public void testMkFromEmbeddedFileList_AntX05() 129 { 130 runTarget("testMkFromEmbeddedFileList_AntX05"); 131 } 132 133 public void testEmbeddedFileListInheritsBaseDir_AntX05() 134 { 135 runTarget("testEmbeddedFileListInheritsBaseDir_AntX05"); 136 } 137 138 public void testMergesShorthandAndEmbeddedFileLists_AntX05() 139 { 140 runTarget("testMergesShorthandAndEmbeddedFileLists_AntX05"); 141 } 142 143 public void testOnlyOneShorthandNameParam_AntX05() 144 { 145 runTarget("testOnlyOneShorthandNameParam_AntX05"); 146 } 147 148 public void testFailPreexistingNonDir_AntX05() 149 { 150 runTarget("testFailPreexistingNonDir_AntX05"); 151 } 152 153 public void testPassPreexistingNonDir_AntX05() 154 { 155 runTarget("testPassPreexistingNonDir_AntX05"); 156 } 157 } 158 159 | Popular Tags |