1 28 29 package com.idaremedia.antx.condition.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 45 public final class RuleMacroDefTest extends HTC 46 { 47 48 public static final String TEST_CATEGORY="CLASS"; 49 50 51 54 public RuleMacroDefTest(String methodName) 55 { 56 super("RuleMacroDef::",methodName); 57 } 58 59 60 63 public static TestSuite suite() 64 { 65 return new TestSuite(RuleMacroDefTest.class); 66 } 67 68 69 72 public static TestSuite baseline() 73 { 74 return suite(); 75 } 76 77 78 81 public static void main(String [] argv) 82 { 83 HTCUtils.quickCheck(suite()); 84 } 85 86 87 91 protected void setUp() throws Exception 92 { 93 configureProjectFromResource("rulemacro.xml"); 94 } 95 96 100 public void checkBaseline() 101 { 102 } 104 105 public void testBaseline() 106 { 107 checkBaseline(); 108 } 109 110 public void testAlwaysTrueMacro_AntX04() 111 { 112 runTarget("testAlwaysTrueMacro_AntX04"); 113 } 114 115 public void testSimpleAntMacros_AntX04() 116 { 117 runTarget("testSimpleAntMacros_AntX04"); 118 } 119 120 public void testNestedRequireElements_AntX04() 121 { 122 runTarget("testNestedRequireElements_AntX04"); 123 } 124 125 public void testMultiOptionShortHand_AntX04() 126 { 127 runTarget("testMultiOptionShortHand_AntX04"); 128 } 129 130 public void testAllowBatchChecks_AntX05() 131 { 132 runTarget("testAllowBatchChecks_AntX05"); 133 } 134 } 135 136 137 | Popular Tags |