commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r853148 [17/36] - in /websites/production/commons/content/proper/commons-logging/javadocs: api-1.0.4/ api-1.0.4/api/ api-1.0.4/apidocs/ api-1.0.4/apidocs/org/ api-1.0.4/apidocs/org/apache/ api-1.0.4/apidocs/org/apache/commons/ api-1.0.4/api...
Date Tue, 05 Mar 2013 18:53:10 GMT
Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/index.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/AbstractLogTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/AbstractLogTest.html (added)
+++ websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/AbstractLogTest.html Tue Mar  5 18:53:06 2013
@@ -0,0 +1,111 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>AbstractLogTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2001-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em> 
+<a name="16" href="#16">16</a>   
+<a name="17" href="#17">17</a>   
+<a name="18" href="#18">18</a>  <strong>package</strong> <a href="../../../../org/apache/commons/logging/package-summary.html">org.apache.commons.logging</a>;
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong>import</strong> junit.framework.*;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  
+<a name="23" href="#23">23</a>  <em>/**<em>*</em></em>
+<a name="24" href="#24">24</a>  <em>  *</em>
+<a name="25" href="#25">25</a>  <em>  * @author Sean C. Sullivan</em>
+<a name="26" href="#26">26</a>  <em>  * @version $Revision$</em>
+<a name="27" href="#27">27</a>  <em>  * </em>
+<a name="28" href="#28">28</a>  <em>  */</em>
+<a name="29" href="#29">29</a>  <strong>public</strong> <strong>abstract</strong> <strong>class</strong> <a href="../../../../org/apache/commons/logging/AbstractLogTest.html">AbstractLogTest</a> <strong>extends</strong> TestCase {
+<a name="30" href="#30">30</a>  
+<a name="31" href="#31">31</a>      <strong>public</strong> <a href="../../../../org/apache/commons/logging/AbstractLogTest.html">AbstractLogTest</a>(String testName) {
+<a name="32" href="#32">32</a>          <strong>super</strong>(testName);
+<a name="33" href="#33">33</a>      }
+<a name="34" href="#34">34</a>  
+<a name="35" href="#35">35</a>      
+<a name="36" href="#36">36</a>      <strong>public</strong> <strong>abstract</strong> Log getLogObject();
+<a name="37" href="#37">37</a>  
+<a name="38" href="#38">38</a>  	<strong>public</strong> <strong>void</strong> testLoggingWithNullParameters()
+<a name="39" href="#39">39</a>  	{
+<a name="40" href="#40">40</a>  		Log log = <strong>this</strong>.getLogObject();
+<a name="41" href="#41">41</a>  		
+<a name="42" href="#42">42</a>  		assertNotNull(log);
+<a name="43" href="#43">43</a>  		
+<a name="44" href="#44">44</a>  
+<a name="45" href="#45">45</a>  		log.debug(<strong>null</strong>);
+<a name="46" href="#46">46</a>  		
+<a name="47" href="#47">47</a>  		log.debug(<strong>null</strong>, <strong>null</strong>);
+<a name="48" href="#48">48</a>  		
+<a name="49" href="#49">49</a>  		log.debug(log.getClass().getName() + <span class="string">": debug statement"</span>);
+<a name="50" href="#50">50</a>  		
+<a name="51" href="#51">51</a>  		log.debug(log.getClass().getName() + <span class="string">": debug statement w/ null exception"</span>, <strong>new</strong> RuntimeException());
+<a name="52" href="#52">52</a>  		
+<a name="53" href="#53">53</a>  
+<a name="54" href="#54">54</a>  		log.error(<strong>null</strong>);
+<a name="55" href="#55">55</a>  		
+<a name="56" href="#56">56</a>  		log.error(<strong>null</strong>, <strong>null</strong>);
+<a name="57" href="#57">57</a>  		
+<a name="58" href="#58">58</a>  		log.error(log.getClass().getName() + <span class="string">": error statement"</span>);
+<a name="59" href="#59">59</a>  		
+<a name="60" href="#60">60</a>  		log.error(log.getClass().getName() + <span class="string">": error statement w/ null exception"</span>, <strong>new</strong> RuntimeException());
+<a name="61" href="#61">61</a>  		
+<a name="62" href="#62">62</a>  
+<a name="63" href="#63">63</a>  		log.fatal(<strong>null</strong>);
+<a name="64" href="#64">64</a>  		
+<a name="65" href="#65">65</a>  		log.fatal(<strong>null</strong>, <strong>null</strong>);
+<a name="66" href="#66">66</a>  		
+<a name="67" href="#67">67</a>  		log.fatal(log.getClass().getName() + <span class="string">": fatal statement"</span>);
+<a name="68" href="#68">68</a>  		
+<a name="69" href="#69">69</a>  		log.fatal(log.getClass().getName() + <span class="string">": fatal statement w/ null exception"</span>, <strong>new</strong> RuntimeException());
+<a name="70" href="#70">70</a>  		
+<a name="71" href="#71">71</a>  
+<a name="72" href="#72">72</a>  		log.info(<strong>null</strong>);
+<a name="73" href="#73">73</a>  		
+<a name="74" href="#74">74</a>  		log.info(<strong>null</strong>, <strong>null</strong>);
+<a name="75" href="#75">75</a>  		
+<a name="76" href="#76">76</a>  		log.info(log.getClass().getName() + <span class="string">": info statement"</span>);
+<a name="77" href="#77">77</a>  		
+<a name="78" href="#78">78</a>  		log.info(log.getClass().getName() + <span class="string">": info statement w/ null exception"</span>, <strong>new</strong> RuntimeException());
+<a name="79" href="#79">79</a>  		
+<a name="80" href="#80">80</a>  
+<a name="81" href="#81">81</a>  		log.trace(<strong>null</strong>);
+<a name="82" href="#82">82</a>  		
+<a name="83" href="#83">83</a>  		log.trace(<strong>null</strong>, <strong>null</strong>);
+<a name="84" href="#84">84</a>  		
+<a name="85" href="#85">85</a>  		log.trace(log.getClass().getName() + <span class="string">": trace statement"</span>);
+<a name="86" href="#86">86</a>  		
+<a name="87" href="#87">87</a>  		log.trace(log.getClass().getName() + <span class="string">": trace statement w/ null exception"</span>, <strong>new</strong> RuntimeException());
+<a name="88" href="#88">88</a>  		
+<a name="89" href="#89">89</a>  
+<a name="90" href="#90">90</a>  		log.warn(<strong>null</strong>);
+<a name="91" href="#91">91</a>  		
+<a name="92" href="#92">92</a>  		log.warn(<strong>null</strong>, <strong>null</strong>);
+<a name="93" href="#93">93</a>  		
+<a name="94" href="#94">94</a>  		log.warn(log.getClass().getName() + <span class="string">": warn statement"</span>);
+<a name="95" href="#95">95</a>  		
+<a name="96" href="#96">96</a>  		log.warn(log.getClass().getName() + <span class="string">": warn statement w/ null exception"</span>, <strong>new</strong> RuntimeException());
+<a name="97" href="#97">97</a>  	}    
+<a name="98" href="#98">98</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/AbstractLogTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/AbstractLogTest.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/AbstractLogTest.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/BasicOperationsTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/BasicOperationsTest.html (added)
+++ websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/BasicOperationsTest.html Tue Mar  5 18:53:06 2013
@@ -0,0 +1,138 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>BasicOperationsTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em> 
+<a name="16" href="#16">16</a>   
+<a name="17" href="#17">17</a>  <strong>package</strong> <a href="../../../../org/apache/commons/logging/package-summary.html">org.apache.commons.logging</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <strong>import</strong> junit.framework.TestCase;
+<a name="20" href="#20">20</a>  
+<a name="21" href="#21">21</a>  <em>/**<em>*</em></em>
+<a name="22" href="#22">22</a>  <em> * Tests the basic logging operations to ensure that they all function </em>
+<a name="23" href="#23">23</a>  <em> * without exception failure. In other words, that they do no fail by</em>
+<a name="24" href="#24">24</a>  <em> * throwing exceptions.</em>
+<a name="25" href="#25">25</a>  <em> * This is the minimum requirement for any well behaved logger </em>
+<a name="26" href="#26">26</a>  <em> * and so this test should be run for each kind.</em>
+<a name="27" href="#27">27</a>  <em> */</em>
+<a name="28" href="#28">28</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/commons/logging/BasicOperationsTest.html">BasicOperationsTest</a> <strong>extends</strong> TestCase
+<a name="29" href="#29">29</a>  {
+<a name="30" href="#30">30</a>      <strong>public</strong> <a href="../../../../org/apache/commons/logging/BasicOperationsTest.html">BasicOperationsTest</a>(String testName)
+<a name="31" href="#31">31</a>      {
+<a name="32" href="#32">32</a>          <strong>super</strong>(testName);
+<a name="33" href="#33">33</a>      }
+<a name="34" href="#34">34</a>      
+<a name="35" href="#35">35</a>      <strong>public</strong> <strong>void</strong> testIsEnabledClassLog()
+<a name="36" href="#36">36</a>      {
+<a name="37" href="#37">37</a>          Log log = LogFactory.getLog(BasicOperationsTest.<strong>class</strong>);
+<a name="38" href="#38">38</a>          executeIsEnabledTest(log);
+<a name="39" href="#39">39</a>      }
+<a name="40" href="#40">40</a>      
+<a name="41" href="#41">41</a>      <strong>public</strong> <strong>void</strong> testIsEnabledNamedLog()
+<a name="42" href="#42">42</a>      {
+<a name="43" href="#43">43</a>          Log log = LogFactory.getLog(BasicOperationsTest.<strong>class</strong>.getName());
+<a name="44" href="#44">44</a>          executeIsEnabledTest(log);
+<a name="45" href="#45">45</a>      }    
+<a name="46" href="#46">46</a>      
+<a name="47" href="#47">47</a>      <strong>public</strong> <strong>void</strong> executeIsEnabledTest(Log log)
+<a name="48" href="#48">48</a>      {
+<a name="49" href="#49">49</a>          <strong>try</strong>
+<a name="50" href="#50">50</a>          {
+<a name="51" href="#51">51</a>              log.isTraceEnabled();
+<a name="52" href="#52">52</a>              log.isDebugEnabled();
+<a name="53" href="#53">53</a>              log.isInfoEnabled();
+<a name="54" href="#54">54</a>              log.isWarnEnabled();
+<a name="55" href="#55">55</a>              log.isErrorEnabled();
+<a name="56" href="#56">56</a>              log.isFatalEnabled();
+<a name="57" href="#57">57</a>          }
+<a name="58" href="#58">58</a>          <strong>catch</strong> (Throwable t)
+<a name="59" href="#59">59</a>          {
+<a name="60" href="#60">60</a>              t.printStackTrace();
+<a name="61" href="#61">61</a>              fail(<span class="string">"Exception thrown: "</span> + t);
+<a name="62" href="#62">62</a>          }
+<a name="63" href="#63">63</a>      }
+<a name="64" href="#64">64</a>      
+<a name="65" href="#65">65</a>      
+<a name="66" href="#66">66</a>      <strong>public</strong> <strong>void</strong> testMessageWithoutExceptionClassLog()
+<a name="67" href="#67">67</a>      {
+<a name="68" href="#68">68</a>          Log log = LogFactory.getLog(BasicOperationsTest.<strong>class</strong>);
+<a name="69" href="#69">69</a>          executeMessageWithoutExceptionTest(log);
+<a name="70" href="#70">70</a>      }
+<a name="71" href="#71">71</a>      
+<a name="72" href="#72">72</a>      <strong>public</strong> <strong>void</strong> testMessageWithoutExceptionNamedLog()
+<a name="73" href="#73">73</a>      {
+<a name="74" href="#74">74</a>          Log log = LogFactory.getLog(BasicOperationsTest.<strong>class</strong>.getName());
+<a name="75" href="#75">75</a>          executeMessageWithoutExceptionTest(log);
+<a name="76" href="#76">76</a>      }    
+<a name="77" href="#77">77</a>      
+<a name="78" href="#78">78</a>      <strong>public</strong> <strong>void</strong> executeMessageWithoutExceptionTest(Log log)
+<a name="79" href="#79">79</a>      {
+<a name="80" href="#80">80</a>          <strong>try</strong>
+<a name="81" href="#81">81</a>          {
+<a name="82" href="#82">82</a>              log.trace(<span class="string">"Hello, Mum"</span>);
+<a name="83" href="#83">83</a>              log.debug(<span class="string">"Hello, Mum"</span>);
+<a name="84" href="#84">84</a>              log.info(<span class="string">"Hello, Mum"</span>);
+<a name="85" href="#85">85</a>              log.warn(<span class="string">"Hello, Mum"</span>);
+<a name="86" href="#86">86</a>              log.error(<span class="string">"Hello, Mum"</span>);
+<a name="87" href="#87">87</a>              log.fatal(<span class="string">"Hello, Mum"</span>);
+<a name="88" href="#88">88</a>          }
+<a name="89" href="#89">89</a>          <strong>catch</strong> (Throwable t)
+<a name="90" href="#90">90</a>          {
+<a name="91" href="#91">91</a>              t.printStackTrace();
+<a name="92" href="#92">92</a>              fail(<span class="string">"Exception thrown: "</span> + t);
+<a name="93" href="#93">93</a>          }
+<a name="94" href="#94">94</a>      }
+<a name="95" href="#95">95</a>      
+<a name="96" href="#96">96</a>      <strong>public</strong> <strong>void</strong> testMessageWithExceptionClassLog()
+<a name="97" href="#97">97</a>      {
+<a name="98" href="#98">98</a>          Log log = LogFactory.getLog(BasicOperationsTest.<strong>class</strong>);
+<a name="99" href="#99">99</a>          executeMessageWithExceptionTest(log);
+<a name="100" href="#100">100</a>     }
+<a name="101" href="#101">101</a>     
+<a name="102" href="#102">102</a>     <strong>public</strong> <strong>void</strong> testMessageWithExceptionNamedLog()
+<a name="103" href="#103">103</a>     {
+<a name="104" href="#104">104</a>         Log log = LogFactory.getLog(BasicOperationsTest.<strong>class</strong>.getName());
+<a name="105" href="#105">105</a>         executeMessageWithExceptionTest(log);
+<a name="106" href="#106">106</a>     }    
+<a name="107" href="#107">107</a>     
+<a name="108" href="#108">108</a>     <strong>public</strong> <strong>void</strong> executeMessageWithExceptionTest(Log log)
+<a name="109" href="#109">109</a>     {
+<a name="110" href="#110">110</a>         <strong>try</strong>
+<a name="111" href="#111">111</a>         {
+<a name="112" href="#112">112</a>             log.trace(<span class="string">"Hello, Mum"</span>, <strong>new</strong> ArithmeticException());
+<a name="113" href="#113">113</a>             log.debug(<span class="string">"Hello, Mum"</span>, <strong>new</strong> ArithmeticException());
+<a name="114" href="#114">114</a>             log.info(<span class="string">"Hello, Mum"</span>, <strong>new</strong> ArithmeticException());
+<a name="115" href="#115">115</a>             log.warn(<span class="string">"Hello, Mum"</span>, <strong>new</strong> ArithmeticException());
+<a name="116" href="#116">116</a>             log.error(<span class="string">"Hello, Mum"</span>, <strong>new</strong> ArithmeticException());
+<a name="117" href="#117">117</a>             log.fatal(<span class="string">"Hello, Mum"</span>, <strong>new</strong> ArithmeticException());
+<a name="118" href="#118">118</a>         }
+<a name="119" href="#119">119</a>         <strong>catch</strong> (Throwable t)
+<a name="120" href="#120">120</a>         {
+<a name="121" href="#121">121</a>             t.printStackTrace();
+<a name="122" href="#122">122</a>             fail(<span class="string">"Exception thrown: "</span> + t);
+<a name="123" href="#123">123</a>         }
+<a name="124" href="#124">124</a>     }
+<a name="125" href="#125">125</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/BasicOperationsTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/BasicOperationsTest.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/BasicOperationsTest.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LoadTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LoadTest.html (added)
+++ websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LoadTest.html Tue Mar  5 18:53:06 2013
@@ -0,0 +1,201 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>LoadTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2001-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em> 
+<a name="16" href="#16">16</a>  <strong>package</strong> <a href="../../../../org/apache/commons/logging/package-summary.html">org.apache.commons.logging</a>;
+<a name="17" href="#17">17</a>  
+<a name="18" href="#18">18</a>  <strong>import</strong> junit.framework.Test;
+<a name="19" href="#19">19</a>  <strong>import</strong> junit.framework.TestCase;
+<a name="20" href="#20">20</a>  <strong>import</strong> junit.framework.TestSuite;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <em>/**<em>*</em></em>
+<a name="23" href="#23">23</a>  <em> * testcase to emulate container and application isolated from container</em>
+<a name="24" href="#24">24</a>  <em> * @author  baliuka</em>
+<a name="25" href="#25">25</a>  <em> * @version $Id$</em>
+<a name="26" href="#26">26</a>  <em> */</em>
+<a name="27" href="#27">27</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/commons/logging/LoadTest.html">LoadTest</a> <strong>extends</strong> TestCase{
+<a name="28" href="#28">28</a>      <em class="comment">//TODO: need some way to add service provider packages</em>
+<a name="29" href="#29">29</a>      <strong>static</strong> <strong>private</strong> String LOG_PCKG[] = {<span class="string">"org.apache.commons.logging"</span>,
+<a name="30" href="#30">30</a>                                          <span class="string">"org.apache.commons.logging.impl"</span>};
+<a name="31" href="#31">31</a>      
+<a name="32" href="#32">32</a>      <strong>static</strong> <strong>class</strong> AppClassLoader <strong>extends</strong> ClassLoader{
+<a name="33" href="#33">33</a>          
+<a name="34" href="#34">34</a>          java.util.Map classes = <strong>new</strong> java.util.HashMap();
+<a name="35" href="#35">35</a>          
+<a name="36" href="#36">36</a>          AppClassLoader(ClassLoader parent){
+<a name="37" href="#37">37</a>              <strong>super</strong>(parent);
+<a name="38" href="#38">38</a>          }
+<a name="39" href="#39">39</a>          
+<a name="40" href="#40">40</a>          <strong>private</strong> Class def(String name)throws ClassNotFoundException{
+<a name="41" href="#41">41</a>              
+<a name="42" href="#42">42</a>              Class result = (Class)classes.get(name);
+<a name="43" href="#43">43</a>              <strong>if</strong>(result != <strong>null</strong>){
+<a name="44" href="#44">44</a>                  <strong>return</strong> result;
+<a name="45" href="#45">45</a>              }
+<a name="46" href="#46">46</a>              
+<a name="47" href="#47">47</a>              <strong>try</strong>{
+<a name="48" href="#48">48</a>                  
+<a name="49" href="#49">49</a>                  java.io.InputStream is = <strong>this</strong>.getClass().getClassLoader().
+<a name="50" href="#50">50</a>                  getResourceAsStream( name.replace('.','&#47;&#47;') + <span class="string">".class"</span> );
+<a name="51" href="#51">51</a>                  java.io.ByteArrayOutputStream out = <strong>new</strong> java.io.ByteArrayOutputStream();
+<a name="52" href="#52">52</a>                  
+<a name="53" href="#53">53</a>                  <strong>while</strong>(is.available() > 0){
+<a name="54" href="#54">54</a>                      out.write(is.read());
+<a name="55" href="#55">55</a>                  }
+<a name="56" href="#56">56</a>                  
+<a name="57" href="#57">57</a>                  byte data [] = out.toByteArray();
+<a name="58" href="#58">58</a>                  
+<a name="59" href="#59">59</a>                  result = <strong>super</strong>.defineClass(name, data, 0, data.length );
+<a name="60" href="#60">60</a>                  classes.put(name,result);
+<a name="61" href="#61">61</a>                  
+<a name="62" href="#62">62</a>                  <strong>return</strong> result;
+<a name="63" href="#63">63</a>                  
+<a name="64" href="#64">64</a>              }<strong>catch</strong>(java.io.IOException ioe){
+<a name="65" href="#65">65</a>                  
+<a name="66" href="#66">66</a>                  <strong>throw</strong> <strong>new</strong> ClassNotFoundException( name + <span class="string">" caused by "</span>
+<a name="67" href="#67">67</a>                  + ioe.getMessage() );
+<a name="68" href="#68">68</a>              }
+<a name="69" href="#69">69</a>              
+<a name="70" href="#70">70</a>              
+<a name="71" href="#71">71</a>          }
+<a name="72" href="#72">72</a>          
+<a name="73" href="#73">73</a>          <em class="comment">// not very trivial to emulate we must implement "findClass",</em>
+<a name="74" href="#74">74</a>          <em class="comment">// but it will delegete to junit class loder first</em>
+<a name="75" href="#75">75</a>          <strong>public</strong> Class loadClass(String name)throws ClassNotFoundException{
+<a name="76" href="#76">76</a>              
+<a name="77" href="#77">77</a>              <em class="comment">//isolates all logging classes, application in the same classloader too.</em>
+<a name="78" href="#78">78</a>              <em class="comment">//filters exeptions to simlify handling in test</em>
+<a name="79" href="#79">79</a>              <strong>for</strong>(<strong>int</strong> i = 0; i &lt; LOG_PCKG.length; i++ ){
+<a name="80" href="#80">80</a>                  <strong>if</strong>( name.startsWith( LOG_PCKG[i] ) &amp;&amp;
+<a name="81" href="#81">81</a>                  name.indexOf(<span class="string">"Exception"</span>) == -1   ){
+<a name="82" href="#82">82</a>                      <strong>return</strong> def(name);
+<a name="83" href="#83">83</a>                  }
+<a name="84" href="#84">84</a>              }
+<a name="85" href="#85">85</a>              <strong>return</strong> <strong>super</strong>.loadClass(name);
+<a name="86" href="#86">86</a>          }
+<a name="87" href="#87">87</a>          
+<a name="88" href="#88">88</a>      }
+<a name="89" href="#89">89</a>      
+<a name="90" href="#90">90</a>      
+<a name="91" href="#91">91</a>      
+<a name="92" href="#92">92</a>      <strong>public</strong> <strong>void</strong> testInContainer()throws Exception{
+<a name="93" href="#93">93</a>          
+<a name="94" href="#94">94</a>          <em class="comment">//problem can be in this step (broken app container or missconfiguration)</em>
+<a name="95" href="#95">95</a>          <em class="comment">//1.  Thread.currentThread().setContextClassLoader(ClassLoader.getSystemClassLoader());</em>
+<a name="96" href="#96">96</a>          <em class="comment">//2.  Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());</em>
+<a name="97" href="#97">97</a>          <em class="comment">// we expect this :</em>
+<a name="98" href="#98">98</a>          <em class="comment">// 1. Thread.currentThread().setContextClassLoader(appLoader);</em>
+<a name="99" href="#99">99</a>          <em class="comment">// 2. Thread.currentThread().setContextClassLoader(null);</em>
+<a name="100" href="#100">100</a>         
+<a name="101" href="#101">101</a>         Class cls = reload();
+<a name="102" href="#102">102</a>         Thread.currentThread().setContextClassLoader(cls.getClassLoader());
+<a name="103" href="#103">103</a>         execute(cls);
+<a name="104" href="#104">104</a>         
+<a name="105" href="#105">105</a>         cls = reload();
+<a name="106" href="#106">106</a>         Thread.currentThread().setContextClassLoader(<strong>null</strong>);
+<a name="107" href="#107">107</a>         execute(cls);
+<a name="108" href="#108">108</a>         
+<a name="109" href="#109">109</a>         
+<a name="110" href="#110">110</a>         cls = reload();
+<a name="111" href="#111">111</a>         Thread.currentThread().setContextClassLoader(ClassLoader.getSystemClassLoader());
+<a name="112" href="#112">112</a>         <strong>try</strong>{
+<a name="113" href="#113">113</a>             execute(cls);
+<a name="114" href="#114">114</a>             fail(<span class="string">"SystemClassLoader"</span>);
+<a name="115" href="#115">115</a>         }<strong>catch</strong>( LogConfigurationException ok ){
+<a name="116" href="#116">116</a>             
+<a name="117" href="#117">117</a>         }
+<a name="118" href="#118">118</a>         
+<a name="119" href="#119">119</a>         
+<a name="120" href="#120">120</a>         cls = reload();
+<a name="121" href="#121">121</a>         Thread.currentThread().setContextClassLoader(<strong>this</strong>.getClass().getClassLoader());
+<a name="122" href="#122">122</a>         <strong>try</strong>{
+<a name="123" href="#123">123</a>             execute(cls);
+<a name="124" href="#124">124</a>             fail(<span class="string">"ContainerClassLoader"</span>);
+<a name="125" href="#125">125</a>         }<strong>catch</strong>( LogConfigurationException ok ){
+<a name="126" href="#126">126</a>             
+<a name="127" href="#127">127</a>         }
+<a name="128" href="#128">128</a>         
+<a name="129" href="#129">129</a>     }
+<a name="130" href="#130">130</a>     
+<a name="131" href="#131">131</a>     <strong>private</strong> Class reload()throws Exception{
+<a name="132" href="#132">132</a>         
+<a name="133" href="#133">133</a>         Class testObjCls = <strong>null</strong>;
+<a name="134" href="#134">134</a>         
+<a name="135" href="#135">135</a>         AppClassLoader appLoader = <strong>new</strong> AppClassLoader( <strong>this</strong>.getClass().
+<a name="136" href="#136">136</a>         getClassLoader()
+<a name="137" href="#137">137</a>         
+<a name="138" href="#138">138</a>         );
+<a name="139" href="#139">139</a>         <strong>try</strong>{
+<a name="140" href="#140">140</a>             
+<a name="141" href="#141">141</a>             testObjCls = appLoader.loadClass(UserClass.<strong>class</strong>.getName());
+<a name="142" href="#142">142</a>             
+<a name="143" href="#143">143</a>         }<strong>catch</strong>(ClassNotFoundException cnfe){
+<a name="144" href="#144">144</a>             <strong>throw</strong> cnfe;
+<a name="145" href="#145">145</a>         }<strong>catch</strong>(Throwable t){
+<a name="146" href="#146">146</a>             t.printStackTrace();
+<a name="147" href="#147">147</a>             fail(<span class="string">"AppClassLoader failed "</span>);
+<a name="148" href="#148">148</a>         }
+<a name="149" href="#149">149</a>         
+<a name="150" href="#150">150</a>         assertTrue( <span class="string">"app isolated"</span> ,testObjCls.getClassLoader() == appLoader );
+<a name="151" href="#151">151</a>         
+<a name="152" href="#152">152</a>         
+<a name="153" href="#153">153</a>         <strong>return</strong> testObjCls;
+<a name="154" href="#154">154</a>         
+<a name="155" href="#155">155</a>         
+<a name="156" href="#156">156</a>     }
+<a name="157" href="#157">157</a>     
+<a name="158" href="#158">158</a>     
+<a name="159" href="#159">159</a>     <strong>private</strong> <strong>void</strong> execute(Class cls)throws Exception{
+<a name="160" href="#160">160</a>             
+<a name="161" href="#161">161</a>             cls.newInstance();
+<a name="162" href="#162">162</a>         
+<a name="163" href="#163">163</a>     }
+<a name="164" href="#164">164</a>     
+<a name="165" href="#165">165</a>     
+<a name="166" href="#166">166</a>     
+<a name="167" href="#167">167</a>     <em>/**<em>* Creates a new instance of <a href="../../../../org/apache/commons/logging/LoadTest.html">LoadTest</a> */</em></em>
+<a name="168" href="#168">168</a>     <strong>public</strong> <a href="../../../../org/apache/commons/logging/LoadTest.html">LoadTest</a>(String testName) {
+<a name="169" href="#169">169</a>         <strong>super</strong>(testName);
+<a name="170" href="#170">170</a>     }
+<a name="171" href="#171">171</a>     
+<a name="172" href="#172">172</a>     
+<a name="173" href="#173">173</a>     
+<a name="174" href="#174">174</a>     
+<a name="175" href="#175">175</a>     <strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args){
+<a name="176" href="#176">176</a>         String[] testCaseName = { LoadTest.<strong>class</strong>.getName() };
+<a name="177" href="#177">177</a>         junit.textui.TestRunner.main(testCaseName);
+<a name="178" href="#178">178</a>     }
+<a name="179" href="#179">179</a>     
+<a name="180" href="#180">180</a>     <strong>public</strong> <strong>static</strong> Test suite() {
+<a name="181" href="#181">181</a>         TestSuite suite = <strong>new</strong> TestSuite();
+<a name="182" href="#182">182</a>         
+<a name="183" href="#183">183</a>         suite.addTestSuite(LoadTest.<strong>class</strong>);
+<a name="184" href="#184">184</a>         
+<a name="185" href="#185">185</a>         <strong>return</strong> suite;
+<a name="186" href="#186">186</a>     }
+<a name="187" href="#187">187</a>     
+<a name="188" href="#188">188</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LoadTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LoadTest.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LoadTest.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LogTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LogTest.html (added)
+++ websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LogTest.html Tue Mar  5 18:53:06 2013
@@ -0,0 +1,84 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>LogTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2001-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em> 
+<a name="16" href="#16">16</a>   
+<a name="17" href="#17">17</a>  <strong>package</strong> <a href="../../../../org/apache/commons/logging/package-summary.html">org.apache.commons.logging</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <strong>import</strong> junit.framework.Test;
+<a name="20" href="#20">20</a>  <strong>import</strong> junit.framework.TestSuite;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <em>/**<em>*</em></em>
+<a name="23" href="#23">23</a>  <em> * </em>
+<a name="24" href="#24">24</a>  <em> *</em>
+<a name="25" href="#25">25</a>  <em> * </em>
+<a name="26" href="#26">26</a>  <em> * </em>
+<a name="27" href="#27">27</a>  <em> * </em>
+<a name="28" href="#28">28</a>  <em> * </em>
+<a name="29" href="#29">29</a>  <em> */</em>
+<a name="30" href="#30">30</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/commons/logging/LogTest.html">LogTest</a> <strong>extends</strong> <a href="../../../../org/apache/commons/logging/AbstractLogTest.html">AbstractLogTest</a>
+<a name="31" href="#31">31</a>  {
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>      <em>/**<em>*</em></em>
+<a name="34" href="#34">34</a>  <em>     * </em>
+<a name="35" href="#35">35</a>  <em>     * </em>
+<a name="36" href="#36">36</a>  <em>     * @param testName</em>
+<a name="37" href="#37">37</a>  <em>     * </em>
+<a name="38" href="#38">38</a>  <em>     */</em>
+<a name="39" href="#39">39</a>      <strong>public</strong> <a href="../../../../org/apache/commons/logging/LogTest.html">LogTest</a>(String testName)
+<a name="40" href="#40">40</a>      {
+<a name="41" href="#41">41</a>          <strong>super</strong>(testName);
+<a name="42" href="#42">42</a>      }
+<a name="43" href="#43">43</a>  
+<a name="44" href="#44">44</a>      <em>/**<em>*</em></em>
+<a name="45" href="#45">45</a>  <em>     * </em>
+<a name="46" href="#46">46</a>  <em>     * </em>
+<a name="47" href="#47">47</a>  <em>     * </em>
+<a name="48" href="#48">48</a>  <em>     */</em>
+<a name="49" href="#49">49</a>      <strong>public</strong> Log getLogObject()
+<a name="50" href="#50">50</a>      {
+<a name="51" href="#51">51</a>          <em>/**<em>*</em></em>
+<a name="52" href="#52">52</a>  <em>         * Pickup whatever is found/configured!</em>
+<a name="53" href="#53">53</a>  <em>         */</em>
+<a name="54" href="#54">54</a>          <strong>return</strong> LogFactory.getLog(<strong>this</strong>.getClass().getName());
+<a name="55" href="#55">55</a>      }
+<a name="56" href="#56">56</a>  
+<a name="57" href="#57">57</a>      <strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args)
+<a name="58" href="#58">58</a>      {
+<a name="59" href="#59">59</a>              String[] testCaseName = { LogTest.<strong>class</strong>.getName() };
+<a name="60" href="#60">60</a>              junit.textui.TestRunner.main(testCaseName);    
+<a name="61" href="#61">61</a>      }
+<a name="62" href="#62">62</a>      
+<a name="63" href="#63">63</a>      <strong>public</strong> <strong>static</strong> Test suite() {
+<a name="64" href="#64">64</a>          TestSuite suite = <strong>new</strong> TestSuite();
+<a name="65" href="#65">65</a>          
+<a name="66" href="#66">66</a>          suite.addTestSuite(LogTest.<strong>class</strong>);
+<a name="67" href="#67">67</a>          
+<a name="68" href="#68">68</a>          <strong>return</strong> suite;
+<a name="69" href="#69">69</a>      }
+<a name="70" href="#70">70</a>      
+<a name="71" href="#71">71</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LogTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LogTest.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/LogTest.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/NoOpLogTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/NoOpLogTest.html (added)
+++ websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/NoOpLogTest.html Tue Mar  5 18:53:06 2013
@@ -0,0 +1,81 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>NoOpLogTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2001-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em> 
+<a name="16" href="#16">16</a>   
+<a name="17" href="#17">17</a>  <strong>package</strong> <a href="../../../../org/apache/commons/logging/package-summary.html">org.apache.commons.logging</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <strong>import</strong> org.apache.commons.logging.impl.NoOpLog;
+<a name="20" href="#20">20</a>  <strong>import</strong> junit.framework.*;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <em>/**<em>*</em></em>
+<a name="23" href="#23">23</a>  <em> * </em>
+<a name="24" href="#24">24</a>  <em> *</em>
+<a name="25" href="#25">25</a>  <em> * </em>
+<a name="26" href="#26">26</a>  <em> * </em>
+<a name="27" href="#27">27</a>  <em> * </em>
+<a name="28" href="#28">28</a>  <em> * </em>
+<a name="29" href="#29">29</a>  <em> */</em>
+<a name="30" href="#30">30</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/commons/logging/NoOpLogTest.html">NoOpLogTest</a> <strong>extends</strong> <a href="../../../../org/apache/commons/logging/AbstractLogTest.html">AbstractLogTest</a>
+<a name="31" href="#31">31</a>  {
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>  	<em>/**<em>*</em></em>
+<a name="34" href="#34">34</a>  <em>	 * </em>
+<a name="35" href="#35">35</a>  <em>	 * </em>
+<a name="36" href="#36">36</a>  <em>	 * @param testName</em>
+<a name="37" href="#37">37</a>  <em>	 * </em>
+<a name="38" href="#38">38</a>  <em>	 */</em>
+<a name="39" href="#39">39</a>  	<strong>public</strong> <a href="../../../../org/apache/commons/logging/NoOpLogTest.html">NoOpLogTest</a>(String testName)
+<a name="40" href="#40">40</a>  	{
+<a name="41" href="#41">41</a>  		<strong>super</strong>(testName);
+<a name="42" href="#42">42</a>  	}
+<a name="43" href="#43">43</a>  
+<a name="44" href="#44">44</a>  	<em>/**<em>*</em></em>
+<a name="45" href="#45">45</a>  <em>	 * </em>
+<a name="46" href="#46">46</a>  <em>	 * </em>
+<a name="47" href="#47">47</a>  <em>	 * </em>
+<a name="48" href="#48">48</a>  <em>	 */</em>
+<a name="49" href="#49">49</a>  	<strong>public</strong> Log getLogObject()
+<a name="50" href="#50">50</a>  	{
+<a name="51" href="#51">51</a>  		<strong>return</strong> (Log) <strong>new</strong> NoOpLog(<strong>this</strong>.getClass().getName());
+<a name="52" href="#52">52</a>  	}
+<a name="53" href="#53">53</a>  
+<a name="54" href="#54">54</a>  	<strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args)
+<a name="55" href="#55">55</a>  	{
+<a name="56" href="#56">56</a>          String[] testCaseName = { NoOpLogTest.<strong>class</strong>.getName() };
+<a name="57" href="#57">57</a>          junit.textui.TestRunner.main(testCaseName);	
+<a name="58" href="#58">58</a>  	}
+<a name="59" href="#59">59</a>  	
+<a name="60" href="#60">60</a>      <strong>public</strong> <strong>static</strong> Test suite() {
+<a name="61" href="#61">61</a>          TestSuite suite = <strong>new</strong> TestSuite();
+<a name="62" href="#62">62</a>          
+<a name="63" href="#63">63</a>          suite.addTestSuite(NoOpLogTest.<strong>class</strong>);
+<a name="64" href="#64">64</a>          
+<a name="65" href="#65">65</a>          <strong>return</strong> suite;
+<a name="66" href="#66">66</a>      }
+<a name="67" href="#67">67</a>  	
+<a name="68" href="#68">68</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/NoOpLogTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/NoOpLogTest.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/NoOpLogTest.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/SimpleLogTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/SimpleLogTest.html (added)
+++ websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/SimpleLogTest.html Tue Mar  5 18:53:06 2013
@@ -0,0 +1,81 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>SimpleLogTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2001-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em> 
+<a name="16" href="#16">16</a>   
+<a name="17" href="#17">17</a>   <strong>package</strong<a href="../../../../> org/apache/commons/logging/package-summary.html">> org.apache.commons.logging</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <strong>import</strong> org.apache.commons.logging.impl.SimpleLog;
+<a name="20" href="#20">20</a>  <strong>import</strong> junit.framework.*;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <em>/**<em>*</em></em>
+<a name="23" href="#23">23</a>  <em> * </em>
+<a name="24" href="#24">24</a>  <em> *</em>
+<a name="25" href="#25">25</a>  <em> * </em>
+<a name="26" href="#26">26</a>  <em> * </em>
+<a name="27" href="#27">27</a>  <em> * </em>
+<a name="28" href="#28">28</a>  <em> * </em>
+<a name="29" href="#29">29</a>  <em> */</em>
+<a name="30" href="#30">30</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/commons/logging/SimpleLogTest.html">SimpleLogTest</a> <strong>extends</strong> <a href="../../../../org/apache/commons/logging/AbstractLogTest.html">AbstractLogTest</a>
+<a name="31" href="#31">31</a>  {
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>  	<em>/**<em>*</em></em>
+<a name="34" href="#34">34</a>  <em>	 * </em>
+<a name="35" href="#35">35</a>  <em>	 * </em>
+<a name="36" href="#36">36</a>  <em>	 * @param testName</em>
+<a name="37" href="#37">37</a>  <em>	 * </em>
+<a name="38" href="#38">38</a>  <em>	 */</em>
+<a name="39" href="#39">39</a>  	<strong>public</strong> <a href="../../../../org/apache/commons/logging/SimpleLogTest.html">SimpleLogTest</a>(String testName)
+<a name="40" href="#40">40</a>  	{
+<a name="41" href="#41">41</a>  		<strong>super</strong>(testName);
+<a name="42" href="#42">42</a>  	}
+<a name="43" href="#43">43</a>  
+<a name="44" href="#44">44</a>  	<em>/**<em>*</em></em>
+<a name="45" href="#45">45</a>  <em>	 * </em>
+<a name="46" href="#46">46</a>  <em>	 * </em>
+<a name="47" href="#47">47</a>  <em>	 * </em>
+<a name="48" href="#48">48</a>  <em>	 */</em>
+<a name="49" href="#49">49</a>  	<strong>public</strong> Log getLogObject()
+<a name="50" href="#50">50</a>  	{
+<a name="51" href="#51">51</a>  		<strong>return</strong> (Log) <strong>new</strong> SimpleLog(<strong>this</strong>.getClass().getName());
+<a name="52" href="#52">52</a>  	}
+<a name="53" href="#53">53</a>  
+<a name="54" href="#54">54</a>  	<strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args)
+<a name="55" href="#55">55</a>  	{
+<a name="56" href="#56">56</a>          String[] testCaseName = { SimpleLogTest.<strong>class</strong>.getName() };
+<a name="57" href="#57">57</a>          junit.textui.TestRunner.main(testCaseName);	
+<a name="58" href="#58">58</a>      }
+<a name="59" href="#59">59</a>  	
+<a name="60" href="#60">60</a>      <strong>public</strong> <strong>static</strong> Test suite() {
+<a name="61" href="#61">61</a>          TestSuite suite = <strong>new</strong> TestSuite();
+<a name="62" href="#62">62</a>          
+<a name="63" href="#63">63</a>          suite.addTestSuite(SimpleLogTest.<strong>class</strong>);
+<a name="64" href="#64">64</a>          
+<a name="65" href="#65">65</a>          <strong>return</strong> suite;
+<a name="66" href="#66">66</a>      }
+<a name="67" href="#67">67</a>  	
+<a name="68" href="#68">68</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/SimpleLogTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/SimpleLogTest.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/SimpleLogTest.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/TestAll.html
==============================================================================
--- websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/TestAll.html (added)
+++ websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/TestAll.html Tue Mar  5 18:53:06 2013
@@ -0,0 +1,71 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>TestAll xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2001-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em> 
+<a name="16" href="#16">16</a>   
+<a name="17" href="#17">17</a>   
+<a name="18" href="#18">18</a>  <strong>package</strong> <a href="../../../../org/apache/commons/logging/package-summary.html">org.apache.commons.logging</a>;
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong>import</strong> junit.framework.*;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  
+<a name="23" href="#23">23</a>  <em>/**<em>*</em></em>
+<a name="24" href="#24">24</a>  <em>  * &lt;p> The build script calls just one &lt;code>TestSuite&lt;/code> - this one!</em>
+<a name="25" href="#25">25</a>  <em>  * All tests should be written into separate &lt;code>TestSuite&lt;/code>'s</em>
+<a name="26" href="#26">26</a>  <em>  * and added to this. Don't clutter this class with implementations. &lt;/p></em>
+<a name="27" href="#27">27</a>  <em>  *</em>
+<a name="28" href="#28">28</a>  <em>  * &lt;p> This class is based on &lt;code>org.apache.commons.betwixt.TestAll&lt;/code> </em>
+<a name="29" href="#29">29</a>  <em>  * coded by James Strachan. &lt;/p></em>
+<a name="30" href="#30">30</a>  <em>  *</em>
+<a name="31" href="#31">31</a>  <em>  * @author Robert Burrell Donkin</em>
+<a name="32" href="#32">32</a>  <em>  * @version $Revision$</em>
+<a name="33" href="#33">33</a>  <em> */</em>
+<a name="34" href="#34">34</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/commons/logging/TestAll.html">TestAll</a> <strong>extends</strong> TestCase {
+<a name="35" href="#35">35</a>  
+<a name="36" href="#36">36</a>      <strong>public</strong> <a href="../../../../org/apache/commons/logging/TestAll.html">TestAll</a>(String testName) {
+<a name="37" href="#37">37</a>          <strong>super</strong>(testName);
+<a name="38" href="#38">38</a>      }
+<a name="39" href="#39">39</a>  
+<a name="40" href="#40">40</a>      
+<a name="41" href="#41">41</a>      <strong>public</strong> <strong>static</strong> Test suite() {
+<a name="42" href="#42">42</a>          TestSuite suite = <strong>new</strong> TestSuite();
+<a name="43" href="#43">43</a>          
+<a name="44" href="#44">44</a>          suite.addTest(SimpleLogTest.suite());
+<a name="45" href="#45">45</a>          suite.addTest(NoOpLogTest.suite());
+<a name="46" href="#46">46</a>          suite.addTest(LogTest.suite());
+<a name="47" href="#47">47</a>          
+<a name="48" href="#48">48</a>          <strong>return</strong> suite;
+<a name="49" href="#49">49</a>      }
+<a name="50" href="#50">50</a>  
+<a name="51" href="#51">51</a>      <em>/**<em>*</em></em>
+<a name="52" href="#52">52</a>  <em>     * This allows the tests to run as a standalone application.</em>
+<a name="53" href="#53">53</a>  <em>     */</em>
+<a name="54" href="#54">54</a>      <strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]) {
+<a name="55" href="#55">55</a>          String[] testCaseName = { TestAll.<strong>class</strong>.getName() };
+<a name="56" href="#56">56</a>          junit.textui.TestRunner.main(testCaseName);
+<a name="57" href="#57">57</a>      }
+<a name="58" href="#58">58</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/TestAll.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/TestAll.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/TestAll.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/UserClass.html
==============================================================================
--- websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/UserClass.html (added)
+++ websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/UserClass.html Tue Mar  5 18:53:06 2013
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>UserClass xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2001-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em> 
+<a name="16" href="#16">16</a>   
+<a name="17" href="#17">17</a>  <strong>package</strong> <a href="../../../../org/apache/commons/logging/package-summary.html">org.apache.commons.logging</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/commons/logging/UserClass.html">UserClass</a> {
+<a name="20" href="#20">20</a>      
+<a name="21" href="#21">21</a>     
+<a name="22" href="#22">22</a>   
+<a name="23" href="#23">23</a>      <strong>public</strong> <a href="../../../../org/apache/commons/logging/UserClass.html">UserClass</a>() {
+<a name="24" href="#24">24</a>          Log log = LogFactory.getLog(LoadTest.<strong>class</strong>);
+<a name="25" href="#25">25</a>        }
+<a name="26" href="#26">26</a>      
+<a name="27" href="#27">27</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/UserClass.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/UserClass.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/UserClass.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/Wrapper.html
==============================================================================
--- websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/Wrapper.html (added)
+++ websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/Wrapper.html Tue Mar  5 18:53:06 2013
@@ -0,0 +1,164 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>Wrapper xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2001-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em> 
+<a name="16" href="#16">16</a>  
+<a name="17" href="#17">17</a>  <strong>package</strong> <a href="../../../../org/apache/commons/logging/package-summary.html">org.apache.commons.logging</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong>import</strong> java.io.File;
+<a name="21" href="#21">21</a>  <strong>import</strong> java.lang.reflect.Method;
+<a name="22" href="#22">22</a>  <strong>import</strong> java.net.URL;
+<a name="23" href="#23">23</a>  <strong>import</strong> java.net.URLClassLoader;
+<a name="24" href="#24">24</a>  <strong>import</strong> java.util.ArrayList;
+<a name="25" href="#25">25</a>  <strong>import</strong> java.util.List;
+<a name="26" href="#26">26</a>  
+<a name="27" href="#27">27</a>  
+<a name="28" href="#28">28</a>  <em>/**<em>*</em></em>
+<a name="29" href="#29">29</a>  <em> * &lt;p>Wrapper around test cases that need to have a custom class loader</em>
+<a name="30" href="#30">30</a>  <em> * hierarchy assembled.  The wrapper is configured by the following</em>
+<a name="31" href="#31">31</a>  <em> * system properties:&lt;/p></em>
+<a name="32" href="#32">32</a>  <em> * &lt;ul></em>
+<a name="33" href="#33">33</a>  <em> * &lt;li>&lt;strong>wrapper.hierarchy&lt;/strong> - Descriptive code describing how</em>
+<a name="34" href="#34">34</a>  <em> *     the class loader hierarchy should be assembled:</em>
+<a name="35" href="#35">35</a>  <em> *     &lt;ul></em>
+<a name="36" href="#36">36</a>  <em> *     &lt;li>&lt;strong>API&lt;/strong> - Parent class loader contains</em>
+<a name="37" href="#37">37</a>  <em> *         &lt;code>commons-logging-api.jar&lt;/code> and child class loader</em>
+<a name="38" href="#38">38</a>  <em> *         contains &lt;code>commons-logging.jar&lt;/code>.  This is like the</em>
+<a name="39" href="#39">39</a>  <em> *         default configuration for Tomcat 4.1.&lt;/li></em>
+<a name="40" href="#40">40</a>  <em> *     &lt;li>&lt;strong>FULL&lt;/strong> - Parent class loader contains</em>
+<a name="41" href="#41">41</a>  <em> *         &lt;code>commons-logging.jar&lt;/code>.  This is what would happen</em>
+<a name="42" href="#42">42</a>  <em> *         if you replaced &lt;code>commons-logging-api.jar&lt;/code> with</em>
+<a name="43" href="#43">43</a>  <em> *         &lt;code>commons-logging.jar&lt;/code> so that you did not need to</em>
+<a name="44" href="#44">44</a>  <em> *         include the latter with your application.&lt;/li></em>
+<a name="45" href="#45">45</a>  <em> *     &lt;/ul></em>
+<a name="46" href="#46">46</a>  <em> *     The child class loader also unconditionally includes</em>
+<a name="47" href="#47">47</a>  <em> *     &lt;code>commons-logging-tests.jar&lt;/code>.&lt;/li></em>
+<a name="48" href="#48">48</a>  <em> * &lt;li>&lt;strong>wrapper.junit&lt;/strong> - Fully qualified pathname of the</em>
+<a name="49" href="#49">49</a>  <em> *     JUnit JAR file.&lt;/li></em>
+<a name="50" href="#50">50</a>  <em> * &lt;li>&lt;strong>wrapper.log4j&lt;/strong> - Fully qualified pathname of the</em>
+<a name="51" href="#51">51</a>  <em> *     Log4J JAR file, which will be placed in whichever class loader</em>
+<a name="52" href="#52">52</a>  <em> *     &lt;code>commons-logging.jar&lt;/code> is placed in, if specified.&lt;/li></em>
+<a name="53" href="#53">53</a>  <em> * &lt;li>&lt;strong>wrapper.target&lt;/strong> - Fully qualified pathname of the</em>
+<a name="54" href="#54">54</a>  <em> *     "target" directory created by the build process.  This directory</em>
+<a name="55" href="#55">55</a>  <em> *     must contain the &lt;code>commons-logging.jar&lt;/code>,</em>
+<a name="56" href="#56">56</a>  <em> *     &lt;code>commons-logging-api.jar&lt;/code>, and</em>
+<a name="57" href="#57">57</a>  <em> *     &lt;code>commons-logging-tests.jar&lt;/code> files resulting from the</em>
+<a name="58" href="#58">58</a>  <em> *     execution of the &lt;code>compile.tests&lt;/code> target.&lt;/li></em>
+<a name="59" href="#59">59</a>  <em> * &lt;li>&lt;strong>wrapper.testcase&lt;/strong> - Fully qualified Java class name</em>
+<a name="60" href="#60">60</a>  <em> *     of a TestCase that will ultimately be executed.  This class must</em>
+<a name="61" href="#61">61</a>  <em> *     exist in the &lt;code>commons-logging-tests.jar&lt;/code> file.&lt;/li></em>
+<a name="62" href="#62">62</a>  <em> * &lt;/ul></em>
+<a name="63" href="#63">63</a>  <em> *</em>
+<a name="64" href="#64">64</a>  <em> * &lt;p>When executed, the system classpath for the wrapper should include</em>
+<a name="65" href="#65">65</a>  <em> * only the wrapper class itself.&lt;/p></em>
+<a name="66" href="#66">66</a>  <em> *</em>
+<a name="67" href="#67">67</a>  <em> * @author Craig R. McClanahan</em>
+<a name="68" href="#68">68</a>  <em> * @version $Revision$ $Date: 2004/02/28 21:46:45 $</em>
+<a name="69" href="#69">69</a>  <em> */</em>
+<a name="70" href="#70">70</a>  
+<a name="71" href="#71">71</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/commons/logging/Wrapper.html">Wrapper</a> {
+<a name="72" href="#72">72</a>  
+<a name="73" href="#73">73</a>  
+<a name="74" href="#74">74</a>      <strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]) {
+<a name="75" href="#75">75</a>  
+<a name="76" href="#76">76</a>          <strong>try</strong> {
+<a name="77" href="#77">77</a>  
+<a name="78" href="#78">78</a>              <em class="comment">// Create variables we will need</em>
+<a name="79" href="#79">79</a>              List parentList = <strong>new</strong> ArrayList();
+<a name="80" href="#80">80</a>              List childList = <strong>new</strong> ArrayList();
+<a name="81" href="#81">81</a>              URL urls[] = <strong>null</strong>;
+<a name="82" href="#82">82</a>  
+<a name="83" href="#83">83</a>              <em class="comment">// Construct URLs for the various JAR files</em>
+<a name="84" href="#84">84</a>              File target = <strong>new</strong> File(System.getProperty(<span class="string">"wrapper.target"</span>));
+<a name="85" href="#85">85</a>              URL commonsLogging =
+<a name="86" href="#86">86</a>                  (<strong>new</strong> File(target, <span class="string">"commons-logging.jar"</span>)).toURL();
+<a name="87" href="#87">87</a>              URL commonsLoggingApi =
+<a name="88" href="#88">88</a>                  (<strong>new</strong> File(target, <span class="string">"commons-logging-api.jar"</span>)).toURL();
+<a name="89" href="#89">89</a>              URL commonsLoggingTests =
+<a name="90" href="#90">90</a>                  (<strong>new</strong> File(target, <span class="string">"commons-logging-tests.jar"</span>)).toURL();
+<a name="91" href="#91">91</a>              URL junit =
+<a name="92" href="#92">92</a>                  (<strong>new</strong> File(System.getProperty(<span class="string">"wrapper.junit"</span>))).toURL();
+<a name="93" href="#93">93</a>              URL appender = <strong>null</strong>;
+<a name="94" href="#94">94</a>              URL log4j = <strong>null</strong>;
+<a name="95" href="#95">95</a>              <strong>if</strong> (System.getProperty(<span class="string">"wrapper.log4j"</span>) != <strong>null</strong>) {
+<a name="96" href="#96">96</a>                  log4j =
+<a name="97" href="#97">97</a>                      (<strong>new</strong> File(System.getProperty(<span class="string">"wrapper.log4j"</span>))).toURL();
+<a name="98" href="#98">98</a>                  appender =
+<a name="99" href="#99">99</a>                      (<strong>new</strong> File(target, <span class="string">"commons-logging-appender.jar"</span>)).toURL();
+<a name="100" href="#100">100</a>             }
+<a name="101" href="#101">101</a> 
+<a name="102" href="#102">102</a>             <em class="comment">// Construct class loader repository lists for supported scenarios</em>
+<a name="103" href="#103">103</a>             <strong>if</strong> (<span class="string">"API"</span>.equals(System.getProperty(<span class="string">"wrapper.hierarchy"</span>))) {
+<a name="104" href="#104">104</a>                 parentList.add(commonsLoggingApi);
+<a name="105" href="#105">105</a>                 childList.add(commonsLogging);
+<a name="106" href="#106">106</a>                 <strong>if</strong> (log4j != <strong>null</strong>) {
+<a name="107" href="#107">107</a>                     childList.add(log4j);
+<a name="108" href="#108">108</a>                     childList.add(appender);
+<a name="109" href="#109">109</a>                 }
+<a name="110" href="#110">110</a>             } <strong>else</strong> { <em class="comment">// Assumes "FULL"</em>
+<a name="111" href="#111">111</a>                 parentList.add(commonsLogging);
+<a name="112" href="#112">112</a>                 <strong>if</strong> (log4j != <strong>null</strong>) {
+<a name="113" href="#113">113</a>                     parentList.add(log4j);
+<a name="114" href="#114">114</a>                     childList.add(appender);
+<a name="115" href="#115">115</a>                 }
+<a name="116" href="#116">116</a>             }
+<a name="117" href="#117">117</a>             childList.add(commonsLoggingTests);
+<a name="118" href="#118">118</a>             childList.add(junit);
+<a name="119" href="#119">119</a> 
+<a name="120" href="#120">120</a>             <em class="comment">// Construt the parent and child class loaders</em>
+<a name="121" href="#121">121</a>             urls = (URL[]) parentList.toArray(<strong>new</strong> URL[parentList.size()]);
+<a name="122" href="#122">122</a>             ClassLoader parent =
+<a name="123" href="#123">123</a>                 <strong>new</strong> URLClassLoader(urls,
+<a name="124" href="#124">124</a>                                    ClassLoader.getSystemClassLoader());
+<a name="125" href="#125">125</a>             urls = (URL[]) childList.toArray(<strong>new</strong> URL[childList.size()]);
+<a name="126" href="#126">126</a>             ClassLoader child = <strong>new</strong> URLClassLoader(urls, parent);
+<a name="127" href="#127">127</a> 
+<a name="128" href="#128">128</a>             <em class="comment">// Execute the test runner for this TestCase</em>
+<a name="129" href="#129">129</a>             ClassLoader old = Thread.currentThread().getContextClassLoader();
+<a name="130" href="#130">130</a>             Thread.currentThread().setContextClassLoader(child);
+<a name="131" href="#131">131</a>             Class clazz = child.loadClass(<span class="string">"junit.textui.TestRunner"</span>);
+<a name="132" href="#132">132</a>             String params[] = <strong>new</strong> String[1];
+<a name="133" href="#133">133</a>             params[0] = System.getProperty(<span class="string">"wrapper.testcase"</span>);
+<a name="134" href="#134">134</a>             Method method = clazz.getMethod(<span class="string">"main"</span>,
+<a name="135" href="#135">135</a>                                             <strong>new</strong> Class[] { params.getClass() });
+<a name="136" href="#136">136</a>             method.invoke(<strong>null</strong>, <strong>new</strong> Object[] { params });
+<a name="137" href="#137">137</a>             Thread.currentThread().setContextClassLoader(old);
+<a name="138" href="#138">138</a> 
+<a name="139" href="#139">139</a>         } <strong>catch</strong> (Exception e) {
+<a name="140" href="#140">140</a> 
+<a name="141" href="#141">141</a>             System.out.println(<span class="string">"Wrapper Exception Occurred:  "</span> + e);
+<a name="142" href="#142">142</a>             e.printStackTrace(System.out);
+<a name="143" href="#143">143</a>             System.exit(1);
+<a name="144" href="#144">144</a> 
+<a name="145" href="#145">145</a>         }
+<a name="146" href="#146">146</a> 
+<a name="147" href="#147">147</a>     }
+<a name="148" href="#148">148</a> 
+<a name="149" href="#149">149</a> 
+<a name="150" href="#150">150</a> 
+<a name="151" href="#151">151</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/Wrapper.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/Wrapper.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-logging/javadocs/api-1.0.4/xref-test/org/apache/commons/logging/Wrapper.html
------------------------------------------------------------------------------
    svn:mime-type = text/html



Mime
View raw message