KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > idaremedia > antx > solo > tests > ValueURIManagerTaskTest


1 /**
2  * $Id: ValueURIManagerTaskTest.java 180 2007-03-15 12:56:38Z ssmc $
3  * Copyright 2004-2005 iDare Media, Inc. All rights reserved.
4  *
5  * Originally written by iDare Media, Inc. for release into the public domain. This
6  * library, source form and binary form, is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public License (LGPL) as published
8  * by the Free Software Foundation; either version 2.1 of the License, or (at your option)
9  * any later version.<p>
10  *
11  * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
12  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13  * See the GNU LGPL for more details.<p>
14  *
15  * You should have received a copy of the GNU Lesser General Public License along with this
16  * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite
17  * 330, Boston, MA 02111-1307 USA. The GNU LGPL can be found online at
18  * http://www.fsf.org/copyleft/lesser.html<p>
19  *
20  * This product has been influenced by several projects within the open-source community.
21  * The JWare developers wish to acknowledge the open-source community's support. For more
22  * information regarding the open-source products used within JWare, please visit the
23  * JWare website.
24  *----------------------------------------------------------------------------------------*
25  * WEBSITE- http://www.jware.info EMAIL- inquiries@jware.info
26  *----------------------------------------------------------------------------------------*
27  **/

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 /**
37  * Unit test for {@linkplain com.idaremedia.antx.solo.ValueURIManagerTask}.
38  *
39  * @since JWare/AntX 0.5
40  * @author ssmc, &copy;2004-2005 <a HREF="http://www.jware.info">iDare&nbsp;Media,&nbsp;Inc.</a>
41  * @version 0.5
42  * @.safety single
43  * @.group impl,test
44  **/

45
46 public final class ValueURIManagerTaskTest extends HTC
47 {
48
49     /**
50      * Initialize new test case for ValueURIManagerTask.
51      * @param methodName test case (non-null)
52      **/

53     public ValueURIManagerTaskTest(String JavaDoc methodName)
54     {
55         super("ValueURIManagerTask::",methodName);
56     }
57
58
59     /**
60      * Create full test suite for ValueURIManagerTask.
61      **/

62     public static TestSuite suite()
63     {
64         return new TestSuite(ValueURIManagerTaskTest.class);
65     }
66
67
68     /**
69      * Make this test (standalone) self-running.
70      **/

71     public static void main(String JavaDoc[] argv)
72     {
73         HTCUtils.quickCheck(suite());
74     }
75
76 // ---------------------------------------------------------------------------------------------------------
77
// --------------------------------------- [ Misc Factory Methods ] ----------------------------------------
78
// ---------------------------------------------------------------------------------------------------------
79

80     protected void setUp() throws Exception JavaDoc
81     {
82         configureProjectFromResource("valueuris.xml");
83     }
84
85
86 // ---------------------------------------------------------------------------------------------------------
87
// ------------------------------------------- [ The Test Cases ] ------------------------------------------
88
// ---------------------------------------------------------------------------------------------------------
89

90     public void checkBaseline()
91     {
92         //--Ensures setUp() works and can find our xml file!
93
}
94
95     public void testBaseline()
96     {
97         checkBaseline();
98     }
99     
100     
101     public void testStandardURIs_AntX05()
102     {
103         runTarget("testStandardURIs_AntX05");
104     }
105     
106     
107     public void testSpacersRemoved_AntX05()
108     {
109         runTarget("testSpacersRemoved_AntX05");
110     }
111
112
113     public void testEmbeddedProperties_AntX05()
114     {
115         runTarget("testEmbeddedProperties_AntX05");
116     }
117
118
119     public void testCanCheckWhatsInstalled_AntX05()
120     {
121         runTarget("testCanCheckWhatsInstalled_AntX05");
122     }
123     
124     
125     public void testOverlayCoExistence_AntX05()
126     {
127         runTarget("testOverlayCoExistence_AntX05");
128     }
129
130
131     public void testInstallMessagesHandler_AntX05()
132     {
133         runTarget("testInstallMessagesHandler_AntX05");
134     }
135
136
137     public void testInstallShortHandConditionsHandler_AntX05()
138     {
139         runTarget("testInstallShortHandConditionsHandler_AntX05");
140     }
141
142
143     public void testInstallConditionHandler_AntX05()
144     {
145         runTarget("testInstallConditionHandler_AntX05");
146     }
147         
148     public void testSimplePipeline_AntX05()
149     {
150         runTarget("testSimplePipeline_AntX05");
151     }
152     
153     public void testEmptyFragmentsAllowed_AntX05()
154     {
155         runTarget("testEmptyFragmentsAllowed_AntX05");
156     }
157     
158     public void testCallHandlersFromMacrosInDiffNamespace_AntX05()
159     {
160         runTarget("testCallHandlersFromMacrosInDiffNamespace_AntX05");
161     }
162 }
163
164
165 /* end-of-ValueURIManagerTaskTest.java */
Popular Tags