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 45 46 public class MkFileTaskTest extends HTC 47 { 48 49 public static final String TEST_CATEGORY="CLASS"; 50 51 52 55 public MkFileTaskTest(String methodName) 56 { 57 super("MkFileTask::",methodName); 58 } 59 60 61 64 public static TestSuite suite() 65 { 66 return new TestSuite(MkFileTaskTest.class); 67 } 68 69 70 73 public static TestSuite baseline() 74 { 75 return suite(); 76 } 77 78 79 82 public static void main(String [] argv) 83 { 84 HTCUtils.quickCheck(suite()); 85 } 86 87 88 92 protected void setUp() throws Exception 93 { 94 configureProjectFromResource("newfile.xml"); 95 } 96 97 98 102 public void checkBaseline() 103 { 104 } 106 107 public void testBaseline() 108 { 109 checkBaseline(); 110 } 111 112 public void testBrokenIfNoPath_AntX03() 113 { 114 runExpecting("testBrokenIfNoPath_AntX03","No Path"); 115 } 116 117 public void testNewEmptyFile_AntX03() 118 { 119 runTarget("testNewEmptyFile_AntX03"); 120 } 121 122 public void testNewFileByInlinedDefn_AntX03() 123 { 124 runTarget("testNewFileByInlinedDefn_AntX03"); 125 } 126 127 public void testNewFileByPrototypeFile_AntX03() 128 { 129 runTarget("testNewFileByPrototypeFile_AntX03"); 130 } 131 132 public void testNewFileByReferenceList_AntX03() 133 { 134 runTarget("testNewFileByReferenceList_AntX03"); 135 } 136 137 public void testNewFileByPropertySets_AntX04() 138 { 139 runTarget("testNewFileByPropertySets_AntX04"); 140 } 141 142 public void testFileUntouchedIfOverwriteFalse_AntX05() 143 { 144 runTarget("testFileUntouchedIfOverwriteFalse_AntX05"); 145 } 146 } 147 148 149 150 151 | Popular Tags |