1 28 29 package com.idaremedia.antx.solo.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 CopyReferenceTaskTest extends HTC 48 { 49 50 public static final String TEST_CATEGORY="CLASS"; 51 52 53 56 public CopyReferenceTaskTest(String methodName) 57 { 58 super("CopyReferenceTask::",methodName); 59 } 60 61 62 65 public static TestSuite suite() 66 { 67 return new TestSuite(CopyReferenceTaskTest.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 92 protected void setUp() throws Exception 93 { 94 configureProjectFromResource("copy.xml"); 95 } 96 97 98 102 public void checkBaseline() 103 { 104 } 106 107 public void testBaseline() 108 { 109 checkBaseline(); 110 } 111 112 113 public void testHaltIfRefExists_AntX03() 114 { 115 runExpecting("testHaltIfRefExists_AntX03","ToRefId Exists"); 116 } 117 118 119 public void testHaltIfNoToRefIdDefined_AntX03() 120 { 121 runExpecting("testHaltIfNoToRefIdDefined_AntX03","No ToRefId Defined"); 122 } 123 124 125 public void testHaltIfCopyToSelf_AntX03() 126 { 127 runExpecting("testHaltIfCopyToSelf_AntX03","Copying ToSelf"); 128 } 129 130 131 public void testCopySerializableOnly_AntX03() 132 { 133 runTargetDumpFullLog("testCopySerializableOnly_AntX03"); 134 } 135 136 137 public void testCopyCloneableOnly_AntX03() 138 { 139 runTarget("testCopyCloneableOnly_AntX03"); 140 } 141 142 143 public void testOverwrite_AntX05() 144 { 145 runTarget("testOverwrite_AntX05"); 146 } 147 148 149 public void testCopyRefsShallow_AntX05() 150 { 151 runTarget("testCopyRefsShallow_AntX05"); 152 } 153 } 154 155 156 | Popular Tags |