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 CopyPropertyTaskTest extends HTC 48 { 49 50 public static final String TEST_CATEGORY="CLASS"; 51 52 53 56 public CopyPropertyTaskTest(String methodName) 57 { 58 super("CopyPropertyTask::",methodName); 59 } 60 61 62 65 public static TestSuite suite() 66 { 67 return new TestSuite(CopyPropertyTaskTest.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 testCopyPropertyFlex_AntX02() 114 { 115 runTargetDumpFullLog("testCopyPropertyFlex_AntX02"); 116 } 117 118 119 public void testCopyPropertyUnless_AntX03() 120 { 121 runTarget("testCopyPropertyUnless_AntX03"); 122 } 123 124 125 public void testCopyPropertyValueTransform_AntX04() 126 { 127 runTarget("testCopyPropertyValueTransform_AntX04"); 128 } 129 130 public void testAlterSystemProperty_AntX05() 131 { 132 runTarget("testAlterSystemProperty_AntX05"); 133 assertEquals(System.getProperty("testAlterSystemProperty_AntX05__"),"joe"); 134 } 135 136 137 public void testCopyPropertyDecimalTransform_AntX05() 138 { 139 runTarget("testCopyPropertyDecimalTransform_AntX05"); 140 } 141 } 142 143 144 145 | Popular Tags |