You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2002/04/01 07:50:06 UTC
cvs commit: jakarta-commons/docs/latka/xref folder.gif file.gif index.html
dion 02/03/31 21:50:06
Added: docs/latka/xref/test/org folder.gif file.gif index.html
docs/latka/xref/test/org/apache folder.gif file.gif
index.html
docs/latka/xref/test/org/apache/commons/latka/junit
folder.gif file.gif TestJUnitTestAdapter.html
TestJUnitEventReporter.html TestAll.html index.html
docs/latka/xref/test/org/apache/commons/latka folder.gif
file.gif TestStatusCodes.html TestAll.html
index.html
docs/latka/xref/test/org/apache/commons folder.gif file.gif
index.html
docs/latka/xref/test folder.gif file.gif index.html
docs/latka/xref folder.gif file.gif index.html
Log:
New Maven generated site
Revision Changes Path
1.1 jakarta-commons/docs/latka/xref/test/org/folder.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/org/file.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/org/index.html
Index: index.html
===================================================================
<html>
<body bgcolor="white">
<a href="../">[parent]</a>
<hr>
<table width="100%">
<tr>
<td><b>Name</b></td>
<td><b>Size</b></td>
<td><b>Last Modified</b></td>
</tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./folder.gif" valign="middle" border="0"> <a href="apache/index.html">apache</a></td><td valign="middle" NOWRAP>0 (in bytes) </td><td valign="middle" NOWRAP>30/03/2002</td></tr>
</table>
<hr>
<center>This page automatically generated by Maven</center>
</body>
</html>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/folder.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/file.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/index.html
Index: index.html
===================================================================
<html>
<body bgcolor="white">
<a href="../">[parent]</a>
<hr>
<table width="100%">
<tr>
<td><b>Name</b></td>
<td><b>Size</b></td>
<td><b>Last Modified</b></td>
</tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./folder.gif" valign="middle" border="0"> <a href="commons/index.html">commons</a></td><td valign="middle" NOWRAP>0 (in bytes) </td><td valign="middle" NOWRAP>30/03/2002</td></tr>
</table>
<hr>
<center>This page automatically generated by Maven</center>
</body>
</html>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/junit/folder.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/junit/file.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/junit/TestJUnitTestAdapter.html
Index: TestJUnitTestAdapter.html
===================================================================
<html>
<body bgcolor="white">
<pre>
<table bgcolor="#FFFFCC" cellpadding="0" cellspacing="0" border="0" width="100%"><a href="../../../../../../../apidocs/org/apache/commons/latka/junit/TestJUnitTestAdapter.html">View Javadoc</a></table>
<a name="1" href="#1">1</a> <font color="#329900"><i>/*</font></i>
<a name="2" href="#2">2</a> <font color="#329900"><i> * ====================================================================</font></i>
<a name="3" href="#3">3</a> <font color="#329900"><i> *</font></i>
<a name="4" href="#4">4</a> <font color="#329900"><i> * The Apache Software License, Version 1.1</font></i>
<a name="5" href="#5">5</a> <font color="#329900"><i> *</font></i>
<a name="6" href="#6">6</a> <font color="#329900"><i> * Copyright (c) 1999 The Apache Software Foundation. All rights </font></i>
<a name="7" href="#7">7</a> <font color="#329900"><i> * reserved.</font></i>
<a name="8" href="#8">8</a> <font color="#329900"><i> *</font></i>
<a name="9" href="#9">9</a> <font color="#329900"><i> * Redistribution and use in source and binary forms, with or without</font></i>
<a name="10" href="#10">10</a> <font color="#329900"><i> * modification, are permitted provided that the following conditions</font></i>
<a name="11" href="#11">11</a> <font color="#329900"><i> * are met:</font></i>
<a name="12" href="#12">12</a> <font color="#329900"><i> *</font></i>
<a name="13" href="#13">13</a> <font color="#329900"><i> * 1. Redistributions of source code must retain the above copyright</font></i>
<a name="14" href="#14">14</a> <font color="#329900"><i> * notice, this list of conditions and the following disclaimer. </font></i>
<a name="15" href="#15">15</a> <font color="#329900"><i> *</font></i>
<a name="16" href="#16">16</a> <font color="#329900"><i> * 2. Redistributions in binary form must reproduce the above copyright</font></i>
<a name="17" href="#17">17</a> <font color="#329900"><i> * notice, this list of conditions and the following disclaimer in</font></i>
<a name="18" href="#18">18</a> <font color="#329900"><i> * the documentation and/or other materials provided with the</font></i>
<a name="19" href="#19">19</a> <font color="#329900"><i> * distribution.</font></i>
<a name="20" href="#20">20</a> <font color="#329900"><i> *</font></i>
<a name="21" href="#21">21</a> <font color="#329900"><i> * 3. The end-user documentation included with the redistribution, if</font></i>
<a name="22" href="#22">22</a> <font color="#329900"><i> * any, must include the following acknowlegement: </font></i>
<a name="23" href="#23">23</a> <font color="#329900"><i> * "This product includes software developed by the </font></i>
<a name="24" href="#24">24</a> <font color="#329900"><i> * Apache Software Foundation (<a href="http://www.apache.org/" target="alexandria_uri">http://www.apache.org/</a>)."</font></i>
<a name="25" href="#25">25</a> <font color="#329900"><i> * Alternately, this acknowlegement may appear in the software itself,</font></i>
<a name="26" href="#26">26</a> <font color="#329900"><i> * if and wherever such third-party acknowlegements normally appear.</font></i>
<a name="27" href="#27">27</a> <font color="#329900"><i> *</font></i>
<a name="28" href="#28">28</a> <font color="#329900"><i> * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software</font></i>
<a name="29" href="#29">29</a> <font color="#329900"><i> * Foundation" must not be used to endorse or promote products derived</font></i>
<a name="30" href="#30">30</a> <font color="#329900"><i> * from this software without prior written permission. For written </font></i>
<a name="31" href="#31">31</a> <font color="#329900"><i> * permission, please contact apache@apache.org.</font></i>
<a name="32" href="#32">32</a> <font color="#329900"><i> *</font></i>
<a name="33" href="#33">33</a> <font color="#329900"><i> * 5. Products derived from this software may not be called "Apache"</font></i>
<a name="34" href="#34">34</a> <font color="#329900"><i> * nor may "Apache" appear in their names without prior written</font></i>
<a name="35" href="#35">35</a> <font color="#329900"><i> * permission of the Apache Group.</font></i>
<a name="36" href="#36">36</a> <font color="#329900"><i> *</font></i>
<a name="37" href="#37">37</a> <font color="#329900"><i> * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED</font></i>
<a name="38" href="#38">38</a> <font color="#329900"><i> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES</font></i>
<a name="39" href="#39">39</a> <font color="#329900"><i> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</font></i>
<a name="40" href="#40">40</a> <font color="#329900"><i> * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR</font></i>
<a name="41" href="#41">41</a> <font color="#329900"><i> * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</font></i>
<a name="42" href="#42">42</a> <font color="#329900"><i> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</font></i>
<a name="43" href="#43">43</a> <font color="#329900"><i> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF</font></i>
<a name="44" href="#44">44</a> <font color="#329900"><i> * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</font></i>
<a name="45" href="#45">45</a> <font color="#329900"><i> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,</font></i>
<a name="46" href="#46">46</a> <font color="#329900"><i> * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT</font></i>
<a name="47" href="#47">47</a> <font color="#329900"><i> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</font></i>
<a name="48" href="#48">48</a> <font color="#329900"><i> * SUCH DAMAGE.</font></i>
<a name="49" href="#49">49</a> <font color="#329900"><i> * ====================================================================</font></i>
<a name="50" href="#50">50</a> <font color="#329900"><i> *</font></i>
<a name="51" href="#51">51</a> <font color="#329900"><i> * This software consists of voluntary contributions made by many</font></i>
<a name="52" href="#52">52</a> <font color="#329900"><i> * individuals on behalf of the Apache Software Foundation. For more</font></i>
<a name="53" href="#53">53</a> <font color="#329900"><i> * information on the Apache Software Foundation, please see</font></i>
<a name="54" href="#54">54</a> <font color="#329900"><i> * <<a href="http://www.apache.org/>" target="alexandria_uri">http://www.apache.org/></a>;.</font></i>
<a name="55" href="#55">55</a> <font color="#329900"><i> *</font></i>
<a name="56" href="#56">56</a> <font color="#329900"><i> * [Additional notices, if required by prior licensing conditions]</font></i>
<a name="57" href="#57">57</a> <font color="#329900"><i> *</font></i>
<a name="58" href="#58">58</a> <font color="#329900"><i> */</font></i>
<a name="59" href="#59">59</a>
<a name="60" href="#60">60</a> <b>package</b> <a href="../../../../../org/apache/commons/latka/junit/index.html">org.apache.commons.latka.junit</a>;
<a name="61" href="#61">61</a>
<a name="62" href="#62">62</a> <b>import</b> java.io.File;
<a name="63" href="#63">63</a> <b>import</b> java.io.FileNotFoundException;
<a name="64" href="#64">64</a> <b>import</b> java.io.FileReader;
<a name="65" href="#65">65</a> <b>import</b> java.net.MalformedURLException;
<a name="66" href="#66">66</a> <b>import</b> java.net.URL;
<a name="67" href="#67">67</a>
<a name="68" href="#68">68</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/index.html">org.apache.commons.latka</a>.<a href="../../../../../org/apache/commons/latka/Latka.html">Latka</a>;
<a name="69" href="#69">69</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/index.html">org.apache.commons.latka</a>.<a href="../../../../../org/apache/commons/latka/Suite.html">Suite</a>;
<a name="70" href="#70">70</a>
<a name="71" href="#71">71</a> <b>import</b> org.xml.sax.InputSource;
<a name="72" href="#72">72</a>
<a name="73" href="#73">73</a> <b>import</b> junit.framework.Test;
<a name="74" href="#74">74</a> <b>import</b> junit.framework.TestCase;
<a name="75" href="#75">75</a> <b>import</b> junit.framework.TestResult;
<a name="76" href="#76">76</a> <b>import</b> junit.framework.TestSuite;
<a name="77" href="#77">77</a>
<a name="78" href="#78">78</a> <font color="#AA0000"><i>/**<font color="#AA0000"><i>*</font></i></font></i>
<a name="79" href="#79">79</a> <font color="#AA0000"><i> * @author Chuck Burdick</font></i>
<a name="80" href="#80">80</a> <font color="#AA0000"><i> * @version $Id: TestJUnitTestAdapter.html,v 1.1 2002/04/01 05:50:05 dion Exp $</font></i>
<a name="81" href="#81">81</a> <font color="#AA0000"><i> */</font></i>
<a name="82" href="#82">82</a> <b>public</b> <b>class</b> <a href="../../../../../org/apache/commons/latka/junit/TestJUnitTestAdapter.html">TestJUnitTestAdapter</a> <b>extends</b> TestCase {
<a name="83" href="#83">83</a> <b>private</b> String _xmlFileName = <font color="#000099">"tests/samples/TestCommonsWebsite.xml"</font>;
<a name="84" href="#84">84</a> <b>private</b> File _xmlFile = <b>null</b>;
<a name="85" href="#85">85</a> <b>private</b> <a href="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html">JUnitTestAdapter</a> _adapter = <b>null</b>;
<a name="86" href="#86">86</a> <b>private</b> <a href="../../../../../org/apache/commons/latka/Suite.html">Suite</a> _suite = <b>null</b>;
<a name="87" href="#87">87</a>
<a name="88" href="#88">88</a> <b>public</b> <a href="../../../../../org/apache/commons/latka/junit/TestJUnitTestAdapter.html">TestJUnitTestAdapter</a>(String testName) {
<a name="89" href="#89">89</a> <b>super</b>(testName);
<a name="90" href="#90">90</a> }
<a name="91" href="#91">91</a>
<a name="92" href="#92">92</a> <b>public</b> <b>static</b> Test suite() {
<a name="93" href="#93">93</a> <b>return</b> <b>new</b> TestSuite(TestJUnitTestAdapter.<b>class</b>);
<a name="94" href="#94">94</a> }
<a name="95" href="#95">95</a>
<a name="96" href="#96">96</a> <b>public</b> <b>static</b> <b>void</b> main(String args[]) {
<a name="97" href="#97">97</a> String[] testCaseName = { TestJUnitTestAdapter.<b>class</b>.getName() };
<a name="98" href="#98">98</a> junit.textui.TestRunner.main(testCaseName);
<a name="99" href="#99">99</a> }
<a name="100" href="#100">100</a>
<a name="101" href="#101">101</a> <b>public</b> <b>void</b> setUp() throws Exception {
<a name="102" href="#102">102</a> <b>super</b>.setUp();
<a name="103" href="#103">103</a> String baseDir = System.getProperty(<font color="#000099">"basedir"</font>);
<a name="104" href="#104">104</a> assertNotNull(<font color="#000099">"The system property basedir was not defined."</font>, baseDir);
<a name="105" href="#105">105</a> String fs = System.getProperty(<font color="#000099">"file.separator"</font>);
<a name="106" href="#106">106</a> assertNotNull(<font color="#000099">"The system property file.separator was not defined."</font>, fs);
<a name="107" href="#107">107</a> _xmlFileName = baseDir + fs + _xmlFileName;
<a name="108" href="#108">108</a> _xmlFile = <b>new</b> File(_xmlFileName);
<a name="109" href="#109">109</a> _suite = <b>new</b> <a href="../../../../../org/apache/commons/latka/Suite.html">Suite</a>(<b>new</b> FileReader(_xmlFile));
<a name="110" href="#110">110</a> _adapter = <b>new</b> <a href="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html">JUnitTestAdapter</a>(_suite, 9);
<a name="111" href="#111">111</a> }
<a name="112" href="#112">112</a>
<a name="113" href="#113">113</a> <b>public</b> <b>void</b> testParser() throws Throwable {
<a name="114" href="#114">114</a> assertEquals(
<a name="115" href="#115">115</a> <font color="#000099">"Should parse the xml and count the request objects"</font>, 9,
<a name="116" href="#116">116</a> _adapter.parse(<b>new</b> InputSource(_xmlFile.toURL().toString())));
<a name="117" href="#117">117</a> }
<a name="118" href="#118">118</a>
<a name="119" href="#119">119</a> <b>public</b> <b>void</b> testCount() {
<a name="120" href="#120">120</a> assertEquals(<font color="#000099">"Should get 1 TestCase for each request"</font>,
<a name="121" href="#121">121</a> 9, _adapter.countTestCases());
<a name="122" href="#122">122</a> }
<a name="123" href="#123">123</a>
<a name="124" href="#124">124</a> <b>public</b> <b>void</b> testCreateNullAdapterFromResource() {
<a name="125" href="#125">125</a> Test myTest = JUnitTestAdapter.createTestFromResource(<font color="#000099">"bogus"</font>);
<a name="126" href="#126">126</a> assertNull(<font color="#000099">"Should get null object back"</font>, myTest);
<a name="127" href="#127">127</a> }
<a name="128" href="#128">128</a>
<a name="129" href="#129">129</a> <b>public</b> <b>void</b> testCreateAdapterFromFile() {
<a name="130" href="#130">130</a> Test myTest = JUnitTestAdapter.createTestFromFile(_xmlFile);
<a name="131" href="#131">131</a> assertNotNull(<font color="#000099">"Should get object back"</font>, myTest);
<a name="132" href="#132">132</a> assertEquals(<font color="#000099">"Should get 1 TestCase for each request"</font>,
<a name="133" href="#133">133</a> 9, myTest.countTestCases());
<a name="134" href="#134">134</a> }
<a name="135" href="#135">135</a>
<a name="136" href="#136">136</a> <b>public</b> <b>void</b> testCreateAdapterFromFileName() {
<a name="137" href="#137">137</a> Test myTest = JUnitTestAdapter.createTestFromFile(_xmlFileName);
<a name="138" href="#138">138</a> assertNotNull(<font color="#000099">"Should get object back"</font>, myTest);
<a name="139" href="#139">139</a> assertEquals(<font color="#000099">"Should get 1 TestCase for each request"</font>,
<a name="140" href="#140">140</a> 9, myTest.countTestCases());
<a name="141" href="#141">141</a> }
<a name="142" href="#142">142</a>
<a name="143" href="#143">143</a> <b>public</b> <b>void</b> testCreateNullAdapterFromURL() {
<a name="144" href="#144">144</a> String url = <font color="#000099">"http://www.example.com/"</font>;
<a name="145" href="#145">145</a> Test myTest = JUnitTestAdapter.createTestFromURL(url);
<a name="146" href="#146">146</a> assertNull(<font color="#000099">"Should get null object back"</font>, myTest);
<a name="147" href="#147">147</a> }
<a name="148" href="#148">148</a> }
</pre>
<hr><center>This page automatically generated by Maven</center></body>
</html>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/junit/TestJUnitEventReporter.html
Index: TestJUnitEventReporter.html
===================================================================
<html>
<body bgcolor="white">
<pre>
<table bgcolor="#FFFFCC" cellpadding="0" cellspacing="0" border="0" width="100%"><a href="../../../../../../../apidocs/org/apache/commons/latka/junit/TestJUnitEventReporter.html">View Javadoc</a></table>
<a name="1" href="#1">1</a> <font color="#329900"><i>/*</font></i>
<a name="2" href="#2">2</a> <font color="#329900"><i> * ====================================================================</font></i>
<a name="3" href="#3">3</a> <font color="#329900"><i> *</font></i>
<a name="4" href="#4">4</a> <font color="#329900"><i> * The Apache Software License, Version 1.1</font></i>
<a name="5" href="#5">5</a> <font color="#329900"><i> *</font></i>
<a name="6" href="#6">6</a> <font color="#329900"><i> * Copyright (c) 1999 The Apache Software Foundation. All rights </font></i>
<a name="7" href="#7">7</a> <font color="#329900"><i> * reserved.</font></i>
<a name="8" href="#8">8</a> <font color="#329900"><i> *</font></i>
<a name="9" href="#9">9</a> <font color="#329900"><i> * Redistribution and use in source and binary forms, with or without</font></i>
<a name="10" href="#10">10</a> <font color="#329900"><i> * modification, are permitted provided that the following conditions</font></i>
<a name="11" href="#11">11</a> <font color="#329900"><i> * are met:</font></i>
<a name="12" href="#12">12</a> <font color="#329900"><i> *</font></i>
<a name="13" href="#13">13</a> <font color="#329900"><i> * 1. Redistributions of source code must retain the above copyright</font></i>
<a name="14" href="#14">14</a> <font color="#329900"><i> * notice, this list of conditions and the following disclaimer. </font></i>
<a name="15" href="#15">15</a> <font color="#329900"><i> *</font></i>
<a name="16" href="#16">16</a> <font color="#329900"><i> * 2. Redistributions in binary form must reproduce the above copyright</font></i>
<a name="17" href="#17">17</a> <font color="#329900"><i> * notice, this list of conditions and the following disclaimer in</font></i>
<a name="18" href="#18">18</a> <font color="#329900"><i> * the documentation and/or other materials provided with the</font></i>
<a name="19" href="#19">19</a> <font color="#329900"><i> * distribution.</font></i>
<a name="20" href="#20">20</a> <font color="#329900"><i> *</font></i>
<a name="21" href="#21">21</a> <font color="#329900"><i> * 3. The end-user documentation included with the redistribution, if</font></i>
<a name="22" href="#22">22</a> <font color="#329900"><i> * any, must include the following acknowlegement: </font></i>
<a name="23" href="#23">23</a> <font color="#329900"><i> * "This product includes software developed by the </font></i>
<a name="24" href="#24">24</a> <font color="#329900"><i> * Apache Software Foundation (<a href="http://www.apache.org/" target="alexandria_uri">http://www.apache.org/</a>)."</font></i>
<a name="25" href="#25">25</a> <font color="#329900"><i> * Alternately, this acknowlegement may appear in the software itself,</font></i>
<a name="26" href="#26">26</a> <font color="#329900"><i> * if and wherever such third-party acknowlegements normally appear.</font></i>
<a name="27" href="#27">27</a> <font color="#329900"><i> *</font></i>
<a name="28" href="#28">28</a> <font color="#329900"><i> * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software</font></i>
<a name="29" href="#29">29</a> <font color="#329900"><i> * Foundation" must not be used to endorse or promote products derived</font></i>
<a name="30" href="#30">30</a> <font color="#329900"><i> * from this software without prior written permission. For written </font></i>
<a name="31" href="#31">31</a> <font color="#329900"><i> * permission, please contact apache@apache.org.</font></i>
<a name="32" href="#32">32</a> <font color="#329900"><i> *</font></i>
<a name="33" href="#33">33</a> <font color="#329900"><i> * 5. Products derived from this software may not be called "Apache"</font></i>
<a name="34" href="#34">34</a> <font color="#329900"><i> * nor may "Apache" appear in their names without prior written</font></i>
<a name="35" href="#35">35</a> <font color="#329900"><i> * permission of the Apache Group.</font></i>
<a name="36" href="#36">36</a> <font color="#329900"><i> *</font></i>
<a name="37" href="#37">37</a> <font color="#329900"><i> * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED</font></i>
<a name="38" href="#38">38</a> <font color="#329900"><i> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES</font></i>
<a name="39" href="#39">39</a> <font color="#329900"><i> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</font></i>
<a name="40" href="#40">40</a> <font color="#329900"><i> * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR</font></i>
<a name="41" href="#41">41</a> <font color="#329900"><i> * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</font></i>
<a name="42" href="#42">42</a> <font color="#329900"><i> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</font></i>
<a name="43" href="#43">43</a> <font color="#329900"><i> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF</font></i>
<a name="44" href="#44">44</a> <font color="#329900"><i> * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</font></i>
<a name="45" href="#45">45</a> <font color="#329900"><i> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,</font></i>
<a name="46" href="#46">46</a> <font color="#329900"><i> * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT</font></i>
<a name="47" href="#47">47</a> <font color="#329900"><i> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</font></i>
<a name="48" href="#48">48</a> <font color="#329900"><i> * SUCH DAMAGE.</font></i>
<a name="49" href="#49">49</a> <font color="#329900"><i> * ====================================================================</font></i>
<a name="50" href="#50">50</a> <font color="#329900"><i> *</font></i>
<a name="51" href="#51">51</a> <font color="#329900"><i> * This software consists of voluntary contributions made by many</font></i>
<a name="52" href="#52">52</a> <font color="#329900"><i> * individuals on behalf of the Apache Software Foundation. For more</font></i>
<a name="53" href="#53">53</a> <font color="#329900"><i> * information on the Apache Software Foundation, please see</font></i>
<a name="54" href="#54">54</a> <font color="#329900"><i> * <<a href="http://www.apache.org/>" target="alexandria_uri">http://www.apache.org/></a>;.</font></i>
<a name="55" href="#55">55</a> <font color="#329900"><i> *</font></i>
<a name="56" href="#56">56</a> <font color="#329900"><i> * [Additional notices, if required by prior licensing conditions]</font></i>
<a name="57" href="#57">57</a> <font color="#329900"><i> *</font></i>
<a name="58" href="#58">58</a> <font color="#329900"><i> */</font></i>
<a name="59" href="#59">59</a>
<a name="60" href="#60">60</a> <b>package</b> <a href="../../../../../org/apache/commons/latka/junit/index.html">org.apache.commons.latka.junit</a>;
<a name="61" href="#61">61</a>
<a name="62" href="#62">62</a> <b>import</b> java.net.MalformedURLException;
<a name="63" href="#63">63</a> <b>import</b> java.net.URL;
<a name="64" href="#64">64</a>
<a name="65" href="#65">65</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/index.html">org.apache.commons.latka</a>.<a href="../../../../../org/apache/commons/latka/ValidationException.html">ValidationException</a>;
<a name="66" href="#66">66</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/event/index.html">org.apache.commons.latka.event</a>.<a href="../../../../../org/apache/commons/latka/event/RequestErrorEvent.html">RequestErrorEvent</a>;
<a name="67" href="#67">67</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/event/index.html">org.apache.commons.latka.event</a>.<a href="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</a>;
<a name="68" href="#68">68</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/event/index.html">org.apache.commons.latka.event</a>.<a href="../../../../../org/apache/commons/latka/event/RequestFailedEvent.html">RequestFailedEvent</a>;
<a name="69" href="#69">69</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/event/index.html">org.apache.commons.latka.event</a>.<a href="../../../../../org/apache/commons/latka/event/RequestSkippedEvent.html">RequestSkippedEvent</a>;
<a name="70" href="#70">70</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/event/index.html">org.apache.commons.latka.event</a>.<a href="../../../../../org/apache/commons/latka/event/RequestSucceededEvent.html">RequestSucceededEvent</a>;
<a name="71" href="#71">71</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/http/index.html">org.apache.commons.latka.http</a>.<a href="../../../../../org/apache/commons/latka/http/Request.html">Request</a>;
<a name="72" href="#72">72</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/http/index.html">org.apache.commons.latka.http</a>.<a href="../../../../../org/apache/commons/latka/http/Response.html">Response</a>;
<a name="73" href="#73">73</a> <b>import</b> <a href="../../../../../org/apache/commons/latka/http/index.html">org.apache.commons.latka.http</a>.<a href="../../../../../org/apache/commons/latka/http/SessionImpl.html">SessionImpl</a>;
<a name="74" href="#74">74</a>
<a name="75" href="#75">75</a> <b>import</b> junit.framework.Test;
<a name="76" href="#76">76</a> <b>import</b> junit.framework.TestCase;
<a name="77" href="#77">77</a> <b>import</b> junit.framework.TestResult;
<a name="78" href="#78">78</a> <b>import</b> junit.framework.TestSuite;
<a name="79" href="#79">79</a>
<a name="80" href="#80">80</a> <font color="#AA0000"><i>/**<font color="#AA0000"><i>*</font></i></font></i>
<a name="81" href="#81">81</a> <font color="#AA0000"><i> * @author Chuck Burdick</font></i>
<a name="82" href="#82">82</a> <font color="#AA0000"><i> * @version $Id: TestJUnitEventReporter.html,v 1.1 2002/04/01 05:50:05 dion Exp $</font></i>
<a name="83" href="#83">83</a> <font color="#AA0000"><i> */</font></i>
<a name="84" href="#84">84</a> <b>public</b> <b>class</b> <a href="../../../../../org/apache/commons/latka/junit/TestJUnitEventReporter.html">TestJUnitEventReporter</a> <b>extends</b> TestCase {
<a name="85" href="#85">85</a> <b>private</b> <a href="../../../../../org/apache/commons/latka/junit/JUnitEventReporter.html">JUnitEventReporter</a> _reporter = <b>null</b>;
<a name="86" href="#86">86</a> <b>private</b> TestResult _result = <b>null</b>;
<a name="87" href="#87">87</a> <b>private</b> <a href="../../../../../org/apache/commons/latka/http/Request.html">Request</a> _request = <b>null</b>;
<a name="88" href="#88">88</a>
<a name="89" href="#89">89</a> <b>public</b> <a href="../../../../../org/apache/commons/latka/junit/TestJUnitEventReporter.html">TestJUnitEventReporter</a>(String testName) {
<a name="90" href="#90">90</a> <b>super</b>(testName);
<a name="91" href="#91">91</a> }
<a name="92" href="#92">92</a>
<a name="93" href="#93">93</a> <b>public</b> <b>static</b> Test suite() {
<a name="94" href="#94">94</a> <b>return</b> <b>new</b> TestSuite(TestJUnitEventReporter.<b>class</b>);
<a name="95" href="#95">95</a> }
<a name="96" href="#96">96</a>
<a name="97" href="#97">97</a> <b>public</b> <b>static</b> <b>void</b> main(String args[]) {
<a name="98" href="#98">98</a> String[] testCaseName = { TestJUnitEventReporter.<b>class</b>.getName() };
<a name="99" href="#99">99</a> junit.textui.TestRunner.main(testCaseName);
<a name="100" href="#100">100</a> }
<a name="101" href="#101">101</a>
<a name="102" href="#102">102</a> <b>public</b> <b>void</b> setUp() throws MalformedURLException {
<a name="103" href="#103">103</a> _result = <b>new</b> TestResult();
<a name="104" href="#104">104</a> _reporter = <b>new</b> <a href="../../../../../org/apache/commons/latka/junit/JUnitEventReporter.html">JUnitEventReporter</a>(_result);
<a name="105" href="#105">105</a>
<a name="106" href="#106">106</a> URL url = <b>new</b> URL(<font color="#000099">"http://www.example.com/"</font>);
<a name="107" href="#107">107</a> <a href="../../../../../org/apache/commons/latka/http/SessionImpl.html">SessionImpl</a> session = <b>new</b> <a href="../../../../../org/apache/commons/latka/http/SessionImpl.html">SessionImpl</a>();
<a name="108" href="#108">108</a> _request = session.createRequest(url, Request.HTTP_METHOD_GET);
<a name="109" href="#109">109</a> }
<a name="110" href="#110">110</a>
<a name="111" href="#111">111</a> <b>public</b> <b>void</b> testSuccess() {
<a name="112" href="#112">112</a> <a href="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</a> e = <b>new</b> <a href="../../../../../org/apache/commons/latka/event/RequestSucceededEvent.html">RequestSucceededEvent</a>(_request, <b>null</b>);
<a name="113" href="#113">113</a> _reporter.requestSucceeded(e);
<a name="114" href="#114">114</a> assertEquals(<font color="#000099">"Should have run 1 test"</font>, 1, _result.runCount());
<a name="115" href="#115">115</a> assertEquals(<font color="#000099">"Should have 0 errors"</font>, 0, _result.errorCount());
<a name="116" href="#116">116</a> assertEquals(<font color="#000099">"Should have 0 failures"</font>, 0, _result.failureCount());
<a name="117" href="#117">117</a> assertTrue(<font color="#000099">"Should represent a successful run"</font>, _result.wasSuccessful());
<a name="118" href="#118">118</a> }
<a name="119" href="#119">119</a>
<a name="120" href="#120">120</a> <b>public</b> <b>void</b> testError() {
<a name="121" href="#121">121</a> <a href="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</a> e = <b>new</b> <a href="../../../../../org/apache/commons/latka/event/RequestErrorEvent.html">RequestErrorEvent</a>(
<a name="122" href="#122">122</a> _request, <b>null</b>, <b>new</b> Exception(<font color="#000099">"test exception"</font>));
<a name="123" href="#123">123</a> _reporter.requestError(e);
<a name="124" href="#124">124</a> assertEquals(<font color="#000099">"Should have run 1 test"</font>, 1, _result.runCount());
<a name="125" href="#125">125</a> assertEquals(<font color="#000099">"Should have 1 error"</font>, 1, _result.errorCount());
<a name="126" href="#126">126</a> assertEquals(<font color="#000099">"Should have 0 failures"</font>, 0, _result.failureCount());
<a name="127" href="#127">127</a> assertTrue(<font color="#000099">"Should not represent a successful run"</font>,
<a name="128" href="#128">128</a> !_result.wasSuccessful());
<a name="129" href="#129">129</a> }
<a name="130" href="#130">130</a>
<a name="131" href="#131">131</a>
<a name="132" href="#132">132</a> <b>public</b> <b>void</b> testFailed() {
<a name="133" href="#133">133</a> <a href="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</a> e = <b>new</b> <a href="../../../../../org/apache/commons/latka/event/RequestFailedEvent.html">RequestFailedEvent</a>(
<a name="134" href="#134">134</a> _request, <b>null</b>, <b>new</b> <a href="../../../../../org/apache/commons/latka/ValidationException.html">ValidationException</a>());
<a name="135" href="#135">135</a> _reporter.requestFailed(e);
<a name="136" href="#136">136</a> assertEquals(<font color="#000099">"Should have run 1 test"</font>, 1, _result.runCount());
<a name="137" href="#137">137</a> assertEquals(<font color="#000099">"Should have 0 errors"</font>, 0, _result.errorCount());
<a name="138" href="#138">138</a> assertEquals(<font color="#000099">"Should have 1 failure"</font>, 1, _result.failureCount());
<a name="139" href="#139">139</a> assertTrue(<font color="#000099">"Should not represent a successful run"</font>,
<a name="140" href="#140">140</a> !_result.wasSuccessful());
<a name="141" href="#141">141</a> }
<a name="142" href="#142">142</a>
<a name="143" href="#143">143</a> <b>public</b> <b>void</b> testSkipped() {
<a name="144" href="#144">144</a> <a href="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</a> e = <b>new</b> <a href="../../../../../org/apache/commons/latka/event/RequestSkippedEvent.html">RequestSkippedEvent</a>(_request, <b>null</b>);
<a name="145" href="#145">145</a> _reporter.requestSkipped(e);
<a name="146" href="#146">146</a> assertEquals(<font color="#000099">"Should have run 1 test"</font>, 1, _result.runCount());
<a name="147" href="#147">147</a> assertEquals(<font color="#000099">"Should have 0 errors"</font>, 0, _result.errorCount());
<a name="148" href="#148">148</a> assertEquals(<font color="#000099">"Should have 1 failure"</font>, 1, _result.failureCount());
<a name="149" href="#149">149</a> assertTrue(<font color="#000099">"Should not represent a successful run"</font>,
<a name="150" href="#150">150</a> !_result.wasSuccessful());
<a name="151" href="#151">151</a> }
<a name="152" href="#152">152</a> }
</pre>
<hr><center>This page automatically generated by Maven</center></body>
</html>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/junit/TestAll.html
Index: TestAll.html
===================================================================
<html>
<body bgcolor="white">
<pre>
<table bgcolor="#FFFFCC" cellpadding="0" cellspacing="0" border="0" width="100%"><a href="../../../../../../../apidocs/org/apache/commons/latka/junit/TestAll.html">View Javadoc</a></table>
<a name="1" href="#1">1</a> <font color="#329900"><i>/*</font></i>
<a name="2" href="#2">2</a> <font color="#329900"><i> * ====================================================================</font></i>
<a name="3" href="#3">3</a> <font color="#329900"><i> *</font></i>
<a name="4" href="#4">4</a> <font color="#329900"><i> * The Apache Software License, Version 1.1</font></i>
<a name="5" href="#5">5</a> <font color="#329900"><i> *</font></i>
<a name="6" href="#6">6</a> <font color="#329900"><i> * Copyright (c) 1999 The Apache Software Foundation. All rights </font></i>
<a name="7" href="#7">7</a> <font color="#329900"><i> * reserved.</font></i>
<a name="8" href="#8">8</a> <font color="#329900"><i> *</font></i>
<a name="9" href="#9">9</a> <font color="#329900"><i> * Redistribution and use in source and binary forms, with or without</font></i>
<a name="10" href="#10">10</a> <font color="#329900"><i> * modification, are permitted provided that the following conditions</font></i>
<a name="11" href="#11">11</a> <font color="#329900"><i> * are met:</font></i>
<a name="12" href="#12">12</a> <font color="#329900"><i> *</font></i>
<a name="13" href="#13">13</a> <font color="#329900"><i> * 1. Redistributions of source code must retain the above copyright</font></i>
<a name="14" href="#14">14</a> <font color="#329900"><i> * notice, this list of conditions and the following disclaimer. </font></i>
<a name="15" href="#15">15</a> <font color="#329900"><i> *</font></i>
<a name="16" href="#16">16</a> <font color="#329900"><i> * 2. Redistributions in binary form must reproduce the above copyright</font></i>
<a name="17" href="#17">17</a> <font color="#329900"><i> * notice, this list of conditions and the following disclaimer in</font></i>
<a name="18" href="#18">18</a> <font color="#329900"><i> * the documentation and/or other materials provided with the</font></i>
<a name="19" href="#19">19</a> <font color="#329900"><i> * distribution.</font></i>
<a name="20" href="#20">20</a> <font color="#329900"><i> *</font></i>
<a name="21" href="#21">21</a> <font color="#329900"><i> * 3. The end-user documentation included with the redistribution, if</font></i>
<a name="22" href="#22">22</a> <font color="#329900"><i> * any, must include the following acknowlegement: </font></i>
<a name="23" href="#23">23</a> <font color="#329900"><i> * "This product includes software developed by the </font></i>
<a name="24" href="#24">24</a> <font color="#329900"><i> * Apache Software Foundation (<a href="http://www.apache.org/" target="alexandria_uri">http://www.apache.org/</a>)."</font></i>
<a name="25" href="#25">25</a> <font color="#329900"><i> * Alternately, this acknowlegement may appear in the software itself,</font></i>
<a name="26" href="#26">26</a> <font color="#329900"><i> * if and wherever such third-party acknowlegements normally appear.</font></i>
<a name="27" href="#27">27</a> <font color="#329900"><i> *</font></i>
<a name="28" href="#28">28</a> <font color="#329900"><i> * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software</font></i>
<a name="29" href="#29">29</a> <font color="#329900"><i> * Foundation" must not be used to endorse or promote products derived</font></i>
<a name="30" href="#30">30</a> <font color="#329900"><i> * from this software without prior written permission. For written </font></i>
<a name="31" href="#31">31</a> <font color="#329900"><i> * permission, please contact apache@apache.org.</font></i>
<a name="32" href="#32">32</a> <font color="#329900"><i> *</font></i>
<a name="33" href="#33">33</a> <font color="#329900"><i> * 5. Products derived from this software may not be called "Apache"</font></i>
<a name="34" href="#34">34</a> <font color="#329900"><i> * nor may "Apache" appear in their names without prior written</font></i>
<a name="35" href="#35">35</a> <font color="#329900"><i> * permission of the Apache Group.</font></i>
<a name="36" href="#36">36</a> <font color="#329900"><i> *</font></i>
<a name="37" href="#37">37</a> <font color="#329900"><i> * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED</font></i>
<a name="38" href="#38">38</a> <font color="#329900"><i> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES</font></i>
<a name="39" href="#39">39</a> <font color="#329900"><i> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</font></i>
<a name="40" href="#40">40</a> <font color="#329900"><i> * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR</font></i>
<a name="41" href="#41">41</a> <font color="#329900"><i> * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</font></i>
<a name="42" href="#42">42</a> <font color="#329900"><i> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</font></i>
<a name="43" href="#43">43</a> <font color="#329900"><i> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF</font></i>
<a name="44" href="#44">44</a> <font color="#329900"><i> * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</font></i>
<a name="45" href="#45">45</a> <font color="#329900"><i> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,</font></i>
<a name="46" href="#46">46</a> <font color="#329900"><i> * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT</font></i>
<a name="47" href="#47">47</a> <font color="#329900"><i> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</font></i>
<a name="48" href="#48">48</a> <font color="#329900"><i> * SUCH DAMAGE.</font></i>
<a name="49" href="#49">49</a> <font color="#329900"><i> * ====================================================================</font></i>
<a name="50" href="#50">50</a> <font color="#329900"><i> *</font></i>
<a name="51" href="#51">51</a> <font color="#329900"><i> * This software consists of voluntary contributions made by many</font></i>
<a name="52" href="#52">52</a> <font color="#329900"><i> * individuals on behalf of the Apache Software Foundation. For more</font></i>
<a name="53" href="#53">53</a> <font color="#329900"><i> * information on the Apache Software Foundation, please see</font></i>
<a name="54" href="#54">54</a> <font color="#329900"><i> * <<a href="http://www.apache.org/>" target="alexandria_uri">http://www.apache.org/></a>;.</font></i>
<a name="55" href="#55">55</a> <font color="#329900"><i> *</font></i>
<a name="56" href="#56">56</a> <font color="#329900"><i> * [Additional notices, if required by prior licensing conditions]</font></i>
<a name="57" href="#57">57</a> <font color="#329900"><i> *</font></i>
<a name="58" href="#58">58</a> <font color="#329900"><i> */</font></i>
<a name="59" href="#59">59</a>
<a name="60" href="#60">60</a> <b>package</b> <a href="../../../../../org/apache/commons/latka/junit/index.html">org.apache.commons.latka.junit</a>;
<a name="61" href="#61">61</a>
<a name="62" href="#62">62</a> <b>import</b> junit.framework.Test;
<a name="63" href="#63">63</a> <b>import</b> junit.framework.TestCase;
<a name="64" href="#64">64</a> <b>import</b> junit.framework.TestSuite;
<a name="65" href="#65">65</a>
<a name="66" href="#66">66</a> <font color="#AA0000"><i>/**<font color="#AA0000"><i>*</font></i></font></i>
<a name="67" href="#67">67</a> <font color="#AA0000"><i> * @author Chuck Burdick</font></i>
<a name="68" href="#68">68</a> <font color="#AA0000"><i> * @version $Id: TestAll.html,v 1.1 2002/04/01 05:50:05 dion Exp $</font></i>
<a name="69" href="#69">69</a> <font color="#AA0000"><i> */</font></i>
<a name="70" href="#70">70</a> <b>public</b> <b>class</b> <a href="../../../../../org/apache/commons/latka/junit/TestAll.html">TestAll</a> <b>extends</b> TestCase {
<a name="71" href="#71">71</a>
<a name="72" href="#72">72</a> <b>public</b> <a href="../../../../../org/apache/commons/latka/junit/TestAll.html">TestAll</a>(String testName) {
<a name="73" href="#73">73</a> <b>super</b>(testName);
<a name="74" href="#74">74</a> }
<a name="75" href="#75">75</a>
<a name="76" href="#76">76</a> <b>public</b> <b>static</b> Test suite() {
<a name="77" href="#77">77</a> TestSuite suite = <b>new</b> TestSuite();
<a name="78" href="#78">78</a> suite.addTest(TestJUnitEventReporter.suite());
<a name="79" href="#79">79</a> suite.addTest(TestJUnitTestAdapter.suite());
<a name="80" href="#80">80</a> String baseDir = System.getProperty(<font color="#000099">"basedir"</font>);
<a name="81" href="#81">81</a> assertNotNull(<font color="#000099">"The system property basedir was not defined."</font>, baseDir);
<a name="82" href="#82">82</a> String fs = System.getProperty(<font color="#000099">"file.separator"</font>);
<a name="83" href="#83">83</a> assertNotNull(<font color="#000099">"The system property file.separator was not defined."</font>, fs);
<a name="84" href="#84">84</a> String fileName = baseDir + fs + <font color="#000099">"tests/samples/TestCommonsWebsite.xml"</font>;
<a name="85" href="#85">85</a> suite.addTest(JUnitTestAdapter.createTestFromFile(fileName));
<a name="86" href="#86">86</a> <b>return</b> suite;
<a name="87" href="#87">87</a> }
<a name="88" href="#88">88</a>
<a name="89" href="#89">89</a> <b>public</b> <b>static</b> <b>void</b> main(String args[]) {
<a name="90" href="#90">90</a> String[] testCaseName = { TestAll.<b>class</b>.getName() };
<a name="91" href="#91">91</a> junit.textui.TestRunner.main(testCaseName);
<a name="92" href="#92">92</a> }
<a name="93" href="#93">93</a> }
</pre>
<hr><center>This page automatically generated by Maven</center></body>
</html>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/junit/index.html
Index: index.html
===================================================================
<html>
<body bgcolor="white">
<a href="../">[parent]</a>
<hr>
<table width="100%">
<tr>
<td><b>Name</b></td>
<td><b>Size</b></td>
<td><b>Last Modified</b></td>
</tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./file.gif" valign="middle" border="0"> <a href="TestAll.html">TestAll.java</a></td><td valign="middle" NOWRAP>10132 (in bytes) </td><td valign="middle" NOWRAP>1/04/2002</td></tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./file.gif" valign="middle" border="0"> <a href="TestJUnitEventReporter.html">TestJUnitEventReporter.java</a></td><td valign="middle" NOWRAP>17750 (in bytes) </td><td valign="middle" NOWRAP>1/04/2002</td></tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./file.gif" valign="middle" border="0"> <a href="TestJUnitTestAdapter.html">TestJUnitTestAdapter.java</a></td><td valign="middle" NOWRAP>15029 (in bytes) </td><td valign="middle" NOWRAP>1/04/2002</td></tr>
</table>
<hr>
<center>This page automatically generated by Maven</center>
</body>
</html>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/folder.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/file.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/TestStatusCodes.html
Index: TestStatusCodes.html
===================================================================
<html>
<body bgcolor="white">
<pre>
<table bgcolor="#FFFFCC" cellpadding="0" cellspacing="0" border="0" width="100%"><a href="../../../../../../apidocs/org/apache/commons/latka/TestStatusCodes.html">View Javadoc</a></table>
<a name="1" href="#1">1</a> <font color="#329900"><i>/*</font></i>
<a name="2" href="#2">2</a> <font color="#329900"><i> * ====================================================================</font></i>
<a name="3" href="#3">3</a> <font color="#329900"><i> *</font></i>
<a name="4" href="#4">4</a> <font color="#329900"><i> * The Apache Software License, Version 1.1</font></i>
<a name="5" href="#5">5</a> <font color="#329900"><i> *</font></i>
<a name="6" href="#6">6</a> <font color="#329900"><i> * Copyright (c) 1999 The Apache Software Foundation. All rights </font></i>
<a name="7" href="#7">7</a> <font color="#329900"><i> * reserved.</font></i>
<a name="8" href="#8">8</a> <font color="#329900"><i> *</font></i>
<a name="9" href="#9">9</a> <font color="#329900"><i> * Redistribution and use in source and binary forms, with or without</font></i>
<a name="10" href="#10">10</a> <font color="#329900"><i> * modification, are permitted provided that the following conditions</font></i>
<a name="11" href="#11">11</a> <font color="#329900"><i> * are met:</font></i>
<a name="12" href="#12">12</a> <font color="#329900"><i> *</font></i>
<a name="13" href="#13">13</a> <font color="#329900"><i> * 1. Redistributions of source code must retain the above copyright</font></i>
<a name="14" href="#14">14</a> <font color="#329900"><i> * notice, this list of conditions and the following disclaimer. </font></i>
<a name="15" href="#15">15</a> <font color="#329900"><i> *</font></i>
<a name="16" href="#16">16</a> <font color="#329900"><i> * 2. Redistributions in binary form must reproduce the above copyright</font></i>
<a name="17" href="#17">17</a> <font color="#329900"><i> * notice, this list of conditions and the following disclaimer in</font></i>
<a name="18" href="#18">18</a> <font color="#329900"><i> * the documentation and/or other materials provided with the</font></i>
<a name="19" href="#19">19</a> <font color="#329900"><i> * distribution.</font></i>
<a name="20" href="#20">20</a> <font color="#329900"><i> *</font></i>
<a name="21" href="#21">21</a> <font color="#329900"><i> * 3. The end-user documentation included with the redistribution, if</font></i>
<a name="22" href="#22">22</a> <font color="#329900"><i> * any, must include the following acknowlegement: </font></i>
<a name="23" href="#23">23</a> <font color="#329900"><i> * "This product includes software developed by the </font></i>
<a name="24" href="#24">24</a> <font color="#329900"><i> * Apache Software Foundation (<a href="http://www.apache.org/" target="alexandria_uri">http://www.apache.org/</a>)."</font></i>
<a name="25" href="#25">25</a> <font color="#329900"><i> * Alternately, this acknowlegement may appear in the software itself,</font></i>
<a name="26" href="#26">26</a> <font color="#329900"><i> * if and wherever such third-party acknowlegements normally appear.</font></i>
<a name="27" href="#27">27</a> <font color="#329900"><i> *</font></i>
<a name="28" href="#28">28</a> <font color="#329900"><i> * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software</font></i>
<a name="29" href="#29">29</a> <font color="#329900"><i> * Foundation" must not be used to endorse or promote products derived</font></i>
<a name="30" href="#30">30</a> <font color="#329900"><i> * from this software without prior written permission. For written </font></i>
<a name="31" href="#31">31</a> <font color="#329900"><i> * permission, please contact apache@apache.org.</font></i>
<a name="32" href="#32">32</a> <font color="#329900"><i> *</font></i>
<a name="33" href="#33">33</a> <font color="#329900"><i> * 5. Products derived from this software may not be called "Apache"</font></i>
<a name="34" href="#34">34</a> <font color="#329900"><i> * nor may "Apache" appear in their names without prior written</font></i>
<a name="35" href="#35">35</a> <font color="#329900"><i> * permission of the Apache Group.</font></i>
<a name="36" href="#36">36</a> <font color="#329900"><i> *</font></i>
<a name="37" href="#37">37</a> <font color="#329900"><i> * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED</font></i>
<a name="38" href="#38">38</a> <font color="#329900"><i> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES</font></i>
<a name="39" href="#39">39</a> <font color="#329900"><i> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</font></i>
<a name="40" href="#40">40</a> <font color="#329900"><i> * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR</font></i>
<a name="41" href="#41">41</a> <font color="#329900"><i> * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</font></i>
<a name="42" href="#42">42</a> <font color="#329900"><i> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</font></i>
<a name="43" href="#43">43</a> <font color="#329900"><i> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF</font></i>
<a name="44" href="#44">44</a> <font color="#329900"><i> * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</font></i>
<a name="45" href="#45">45</a> <font color="#329900"><i> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,</font></i>
<a name="46" href="#46">46</a> <font color="#329900"><i> * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT</font></i>
<a name="47" href="#47">47</a> <font color="#329900"><i> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</font></i>
<a name="48" href="#48">48</a> <font color="#329900"><i> * SUCH DAMAGE.</font></i>
<a name="49" href="#49">49</a> <font color="#329900"><i> * ====================================================================</font></i>
<a name="50" href="#50">50</a> <font color="#329900"><i> *</font></i>
<a name="51" href="#51">51</a> <font color="#329900"><i> * This software consists of voluntary contributions made by many</font></i>
<a name="52" href="#52">52</a> <font color="#329900"><i> * individuals on behalf of the Apache Software Foundation. For more</font></i>
<a name="53" href="#53">53</a> <font color="#329900"><i> * information on the Apache Software Foundation, please see</font></i>
<a name="54" href="#54">54</a> <font color="#329900"><i> * <<a href="http://www.apache.org/>" target="alexandria_uri">http://www.apache.org/></a>;.</font></i>
<a name="55" href="#55">55</a> <font color="#329900"><i> *</font></i>
<a name="56" href="#56">56</a> <font color="#329900"><i> * [Additional notices, if required by prior licensing conditions]</font></i>
<a name="57" href="#57">57</a> <font color="#329900"><i> *</font></i>
<a name="58" href="#58">58</a> <font color="#329900"><i> */</font></i>
<a name="59" href="#59">59</a>
<a name="60" href="#60">60</a> <b>package</b> <a href="../../../../org/apache/commons/latka/index.html">org.apache.commons.latka</a>;
<a name="61" href="#61">61</a>
<a name="62" href="#62">62</a> <b>import</b> <a href="../../../../org/apache/commons/latka/http/index.html">org.apache.commons.latka.http</a>.*;
<a name="63" href="#63">63</a>
<a name="64" href="#64">64</a> <b>import</b> java.io.IOException;
<a name="65" href="#65">65</a> <b>import</b> java.net.MalformedURLException;
<a name="66" href="#66">66</a> <b>import</b> java.net.UnknownHostException;
<a name="67" href="#67">67</a> <b>import</b> java.net.URL;
<a name="68" href="#68">68</a>
<a name="69" href="#69">69</a> <b>import</b> junit.framework.Test;
<a name="70" href="#70">70</a> <b>import</b> junit.framework.TestCase;
<a name="71" href="#71">71</a> <b>import</b> junit.framework.TestSuite;
<a name="72" href="#72">72</a>
<a name="73" href="#73">73</a> <b>public</b> <b>class</b> <a href="../../../../org/apache/commons/latka/TestStatusCodes.html">TestStatusCodes</a> <b>extends</b> TestCase {
<a name="74" href="#74">74</a>
<a name="75" href="#75">75</a> <b>public</b> <a href="../../../../org/apache/commons/latka/TestStatusCodes.html">TestStatusCodes</a>(String testName) {
<a name="76" href="#76">76</a> <b>super</b>(testName);
<a name="77" href="#77">77</a> }
<a name="78" href="#78">78</a>
<a name="79" href="#79">79</a> <b>public</b> <b>static</b> Test suite() {
<a name="80" href="#80">80</a> <b>return</b> <b>new</b> TestSuite(TestStatusCodes.<b>class</b>);
<a name="81" href="#81">81</a> }
<a name="82" href="#82">82</a>
<a name="83" href="#83">83</a> <font color="#AA0000"><i>/**<font color="#AA0000"><i>*</font></i></font></i>
<a name="84" href="#84">84</a> <font color="#AA0000"><i> public void testXmlFile() {</font></i>
<a name="85" href="#85">85</a> <font color="#AA0000"><i> Latka latka = new Latka();</font></i>
<a name="86" href="#86">86</a> <font color="#AA0000"><i> try {</font></i>
<a name="87" href="#87">87</a> <font color="#AA0000"><i> java.io.FileReader reader = </font></i>
<a name="88" href="#88">88</a> <font color="#AA0000"><i> new java.io.FileReader("d://cvs//bcom//latka-lib//test//data//StatusCodeSuite.xml");</font></i>
<a name="89" href="#89">89</a> <font color="#AA0000"><i> org.apache.commons.latka.Suite suite = new org.apache.commons.latka.Suite(reader);</font></i>
<a name="90" href="#90">90</a> <font color="#AA0000"><i> latka.runTests(suite);</font></i>
<a name="91" href="#91">91</a> <font color="#AA0000"><i> } catch (Exception e) {</font></i>
<a name="92" href="#92">92</a> <font color="#AA0000"><i> fail(e.toString());</font></i>
<a name="93" href="#93">93</a> <font color="#AA0000"><i> }</font></i>
<a name="94" href="#94">94</a> <font color="#AA0000"><i> }</font></i>
<a name="95" href="#95">95</a> <font color="#AA0000"><i> */</font></i>
<a name="96" href="#96">96</a>
<a name="97" href="#97">97</a> <b>public</b> <b>void</b> testBadURL() {
<a name="98" href="#98">98</a> <a href="../../../../org/apache/commons/latka/http/SessionImpl.html">SessionImpl</a> session = <b>new</b> <a href="../../../../org/apache/commons/latka/http/SessionImpl.html">SessionImpl</a>();
<a name="99" href="#99">99</a>
<a name="100" href="#100">100</a> URL url = <b>null</b>;
<a name="101" href="#101">101</a> <b>try</b> {
<a name="102" href="#102">102</a> url = <b>new</b> URL(<font color="#000099">"http://whatabadwolf.com"</font>);
<a name="103" href="#103">103</a> } <b>catch</b> (MalformedURLException e) {
<a name="104" href="#104">104</a> fail(e.toString());
<a name="105" href="#105">105</a> }
<a name="106" href="#106">106</a>
<a name="107" href="#107">107</a> <a href="../../../../org/apache/commons/latka/http/Request.html">Request</a> request =
<a name="108" href="#108">108</a> session.createRequest(url, Request.HTTP_METHOD_GET);
<a name="109" href="#109">109</a>
<a name="110" href="#110">110</a> <b>try</b> {
<a name="111" href="#111">111</a> request.execute();
<a name="112" href="#112">112</a> } <b>catch</b> (IOException e) {
<a name="113" href="#113">113</a> <font color="#329900"><i>// good</font></i>
<a name="114" href="#114">114</a> <b>return</b>;
<a name="115" href="#115">115</a> }
<a name="116" href="#116">116</a>
<a name="117" href="#117">117</a> fail(<font color="#000099">"Bad URL should have thrown IOException"</font>);
<a name="118" href="#118">118</a> }
<a name="119" href="#119">119</a>
<a name="120" href="#120">120</a> <b>public</b> <b>void</b> testGoodURL() {
<a name="121" href="#121">121</a> <a href="../../../../org/apache/commons/latka/http/SessionImpl.html">SessionImpl</a> session = <b>new</b> <a href="../../../../org/apache/commons/latka/http/SessionImpl.html">SessionImpl</a>();
<a name="122" href="#122">122</a>
<a name="123" href="#123">123</a> URL url = <b>null</b>;
<a name="124" href="#124">124</a> <b>try</b> {
<a name="125" href="#125">125</a> url = <b>new</b> URL(<font color="#000099">"http://www.britannica.com"</font>);
<a name="126" href="#126">126</a> } <b>catch</b> (MalformedURLException e) {
<a name="127" href="#127">127</a> fail(e.toString());
<a name="128" href="#128">128</a> }
<a name="129" href="#129">129</a>
<a name="130" href="#130">130</a> <a href="../../../../org/apache/commons/latka/http/Request.html">Request</a> request =
<a name="131" href="#131">131</a> session.createRequest(url, Request.HTTP_METHOD_GET);
<a name="132" href="#132">132</a>
<a name="133" href="#133">133</a> <b>try</b> {
<a name="134" href="#134">134</a> request.execute();
<a name="135" href="#135">135</a> } <b>catch</b> (IOException e) {
<a name="136" href="#136">136</a> fail(e.toString());
<a name="137" href="#137">137</a> }
<a name="138" href="#138">138</a>
<a name="139" href="#139">139</a>
<a name="140" href="#140">140</a> }
<a name="141" href="#141">141</a>
<a name="142" href="#142">142</a>
<a name="143" href="#143">143</a>
<a name="144" href="#144">144</a> }
</pre>
<hr><center>This page automatically generated by Maven</center></body>
</html>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/TestAll.html
Index: TestAll.html
===================================================================
<html>
<body bgcolor="white">
<pre>
<table bgcolor="#FFFFCC" cellpadding="0" cellspacing="0" border="0" width="100%"><a href="../../../../../../apidocs/org/apache/commons/latka/TestAll.html">View Javadoc</a></table>
<a name="1" href="#1">1</a> <font color="#329900"><i>/*</font></i>
<a name="2" href="#2">2</a> <font color="#329900"><i> * ====================================================================</font></i>
<a name="3" href="#3">3</a> <font color="#329900"><i> *</font></i>
<a name="4" href="#4">4</a> <font color="#329900"><i> * The Apache Software License, Version 1.1</font></i>
<a name="5" href="#5">5</a> <font color="#329900"><i> *</font></i>
<a name="6" href="#6">6</a> <font color="#329900"><i> * Copyright (c) 1999 The Apache Software Foundation. All rights </font></i>
<a name="7" href="#7">7</a> <font color="#329900"><i> * reserved.</font></i>
<a name="8" href="#8">8</a> <font color="#329900"><i> *</font></i>
<a name="9" href="#9">9</a> <font color="#329900"><i> * Redistribution and use in source and binary forms, with or without</font></i>
<a name="10" href="#10">10</a> <font color="#329900"><i> * modification, are permitted provided that the following conditions</font></i>
<a name="11" href="#11">11</a> <font color="#329900"><i> * are met:</font></i>
<a name="12" href="#12">12</a> <font color="#329900"><i> *</font></i>
<a name="13" href="#13">13</a> <font color="#329900"><i> * 1. Redistributions of source code must retain the above copyright</font></i>
<a name="14" href="#14">14</a> <font color="#329900"><i> * notice, this list of conditions and the following disclaimer. </font></i>
<a name="15" href="#15">15</a> <font color="#329900"><i> *</font></i>
<a name="16" href="#16">16</a> <font color="#329900"><i> * 2. Redistributions in binary form must reproduce the above copyright</font></i>
<a name="17" href="#17">17</a> <font color="#329900"><i> * notice, this list of conditions and the following disclaimer in</font></i>
<a name="18" href="#18">18</a> <font color="#329900"><i> * the documentation and/or other materials provided with the</font></i>
<a name="19" href="#19">19</a> <font color="#329900"><i> * distribution.</font></i>
<a name="20" href="#20">20</a> <font color="#329900"><i> *</font></i>
<a name="21" href="#21">21</a> <font color="#329900"><i> * 3. The end-user documentation included with the redistribution, if</font></i>
<a name="22" href="#22">22</a> <font color="#329900"><i> * any, must include the following acknowlegement: </font></i>
<a name="23" href="#23">23</a> <font color="#329900"><i> * "This product includes software developed by the </font></i>
<a name="24" href="#24">24</a> <font color="#329900"><i> * Apache Software Foundation (<a href="http://www.apache.org/" target="alexandria_uri">http://www.apache.org/</a>)."</font></i>
<a name="25" href="#25">25</a> <font color="#329900"><i> * Alternately, this acknowlegement may appear in the software itself,</font></i>
<a name="26" href="#26">26</a> <font color="#329900"><i> * if and wherever such third-party acknowlegements normally appear.</font></i>
<a name="27" href="#27">27</a> <font color="#329900"><i> *</font></i>
<a name="28" href="#28">28</a> <font color="#329900"><i> * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software</font></i>
<a name="29" href="#29">29</a> <font color="#329900"><i> * Foundation" must not be used to endorse or promote products derived</font></i>
<a name="30" href="#30">30</a> <font color="#329900"><i> * from this software without prior written permission. For written </font></i>
<a name="31" href="#31">31</a> <font color="#329900"><i> * permission, please contact apache@apache.org.</font></i>
<a name="32" href="#32">32</a> <font color="#329900"><i> *</font></i>
<a name="33" href="#33">33</a> <font color="#329900"><i> * 5. Products derived from this software may not be called "Apache"</font></i>
<a name="34" href="#34">34</a> <font color="#329900"><i> * nor may "Apache" appear in their names without prior written</font></i>
<a name="35" href="#35">35</a> <font color="#329900"><i> * permission of the Apache Group.</font></i>
<a name="36" href="#36">36</a> <font color="#329900"><i> *</font></i>
<a name="37" href="#37">37</a> <font color="#329900"><i> * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED</font></i>
<a name="38" href="#38">38</a> <font color="#329900"><i> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES</font></i>
<a name="39" href="#39">39</a> <font color="#329900"><i> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</font></i>
<a name="40" href="#40">40</a> <font color="#329900"><i> * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR</font></i>
<a name="41" href="#41">41</a> <font color="#329900"><i> * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</font></i>
<a name="42" href="#42">42</a> <font color="#329900"><i> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</font></i>
<a name="43" href="#43">43</a> <font color="#329900"><i> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF</font></i>
<a name="44" href="#44">44</a> <font color="#329900"><i> * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</font></i>
<a name="45" href="#45">45</a> <font color="#329900"><i> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,</font></i>
<a name="46" href="#46">46</a> <font color="#329900"><i> * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT</font></i>
<a name="47" href="#47">47</a> <font color="#329900"><i> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</font></i>
<a name="48" href="#48">48</a> <font color="#329900"><i> * SUCH DAMAGE.</font></i>
<a name="49" href="#49">49</a> <font color="#329900"><i> * ====================================================================</font></i>
<a name="50" href="#50">50</a> <font color="#329900"><i> *</font></i>
<a name="51" href="#51">51</a> <font color="#329900"><i> * This software consists of voluntary contributions made by many</font></i>
<a name="52" href="#52">52</a> <font color="#329900"><i> * individuals on behalf of the Apache Software Foundation. For more</font></i>
<a name="53" href="#53">53</a> <font color="#329900"><i> * information on the Apache Software Foundation, please see</font></i>
<a name="54" href="#54">54</a> <font color="#329900"><i> * <<a href="http://www.apache.org/>" target="alexandria_uri">http://www.apache.org/></a>;.</font></i>
<a name="55" href="#55">55</a> <font color="#329900"><i> *</font></i>
<a name="56" href="#56">56</a> <font color="#329900"><i> * [Additional notices, if required by prior licensing conditions]</font></i>
<a name="57" href="#57">57</a> <font color="#329900"><i> *</font></i>
<a name="58" href="#58">58</a> <font color="#329900"><i> */</font></i>
<a name="59" href="#59">59</a>
<a name="60" href="#60">60</a> <b>package</b> <a href="../../../../org/apache/commons/latka/index.html">org.apache.commons.latka</a>;
<a name="61" href="#61">61</a>
<a name="62" href="#62">62</a> <b>import</b> junit.framework.Test;
<a name="63" href="#63">63</a> <b>import</b> junit.framework.TestCase;
<a name="64" href="#64">64</a> <b>import</b> junit.framework.TestSuite;
<a name="65" href="#65">65</a>
<a name="66" href="#66">66</a> <b>import</b> org.apache.log4j.BasicConfigurator;
<a name="67" href="#67">67</a>
<a name="68" href="#68">68</a> <font color="#AA0000"><i>/**<font color="#AA0000"><i>*</font></i></font></i>
<a name="69" href="#69">69</a> <font color="#AA0000"><i> * @author Morgan Delagrange</font></i>
<a name="70" href="#70">70</a> <font color="#AA0000"><i> * @version $Id: TestAll.html,v 1.1 2002/04/01 05:50:05 dion Exp $</font></i>
<a name="71" href="#71">71</a> <font color="#AA0000"><i> */</font></i>
<a name="72" href="#72">72</a> <b>public</b> <b>class</b> <a href="../../../../org/apache/commons/latka/TestAll.html">TestAll</a> <b>extends</b> TestCase {
<a name="73" href="#73">73</a>
<a name="74" href="#74">74</a> <b>public</b> <a href="../../../../org/apache/commons/latka/TestAll.html">TestAll</a>(String testName) {
<a name="75" href="#75">75</a> <b>super</b>(testName);
<a name="76" href="#76">76</a> }
<a name="77" href="#77">77</a>
<a name="78" href="#78">78</a> <b>public</b> <b>static</b> Test suite() {
<a name="79" href="#79">79</a> TestSuite suite = <b>new</b> TestSuite();
<a name="80" href="#80">80</a> suite.addTest(TestStatusCodes.suite());
<a name="81" href="#81">81</a> suite.addTest(org.apache.commons.latka.junit.TestAll.suite());
<a name="82" href="#82">82</a> <b>return</b> suite;
<a name="83" href="#83">83</a> }
<a name="84" href="#84">84</a>
<a name="85" href="#85">85</a> <b>public</b> <b>static</b> <b>void</b> main(String args[]) {
<a name="86" href="#86">86</a> String[] testCaseName = { TestAll.<b>class</b>.getName() };
<a name="87" href="#87">87</a> junit.textui.TestRunner.main(testCaseName);
<a name="88" href="#88">88</a> }
<a name="89" href="#89">89</a>
<a name="90" href="#90">90</a> }
</pre>
<hr><center>This page automatically generated by Maven</center></body>
</html>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/latka/index.html
Index: index.html
===================================================================
<html>
<body bgcolor="white">
<a href="../">[parent]</a>
<hr>
<table width="100%">
<tr>
<td><b>Name</b></td>
<td><b>Size</b></td>
<td><b>Last Modified</b></td>
</tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./folder.gif" valign="middle" border="0"> <a href="junit/index.html">junit</a></td><td valign="middle" NOWRAP>0 (in bytes) </td><td valign="middle" NOWRAP>30/03/2002</td></tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./file.gif" valign="middle" border="0"> <a href="TestAll.html">TestAll.java</a></td><td valign="middle" NOWRAP>9489 (in bytes) </td><td valign="middle" NOWRAP>1/04/2002</td></tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./file.gif" valign="middle" border="0"> <a href="TestStatusCodes.html">TestStatusCodes.java</a></td><td valign="middle" NOWRAP>13515 (in bytes) </td><td valign="middle" NOWRAP>1/04/2002</td></tr>
</table>
<hr>
<center>This page automatically generated by Maven</center>
</body>
</html>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/folder.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/file.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/org/apache/commons/index.html
Index: index.html
===================================================================
<html>
<body bgcolor="white">
<a href="../">[parent]</a>
<hr>
<table width="100%">
<tr>
<td><b>Name</b></td>
<td><b>Size</b></td>
<td><b>Last Modified</b></td>
</tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./folder.gif" valign="middle" border="0"> <a href="latka/index.html">latka</a></td><td valign="middle" NOWRAP>0 (in bytes) </td><td valign="middle" NOWRAP>30/03/2002</td></tr>
</table>
<hr>
<center>This page automatically generated by Maven</center>
</body>
</html>
1.1 jakarta-commons/docs/latka/xref/test/folder.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/file.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/test/index.html
Index: index.html
===================================================================
<html>
<body bgcolor="white">
<a href="../">[parent]</a>
<hr>
<table width="100%">
<tr>
<td><b>Name</b></td>
<td><b>Size</b></td>
<td><b>Last Modified</b></td>
</tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./folder.gif" valign="middle" border="0"> <a href="org/index.html">org</a></td><td valign="middle" NOWRAP>0 (in bytes) </td><td valign="middle" NOWRAP>30/03/2002</td></tr>
</table>
<hr>
<center>This page automatically generated by Maven</center>
</body>
</html>
1.1 jakarta-commons/docs/latka/xref/folder.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/file.gif
<<Binary file>>
1.1 jakarta-commons/docs/latka/xref/index.html
Index: index.html
===================================================================
<html>
<body bgcolor="white">
<a href="../">[parent]</a>
<hr>
<table width="100%">
<tr>
<td><b>Name</b></td>
<td><b>Size</b></td>
<td><b>Last Modified</b></td>
</tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./folder.gif" valign="middle" border="0"> <a href="java/index.html">java</a></td><td valign="middle" NOWRAP>0 (in bytes) </td><td valign="middle" NOWRAP>30/03/2002</td></tr>
<tr valign="middle"><td valign="middle" NOWRAP><img src="./folder.gif" valign="middle" border="0"> <a href="test/index.html">test</a></td><td valign="middle" NOWRAP>0 (in bytes) </td><td valign="middle" NOWRAP>30/03/2002</td></tr>
</table>
<hr>
<center>This page automatically generated by Maven</center>
</body>
</html>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>