You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-dev@james.apache.org by rd...@apache.org on 2008/12/02 21:06:07 UTC
svn commit: r722598 [16/36] - in /james/site/trunk/www/mpt: ./ antlib/
antlib/css/ antlib/emma/ antlib/emma/_files/ antlib/images/
antlib/xref-test/ antlib/xref-test/org/ antlib/xref-test/org/apache/
antlib/xref-test/org/apache/james/ antlib/xref-test/...
Added: james/site/trunk/www/mpt/main/doap_apache-james-mtp.rdf
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/main/doap_apache-james-mtp.rdf?rev=722598&view=auto
==============================================================================
--- james/site/trunk/www/mpt/main/doap_apache-james-mtp.rdf (added)
+++ james/site/trunk/www/mpt/main/doap_apache-james-mtp.rdf Tue Dec 2 12:05:59 2008
@@ -0,0 +1,209 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
+<!-- ====================================================================== -->
+<!-- -->
+<!-- Any modifications will be overwritten. -->
+<!-- -->
+<!-- Generated by Maven Doap Plugin on 12/2/08 7:48 PM -->
+<!-- See: http://maven.apache.org/plugins/maven-doap-plugin/ -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<rdf:RDF xml:lang="en" xmlns="http://usefulinc.com/ns/doap#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:asfext="http://projects.apache.org/ns/asfext#">
+ <Project rdf:about="http://james.apache.org/mpt/apache-james-mtp">
+
+ <!-- ====================================================================== -->
+ <!-- A name of something. -->
+ <!-- ====================================================================== -->
+
+ <name rdf:resource="Apache JAMES MPT Main"/>
+
+ <!-- ====================================================================== -->
+ <!-- Plain text description of a project, of 2-4 sentences in length. -->
+ <!-- ====================================================================== -->
+
+ <description xml:lang="en">Apache JAMES Mail Protocol Tester (MTP) is a library providing a framework for the
+scritable functional testing of ASCII based line protocols.</description>
+ <shortdesc xml:lang="en">Apache JAMES Mail Protocol Tester (MTP) is a library providing a framework for the
+scritable functional testing of ASCII based line protocols.</shortdesc>
+
+ <!-- ====================================================================== -->
+ <!-- Date when something was created, in YYYY-MM-DD form. e.g. 2004-04-05 -->
+ <!-- ====================================================================== -->
+
+ <created>2008-01-01</created>
+
+ <!-- ====================================================================== -->
+ <!-- URL of a project's homepage, associated with exactly one project. -->
+ <!-- ====================================================================== -->
+
+ <homepage rdf:resource="http://james.apache.org/mpt/apache-james-mtp"/>
+
+ <!-- ====================================================================== -->
+ <!-- The URI of the license the software is distributed under. -->
+ <!-- ====================================================================== -->
+
+ <license rdf:resource="http://www.apache.org/licenses/LICENSE-2.0.html"/>
+
+ <!-- ====================================================================== -->
+ <!-- Programming language. -->
+ <!-- ====================================================================== -->
+
+ <programming-language rdf:resource="java"/>
+
+ <!-- ====================================================================== -->
+ <!-- A category of project. -->
+ <!-- ====================================================================== -->
+
+ <category rdf:resource="http://projects.apache.org/category/mail"/>
+
+ <!-- ====================================================================== -->
+ <!-- Anonymous Source Repository -->
+ <!-- ====================================================================== -->
+
+ <repository>
+ <SVNRepository>
+ <location rdf:resource="http://svn.apache.org/repos/asf/james/mpt/trunk/main"/>
+ <browse rdf:resource="http://svn.apache.org/viewcvs.cgi/james/mpt/trunk/main?root=Apache-SVN"/>
+ </SVNRepository>
+ </repository>
+
+ <!-- ====================================================================== -->
+ <!-- Developer Source Repository -->
+ <!-- ====================================================================== -->
+
+ <repository>
+ <SVNRepository>
+ <location rdf:resource="https://svn.apache.org/repos/asf/james/mpt/trunk/main"/>
+ <browse rdf:resource="http://svn.apache.org/viewcvs.cgi/james/mpt/trunk/main?root=Apache-SVN"/>
+ </SVNRepository>
+ </repository>
+
+ <!-- ====================================================================== -->
+ <!-- bug database. -->
+ <!-- ====================================================================== -->
+
+ <bug-database rdf:resource="http://issues.apache.org/jira/browse/MPT"/>
+
+ <!-- ====================================================================== -->
+ <!-- mailing list. -->
+ <!-- ====================================================================== -->
+
+ <mailing-list rdf:resource="http://mail-archives.apache.org/mod_mbox/james-server-user/"/>
+ <mailing-list rdf:resource="http://mail-archives.apache.org/mod_mbox/james-server-dev/"/>
+
+ <!-- ====================================================================== -->
+ <!-- Download page. -->
+ <!-- ====================================================================== -->
+
+ <download-page rdf:resource="http://james.apache.org/download.cgi"/>
+
+ <!-- ====================================================================== -->
+ <!-- Main committers -->
+ <!-- ====================================================================== -->
+
+ <developer>
+ <foaf:Person>
+ <foaf:name>Alan D. Cabrera</foaf:name>
+ <foaf:mbox rdf:resource="mailto:list at toolazydogs.com"/>
+ </foaf:Person>
+ </developer>
+ <developer>
+ <foaf:Person>
+ <foaf:name>Bernd Fondermann</foaf:name>
+ <foaf:mbox rdf:resource="mailto:bf_jak at brainlounge.de"/>
+ </foaf:Person>
+ </developer>
+ <developer>
+ <foaf:Person>
+ <foaf:name>Danny Angus</foaf:name>
+ <foaf:mbox rdf:resource="mailto:danny at apache.org"/>
+ </foaf:Person>
+ </developer>
+ <developer>
+ <foaf:Person>
+ <foaf:name>Noel J. Bergman</foaf:name>
+ <foaf:mbox rdf:resource="mailto:noel at devtech.com"/>
+ </foaf:Person>
+ </developer>
+ <developer>
+ <foaf:Person>
+ <foaf:name>Norman Maurer</foaf:name>
+ <foaf:mbox rdf:resource="mailto:norman at apache.org"/>
+ </foaf:Person>
+ </developer>
+ <developer>
+ <foaf:Person>
+ <foaf:name>Robert Burrell Donkin</foaf:name>
+ <foaf:mbox rdf:resource="mailto:rdonkin at apache.org"/>
+ </foaf:Person>
+ </developer>
+ <developer>
+ <foaf:Person>
+ <foaf:name>Serge Knystautas</foaf:name>
+ <foaf:mbox rdf:resource="mailto:sergek at lokitech.com"/>
+ </foaf:Person>
+ </developer>
+ <developer>
+ <foaf:Person>
+ <foaf:name>Soren Hilmer</foaf:name>
+ <foaf:mbox rdf:resource="mailto:sh at widetrail.dk"/>
+ </foaf:Person>
+ </developer>
+ <developer>
+ <foaf:Person>
+ <foaf:name>Stefano Bagnara</foaf:name>
+ <foaf:mbox rdf:resource="mailto:bago at apache.org"/>
+ </foaf:Person>
+ </developer>
+ <developer>
+ <foaf:Person>
+ <foaf:name>Steve Brewin</foaf:name>
+ <foaf:mbox rdf:resource="mailto:sbrewin at synsys.com"/>
+ </foaf:Person>
+ </developer>
+ <developer>
+ <foaf:Person>
+ <foaf:name>Vincenzo Gianferrari Pini</foaf:name>
+ <foaf:mbox rdf:resource="mailto:vincenzo.gianferraripini at praxis.it"/>
+ </foaf:Person>
+ </developer>
+ <maintainer>
+ <foaf:Person>
+ <foaf:name>Joe Cheng</foaf:name>
+ <foaf:mbox rdf:resource="mailto:joe(at)joecheng(dot)com"/>
+ </foaf:Person>
+ </maintainer>
+ <maintainer>
+ <foaf:Person>
+ <foaf:name>Niklas Therning</foaf:name>
+ <foaf:mbox rdf:resource="mailto:niklas(at)apache(dot)org"/>
+ <foaf:Organization rdf:resource="Trillian AB"/>
+ </foaf:Person>
+ </maintainer>
+
+ <!-- ====================================================================== -->
+ <!-- Contributed persons -->
+ <!-- ====================================================================== -->
+
+ <helper>
+ <foaf:Person>
+ <foaf:name>Rob Oxspring</foaf:name>
+ </foaf:Person>
+ </helper>
+ <helper>
+ <foaf:Person>
+ <foaf:name>Roger Fullerton</foaf:name>
+ </foaf:Person>
+ </helper>
+
+ <!-- ====================================================================== -->
+ <!-- ASF extension -->
+ <!-- ====================================================================== -->
+
+ <asfext:pmc rdf:resource="http://james.apache.org"/>
+ <asfext:name rdf:resource="Apache JAMES"/>
+ </Project>
+</rdf:RDF>
\ No newline at end of file
Added: james/site/trunk/www/mpt/main/emma/_files/0.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/main/emma/_files/0.html?rev=722598&view=auto
==============================================================================
--- james/site/trunk/www/mpt/main/emma/_files/0.html (added)
+++ james/site/trunk/www/mpt/main/emma/_files/0.html Tue Dec 2 12:05:59 2008
@@ -0,0 +1 @@
+<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft
A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:
1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://emma.sourceforge.net/">EMMA</A> Coverage Report (generated Tue Dec 02 19:48:30 GMT 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../index.html">all classes</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR PACKAGE [<SPAN CLASS="in">org.apache.james.mpt</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>org.apache.james.mpt</TD><TD CLASS="h">59%  (10/17)</TD><TD CLASS="h">32%  (33/102)</TD><TD CLASS="h">30%  (594/1987)</TD><TD CLASS="h">32%  (153.5/479)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY SOURCE FILE</H3><TABLE WIDTH="100%" CELLSPACING="0"
><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR CLASS="o"><TD><A HREF="1.html">AbstractProtocolTestFramework.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/43)</TD><TD CLASS="h">0%   (0/16)</TD></TR><TR><TD><A HREF="2.html">AbstractSimpleScriptedTestProtocol.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/74)</TD><TD CLASS="h">0%   (0/17)</TD></TR><TR CLASS="o"><TD><A HREF="3.html">InvalidServerResponseException.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD><A HREF="4.html">SystemLoggingMonitor.java</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/25)</
TD><TD CLASS="h">0%Â Â Â (0/11)</TD></TR><TR CLASS="o"><TD><A HREF="5.html">ProtocolSession.java</A></TD><TD CLASS="h">40%Â Â (2/5)</TD><TD CLASS="h">18%Â Â (7/40)</TD><TD CLASS="h">14%Â Â (105/770)</TD><TD CLASS="h">15%Â Â (27.5/187)</TD></TR><TR><TD><A HREF="6.html">ExternalSession.java</A></TD><TD>100%Â (1/1)</TD><TD CLASS="h">60%Â Â (6/10)</TD><TD CLASS="h">34%Â Â (108/314)</TD><TD CLASS="h">40%Â Â (27/68)</TD></TR><TR CLASS="o"><TD><A HREF="7.html">ProtocolSessionBuilder.java</A></TD><TD>100%Â (1/1)</TD><TD CLASS="h">56%Â Â (5/9)</TD><TD CLASS="h">45%Â Â (156/344)</TD><TD CLASS="h">48%Â Â (42/88)</TD></TR><TR><TD><A HREF="8.html">ExternalSessionFactory.java</A></TD><TD>100%Â (1/1)</TD><TD CLASS="h">50%Â Â (2/4)</TD><TD CLASS="h">49%Â Â (35/72)</TD><TD CLASS="h">64%Â Â (9/14)</TD></TR><TR CLASS="o"><TD><A HREF="9.html">ExternalHostSystem.java</A></TD><TD>100%Â (1/1)</TD><TD>100%Â (2/2)</TD><TD CLASS="h">
51%  (19/37)</TD><TD>86%  (6/7)</TD></TR><TR><TD><A HREF="a.html">ScriptedUserAdder.java</A></TD><TD>100% (1/1)</TD><TD CLASS="h">57%  (4/7)</TD><TD CLASS="h">55%  (73/133)</TD><TD CLASS="h">73%  (19/26)</TD></TR><TR CLASS="o"><TD><A HREF="b.html">Runner.java</A></TD><TD>100% (2/2)</TD><TD CLASS="h">44%  (4/9)</TD><TD CLASS="h">56%  (93/165)</TD><TD CLASS="h">51%  (20/39)</TD></TR><TR><TD><A HREF="c.html">NullMonitor.java</A></TD><TD>100% (1/1)</TD><TD>75%  (3/4)</TD><TD>83%  (5/6)</TD><TD CLASS="h">75%  (3/4)</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../index.html">all classes</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://sourceforge.net/projects/emma">EMMA 2.0.5312</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML>
\ No newline at end of file
Added: james/site/trunk/www/mpt/main/emma/_files/1.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/main/emma/_files/1.html?rev=722598&view=auto
==============================================================================
--- james/site/trunk/www/mpt/main/emma/_files/1.html (added)
+++ james/site/trunk/www/mpt/main/emma/_files/1.html Tue Dec 2 12:05:59 2008
@@ -0,0 +1 @@
+<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft
A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:
1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://emma.sourceforge.net/">EMMA</A> Coverage Report (generated Tue Dec 02 19:48:30 GMT 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../index.html">all classes</A>][<A HREF="0.html">org.apache.james.mpt</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">AbstractProtocolTestFramework.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>AbstractProtocolTestFramework.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/43)</TD><TD CLASS="h">0%   (0/16)</TD></TR></TABLE><H3>COVERAGE�
� BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">AbstractProtocolTestFramework</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/43)</TD><TD CLASS="h">0%   (0/16)</TD></TR><TR><TD CLASS="f"><A HREF="#0">AbstractProtocolTestFramework (HostSystem, String, String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/17)</TD><TD CLASS="h">0%   (0/6)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">continueAfterFailure (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0% �
� (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#3">runSessions (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">setUp (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR><TD CLASS="f"><A HREF="#5">setUpEnvironment (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/11)</TD><TD CLASS="h">0%   (0/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/****************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Licensed to the Apache Software Foundation (ASF) under one   *</TD></TR><TR><TD CLASS="l">3</
TD><TD> * or more contributor license agreements.  See the NOTICE file *</TD></TR><TR><TD CLASS="l">4</TD><TD> * distributed with this work for additional information        *</TD></TR><TR><TD CLASS="l">5</TD><TD> * regarding copyright ownership.  The ASF licenses this file   *</TD></TR><TR><TD CLASS="l">6</TD><TD> * to you under the Apache License, Version 2.0 (the            *</TD></TR><TR><TD CLASS="l">7</TD><TD> * "License"); you may not use this file except in compliance   *</TD></TR><TR><TD CLASS="l">8</TD><TD> * with the License.  You may obtain a copy of the License at   *</TD></TR><TR><TD CLASS="l">9</TD><TD> *                 �
�                                             *</TD></TR><TR><TD CLASS="l">10</TD><TD> *   http://www.apache.org/licenses/LICENSE-2.0                 *</TD></TR><TR><TD CLASS="l">11</TD><TD> *                                                              *</TD></TR><TR><TD CLASS="l">12</TD><TD> * Unless required by applicable law or agreed to in writing,   *</TD></TR><TR><TD CLASS="l">13</TD><TD> * software distributed under the License is distributed on an  *</TD></TR><TR><TD CLASS="l">14</TD><TD> * "AS IS&#
34; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *</TD></TR><TR><TD CLASS="l">15</TD><TD> * KIND, either express or implied.  See the License for the    *</TD></TR><TR><TD CLASS="l">16</TD><TD> * specific language governing permissions and limitations      *</TD></TR><TR><TD CLASS="l">17</TD><TD> * under the License.                                           *</TD></TR><TR><TD CLASS="l">18</TD><TD> ****************************************************************/</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>package org.apache.james.mpt;</TD></TR><TR><TD CLASS="l">21</TD><TD> </TD></TR><TR><TD CLASS="l">22</TD><TD>import junit.framework.TestCase;</TD></TR>
<TR><TD CLASS="l">23</TD><TD> </TD></TR><TR><TD CLASS="l">24</TD><TD>/**</TD></TR><TR><TD CLASS="l">25</TD><TD> * Abstract Protocol Test is the root of all of the James Imap Server test</TD></TR><TR><TD CLASS="l">26</TD><TD> * cases. It provides basic functionality for running a protocol session as a</TD></TR><TR><TD CLASS="l">27</TD><TD> * JUnit test, and failing if exceptions are thrown. To create a test which</TD></TR><TR><TD CLASS="l">28</TD><TD> * reads the entire protocol session from a single protocol definition file, use</TD></TR><TR><TD CLASS="l">29</TD><TD> * the {@link AbstractSimpleScriptedTestProtocol}.</TD></TR><TR><TD CLASS="l">30</TD><TD> * </TD></TR><TR><TD CLASS="l">31</TD><TD> * @author Darrell DeBoer</TD></TR><TR><TD CLASS="l">32</TD><TD> * @author And
rew C. Oliver</TD></TR><TR><TD CLASS="l">33</TD><TD> */</TD></TR><TR><TD CLASS="l">34</TD><TD>public abstract class AbstractProtocolTestFramework extends TestCase {</TD></TR><TR><TD CLASS="l">35</TD><TD> </TD></TR><TR><TD CLASS="l">36</TD><TD>    protected final Runner runner;</TD></TR><TR><TD CLASS="l">37</TD><TD>    private final HostSystem hostSystem;</TD></TR><TR><TD CLASS="l"><A NAME="0">38</A></TD><TD>    </TD></TR><TR><TD CLASS="l">39</TD><TD>    private final String userName;</TD></TR><TR><TD CLASS="l">40</TD><TD>    private final String password;</TD></TR><TR><TD CLASS="l">41</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">42</TD><TD>    public AbstractProtocolTestFramework(HostSystem hostSystem, String userName, String password) {</TD></TR><TR CLASS="z"><TD CLASS="l">43</TD><TD>       �
� this.hostSystem = hostSystem;</TD></TR><TR CLASS="z"><TD CLASS="l">44</TD><TD>        this.userName = userName;</TD></TR><TR CLASS="z"><TD CLASS="l">45</TD><TD>        this.password = password;</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="4">46</A></TD><TD>        runner = new Runner();</TD></TR><TR CLASS="z"><TD CLASS="l">47</TD><TD>    }</TD></TR><TR><TD CLASS="l">48</TD><TD> </TD></TR><TR><TD CLASS="l">49</TD><TD>    protected void setUp() throws Exception {</TD></TR><TR CLASS="z"><TD CLASS="l">50</TD><TD>        super.setUp();</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="2">51</A></TD><TD>        setUpEnvironment();</TD></TR><TR CLASS="z"><TD CLASS="l">52</TD><TD>    }</TD></TR><TR><TD CLASS="l">53</TD><TD> </TD></TR><TR><TD CLASS="l">54</TD><TD>    prot
ected void continueAfterFailure() {</TD></TR><TR CLASS="z"><TD CLASS="l">55</TD><TD>        runner.continueAfterFailure();</TD></TR><TR CLASS="z"><TD CLASS="l">56</TD><TD>    }</TD></TR><TR><TD CLASS="l">57</TD><TD> </TD></TR><TR><TD CLASS="l">58</TD><TD>    /**</TD></TR><TR><TD CLASS="l">59</TD><TD>     * Runs the pre,test and post protocol sessions against a local copy of the</TD></TR><TR><TD CLASS="l">60</TD><TD>     * ImapServer. This does not require that James be running, and is useful</TD></TR><TR><TD CLASS="l">61</TD><TD>     * for rapid development and debugging.</TD></TR><TR><TD CLASS="l">62</TD><TD>     * </TD></TR><TR><TD CLASS="l">63</TD><TD>     * Instead of sending requests to a socket connected to a run
ning instance</TD></TR><TR><TD CLASS="l">64</TD><TD>     * of James, this method uses the {@link MockImapServer} to simplify</TD></TR><TR><TD CLASS="l">65</TD><TD>     * testing. One mock instance is required per protocol session/connection.</TD></TR><TR><TD CLASS="l"><A NAME="3">66</A></TD><TD>     * These share the same underlying Mailboxes, because of the way</TD></TR><TR><TD CLASS="l">67</TD><TD>     * {@link MockImapServer#getImapSession()} works.</TD></TR><TR><TD CLASS="l">68</TD><TD>     */</TD></TR><TR><TD CLASS="l">69</TD><TD>    protected void runSessions() throws Exception {</TD></TR><TR CLASS="z"><TD CLASS="l">70</TD><TD>        runner.runSessions(hostSystem);</TD></TR><TR CLASS="z"><TD CLASS="l">71</TD><TD>    }</TD></TR><TR><TD
CLASS="l">72</TD><TD> </TD></TR><TR><TD CLASS="l"><A NAME="5">73</A></TD><TD>    /**</TD></TR><TR><TD CLASS="l">74</TD><TD>     * Initialises the UsersRepository and ImapHost on first call.</TD></TR><TR><TD CLASS="l">75</TD><TD>     */</TD></TR><TR><TD CLASS="l">76</TD><TD>    private void setUpEnvironment() throws Exception {</TD></TR><TR CLASS="z"><TD CLASS="l">77</TD><TD>        hostSystem.reset();</TD></TR><TR CLASS="z"><TD CLASS="l">78</TD><TD>        hostSystem.addUser(userName, password);</TD></TR><TR CLASS="z"><TD CLASS="l">79</TD><TD>    }</TD></TR><TR><TD CLASS="l">80</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../index.html">all classes</A>][<A HREF="0.html">org.apache.james.mpt</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://sourceforge
.net/projects/emma">EMMA 2.0.5312</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML>
\ No newline at end of file
Added: james/site/trunk/www/mpt/main/emma/_files/2.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/main/emma/_files/2.html?rev=722598&view=auto
==============================================================================
--- james/site/trunk/www/mpt/main/emma/_files/2.html (added)
+++ james/site/trunk/www/mpt/main/emma/_files/2.html Tue Dec 2 12:05:59 2008
@@ -0,0 +1 @@
+<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft
A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:
1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://emma.sourceforge.net/">EMMA</A> Coverage Report (generated Tue Dec 02 19:48:30 GMT 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../index.html">all classes</A>][<A HREF="0.html">org.apache.james.mpt</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">AbstractSimpleScriptedTestProtocol.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>AbstractSimpleScriptedTestProtocol.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/74)</TD><TD CLASS="h">0%   (0/17)</TD></TR></TABLE><H3
>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">AbstractSimpleScriptedTestProtocol</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/74)</TD><TD CLASS="h">0%   (0/17)</TD></TR><TR><TD CLASS="f"><A HREF="#0"><static initializer></A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">AbstractSimpleScriptedTestProtocol (HostSystem, String, String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS=
"h">0%   (0/11)</TD><TD CLASS="h">0%   (0/3)</TD></TR><TR><TD CLASS="f"><A HREF="#3">addTestFile (String, ProtocolInteractor): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/37)</TD><TD CLASS="h">0%   (0/6)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">scriptTest (String, Locale): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/18)</TD><TD CLASS="h">0%   (0/4)</TD></TR><TR><TD CLASS="f"><A HREF="#5">tearDown (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/5)</TD><TD CLASS="h">0%   (0/3)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/****************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD> * Licensed to the Apache Software Foundation (ASF)Â
under one   *</TD></TR><TR><TD CLASS="l">3</TD><TD> * or more contributor license agreements.  See the NOTICE file *</TD></TR><TR><TD CLASS="l">4</TD><TD> * distributed with this work for additional information        *</TD></TR><TR><TD CLASS="l">5</TD><TD> * regarding copyright ownership.  The ASF licenses this file   *</TD></TR><TR><TD CLASS="l">6</TD><TD> * to you under the Apache License, Version 2.0 (the            *</TD></TR><TR><TD CLASS="l">7</TD><TD> * "License"); you may not use this file except in compliance   *</TD></TR><TR><TD CLASS="l">8</TD><TD> * with the License.  You may obtain a copy of the License at   *</TD></TR><TR><TD CLASS="l">9</TD><TD> *  �
�                                                           *</TD></TR><TR><TD CLASS="l">10</TD><TD> *   http://www.apache.org/licenses/LICENSE-2.0                 *</TD></TR><TR><TD CLASS="l">11</TD><TD> *                                                              *</TD></TR><TR><TD CLASS="l">12</TD><TD> * Unless required by applicable law or agreed to in writing,   *</TD></TR><TR><TD CLASS="l">13</TD><TD> * software distributed under the License is distributed on an  *</TD>
</TR><TR><TD CLASS="l">14</TD><TD> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *</TD></TR><TR><TD CLASS="l">15</TD><TD> * KIND, either express or implied.  See the License for the    *</TD></TR><TR><TD CLASS="l">16</TD><TD> * specific language governing permissions and limitations      *</TD></TR><TR><TD CLASS="l">17</TD><TD> * under the License.                                           *</TD></TR><TR><TD CLASS="l">18</TD><TD> ****************************************************************/</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>package org.apache.james.mpt;</TD></TR><TR><TD CLASS="l">21</TD><TD> </TD></TR><TR><TD CLASS="l
">22</TD><TD>import java.io.InputStream;</TD></TR><TR><TD CLASS="l">23</TD><TD>import java.util.Locale;</TD></TR><TR><TD CLASS="l">24</TD><TD> </TD></TR><TR><TD CLASS="l">25</TD><TD> </TD></TR><TR><TD CLASS="l">26</TD><TD>/**</TD></TR><TR><TD CLASS="l">27</TD><TD> * A Protocol test which reads the test protocol session from a file. The file</TD></TR><TR><TD CLASS="l">28</TD><TD> * read is taken as "<test-name>.test", where <test-name> is the value passed</TD></TR><TR><TD CLASS="l">29</TD><TD> * into the constructor. Subclasses of this test can set up {@link #preElements}</TD></TR><TR><TD CLASS="l">30</TD><TD> * and {@link #postElements} for extra elements not defined in the protocol</TD></TR><TR><TD CLASS="l">31</TD><TD> * session file.</TD></TR><TR><TD CLASS="l">32</TD><TD> */<
/TD></TR><TR><TD CLASS="l"><A NAME="0">33</A></TD><TD>public abstract class AbstractSimpleScriptedTestProtocol extends</TD></TR><TR><TD CLASS="l">34</TD><TD>        AbstractProtocolTestFramework {</TD></TR><TR CLASS="z"><TD CLASS="l">35</TD><TD>    private ProtocolSessionBuilder builder = new ProtocolSessionBuilder();</TD></TR><TR><TD CLASS="l">36</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">37</TD><TD>    private static final Locale BASE_DEFAULT_LOCALE = Locale.getDefault();</TD></TR><TR><TD CLASS="l">38</TD><TD> </TD></TR><TR><TD CLASS="l">39</TD><TD>    /**</TD></TR><TR><TD CLASS="l">40</TD><TD>     * Sets up a SimpleFileProtocolTest which reads the protocol session from a</TD></TR><TR><TD CLASS="l">41</TD><TD>     * file of name "<fileName>.test". This file sho
uld be available in the</TD></TR><TR><TD CLASS="l">42</TD><TD>     * classloader in the same location as this test class.</TD></TR><TR><TD CLASS="l">43</TD><TD>     * </TD></TR><TR><TD CLASS="l"><A NAME="2">44</A></TD><TD>     * @param fileName</TD></TR><TR><TD CLASS="l">45</TD><TD>     *            The name of the file to read protocol elements from.</TD></TR><TR><TD CLASS="l">46</TD><TD>     */</TD></TR><TR><TD CLASS="l">47</TD><TD>    public AbstractSimpleScriptedTestProtocol(HostSystem hostSystem, String userName, String password) {</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="5">48</A></TD><TD>        super(hostSystem, userName, password);</TD></TR><TR CLASS="z"><TD CLASS="l">49</TD><TD>    }</TD></TR><TR><TD CLA
SS="l">50</TD><TD> </TD></TR><TR><TD CLASS="l">51</TD><TD>    protected void tearDown() throws Exception {</TD></TR><TR CLASS="z"><TD CLASS="l">52</TD><TD>        Locale.setDefault(BASE_DEFAULT_LOCALE);</TD></TR><TR CLASS="z"><TD CLASS="l">53</TD><TD>        super.tearDown();</TD></TR><TR CLASS="z"><TD CLASS="l">54</TD><TD>    }</TD></TR><TR><TD CLASS="l">55</TD><TD> </TD></TR><TR><TD CLASS="l">56</TD><TD>    /**</TD></TR><TR><TD CLASS="l">57</TD><TD>     * Reads test elements from the protocol session file and adds them to the</TD></TR><TR><TD CLASS="l">58</TD><TD>     * {@link #testElements} ProtocolSession. Then calls {@link #runSessions}.</TD></TR><TR><TD CLASS="l"><A NAME="4">59</A></TD><TD>     * </TD></TR><TR><TD CLASS="l">60</TD><TD>     *Â
@param locale test under this default locale, not null</TD></TR><TR><TD CLASS="l">61</TD><TD>     */</TD></TR><TR><TD CLASS="l">62</TD><TD>    protected void scriptTest(String fileName, Locale locale) throws Exception {</TD></TR><TR CLASS="z"><TD CLASS="l">63</TD><TD>        Locale.setDefault(locale);</TD></TR><TR CLASS="z"><TD CLASS="l">64</TD><TD>        addTestFile(fileName + ".test", runner.getTestElements());</TD></TR><TR CLASS="z"><TD CLASS="l">65</TD><TD>        runSessions();</TD></TR><TR CLASS="z"><TD CLASS="l">66</TD><TD>    }</TD></TR><TR><TD CLASS="l">67</TD><TD> </TD></TR><TR><TD CLASS="l">68</TD><TD>    /**</TD></TR><TR><TD CLASS="l">69</TD><TD>     * Finds the protocol session file identified by the test name, and builds</
TD></TR><TR><TD CLASS="l">70</TD><TD>     * protocol elements from it. All elements from the definition file are</TD></TR><TR><TD CLASS="l">71</TD><TD>     * added to the supplied ProtocolSession.</TD></TR><TR><TD CLASS="l">72</TD><TD>     * </TD></TR><TR><TD CLASS="l">73</TD><TD>     * @param fileName</TD></TR><TR><TD CLASS="l">74</TD><TD>     *            The name of the file to read</TD></TR><TR><TD CLASS="l">75</TD><TD>     * @param session</TD></TR><TR><TD CLASS="l"><A NAME="3">76</A></TD><TD>     *            The ProtocolSession to add elements to.</TD></TR><TR><TD CLASS="l">77</TD><TD>     */</TD></TR><TR><TD CLASS="l">78</TD><TD>    protected void addTestFile(String�
� fileName, ProtocolInteractor session)</TD></TR><TR><TD CLASS="l">79</TD><TD>            throws Exception {</TD></TR><TR CLASS="z"><TD CLASS="l">80</TD><TD>        fileName = "/org/apache/james/test/functional/imap/scripts/" + fileName;</TD></TR><TR><TD CLASS="l">81</TD><TD>        // Need to find local resource.</TD></TR><TR CLASS="z"><TD CLASS="l">82</TD><TD>        InputStream is = this.getClass().getResourceAsStream(fileName);</TD></TR><TR CLASS="z"><TD CLASS="l">83</TD><TD>        if (is == null) {</TD></TR><TR CLASS="z"><TD CLASS="l">84</TD><TD>            throw new Exception("Test Resource '" + fileName + "' not found.");</TD></TR><TR><TD CLASS="l">85</TD><TD>       Â
}</TD></TR><TR><TD CLASS="l">86</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l">87</TD><TD>        builder.addProtocolLines(fileName, is, session);</TD></TR><TR CLASS="z"><TD CLASS="l">88</TD><TD>    }</TD></TR><TR><TD CLASS="l">89</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../index.html">all classes</A>][<A HREF="0.html">org.apache.james.mpt</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://sourceforge.net/projects/emma">EMMA 2.0.5312</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML>
\ No newline at end of file
Added: james/site/trunk/www/mpt/main/emma/_files/3.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/main/emma/_files/3.html?rev=722598&view=auto
==============================================================================
--- james/site/trunk/www/mpt/main/emma/_files/3.html (added)
+++ james/site/trunk/www/mpt/main/emma/_files/3.html Tue Dec 2 12:05:59 2008
@@ -0,0 +1 @@
+<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft
A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:
1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://emma.sourceforge.net/">EMMA</A> Coverage Report (generated Tue Dec 02 19:48:30 GMT 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../index.html">all classes</A>][<A HREF="0.html">org.apache.james.mpt</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">InvalidServerResponseException.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>InvalidServerResponseException.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR></TABLE><H3>COVERAGE�
� BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">InvalidServerResponseException</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#0">InvalidServerResponseException (String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/****************************************************************</TD></TR><TR><TD CLASS="l">2</T
D><TD> * Licensed to the Apache Software Foundation (ASF) under one   *</TD></TR><TR><TD CLASS="l">3</TD><TD> * or more contributor license agreements.  See the NOTICE file *</TD></TR><TR><TD CLASS="l">4</TD><TD> * distributed with this work for additional information        *</TD></TR><TR><TD CLASS="l">5</TD><TD> * regarding copyright ownership.  The ASF licenses this file   *</TD></TR><TR><TD CLASS="l">6</TD><TD> * to you under the Apache License, Version 2.0 (the            *</TD></TR><TR><TD CLASS="l">7</TD><TD> * "License"); you may not use this file except in compliance   *</TD></TR><TR><TD CLASS="l">8</TD><TD> * with the License.  You may obtain a copy of the�
� License at   *</TD></TR><TR><TD CLASS="l">9</TD><TD> *                                                              *</TD></TR><TR><TD CLASS="l">10</TD><TD> *   http://www.apache.org/licenses/LICENSE-2.0                 *</TD></TR><TR><TD CLASS="l">11</TD><TD> *                                                              *</TD></TR><TR><TD CLASS="l">12</TD><TD> * Unless required by applicable law or agreed to in writing,   *</TD></TR><TR><TD CLASS="l">13</TD><TD> * software di
stributed under the License is distributed on an  *</TD></TR><TR><TD CLASS="l">14</TD><TD> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *</TD></TR><TR><TD CLASS="l">15</TD><TD> * KIND, either express or implied.  See the License for the    *</TD></TR><TR><TD CLASS="l">16</TD><TD> * specific language governing permissions and limitations      *</TD></TR><TR><TD CLASS="l">17</TD><TD> * under the License.                                           *</TD></TR><TR><TD CLASS="l">18</TD><TD> ****************************************************************/</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>package org.apa
che.james.mpt;</TD></TR><TR><TD CLASS="l">21</TD><TD> </TD></TR><TR><TD CLASS="l">22</TD><TD>/**</TD></TR><TR><TD CLASS="l">23</TD><TD> * An exception which is thrown when the actual response from a server is</TD></TR><TR><TD CLASS="l">24</TD><TD> * different from that expected.</TD></TR><TR><TD CLASS="l">25</TD><TD> */</TD></TR><TR><TD CLASS="l">26</TD><TD>public class InvalidServerResponseException extends Exception {</TD></TR><TR><TD CLASS="l"><A NAME="0">27</A></TD><TD> </TD></TR><TR><TD CLASS="l">28</TD><TD>    private static final long serialVersionUID = 6489140960152710438L;</TD></TR><TR><TD CLASS="l">29</TD><TD> </TD></TR><TR><TD CLASS="l">30</TD><TD>    public InvalidServerResponseException(String message) {</TD></TR><TR CLASS="z"><TD CLASS="l">31</TD><TD>        super(message);</TD></TR><TR CLASS="z"><TD CLAS
S="l">32</TD><TD>    }</TD></TR><TR><TD CLASS="l">33</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../index.html">all classes</A>][<A HREF="0.html">org.apache.james.mpt</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://sourceforge.net/projects/emma">EMMA 2.0.5312</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML>
\ No newline at end of file
Added: james/site/trunk/www/mpt/main/emma/_files/4.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mpt/main/emma/_files/4.html?rev=722598&view=auto
==============================================================================
--- james/site/trunk/www/mpt/main/emma/_files/4.html (added)
+++ james/site/trunk/www/mpt/main/emma/_files/4.html Tue Dec 2 12:05:59 2008
@@ -0,0 +1 @@
+<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft
A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:
1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="tl"><A HREF="http://emma.sourceforge.net/">EMMA</A> Coverage Report (generated Tue Dec 02 19:48:30 GMT 2008)</TH></TR><TR><TD CLASS="nv">[<A HREF="../index.html">all classes</A>][<A HREF="0.html">org.apache.james.mpt</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">SystemLoggingMonitor.java</SPAN>]</H2><TABLE WIDTH="100%" CELLSPACING="0"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>SystemLoggingMonitor.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/25)</TD><TD CLASS="h">0%   (0/11)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY
 CLASS AND METHOD</H3><TABLE CLASS="cn" WIDTH="100%" CELLSPACING="0"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">SystemLoggingMonitor</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/25)</TD><TD CLASS="h">0%   (0/11)</TD></TR><TR><TD CLASS="f"><A HREF="#0">SystemLoggingMonitor (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/6)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">debug (String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A
HREF="#3">debug (char): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#4">isVerbose (): boolean</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/3)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR><TD CLASS="f"><A HREF="#5">note (String): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#6">setVerbose (boolean): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/2)</TD></TR></TABLE><P></P><TABLE CLASS="s" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="l">1</TD><TD>/****************************************************************</TD></TR><TR><TD CLASS="l">2</TD><TD>�
� * Licensed to the Apache Software Foundation (ASF) under one   *</TD></TR><TR><TD CLASS="l">3</TD><TD> * or more contributor license agreements.  See the NOTICE file *</TD></TR><TR><TD CLASS="l">4</TD><TD> * distributed with this work for additional information        *</TD></TR><TR><TD CLASS="l">5</TD><TD> * regarding copyright ownership.  The ASF licenses this file   *</TD></TR><TR><TD CLASS="l">6</TD><TD> * to you under the Apache License, Version 2.0 (the            *</TD></TR><TR><TD CLASS="l">7</TD><TD> * "License"); you may not use this file except in compliance   *</TD></TR><TR><TD CLASS="l">8</TD><TD> * with the License.  You may obtain a copy of the Lice
nse at   *</TD></TR><TR><TD CLASS="l">9</TD><TD> *                                                              *</TD></TR><TR><TD CLASS="l">10</TD><TD> *   http://www.apache.org/licenses/LICENSE-2.0                 *</TD></TR><TR><TD CLASS="l">11</TD><TD> *                                                              *</TD></TR><TR><TD CLASS="l">12</TD><TD> * Unless required by applicable law or agreed to in writing,   *</TD></TR><TR><TD CLASS="l">13</TD><TD> * software distribut
ed under the License is distributed on an  *</TD></TR><TR><TD CLASS="l">14</TD><TD> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *</TD></TR><TR><TD CLASS="l">15</TD><TD> * KIND, either express or implied.  See the License for the    *</TD></TR><TR><TD CLASS="l">16</TD><TD> * specific language governing permissions and limitations      *</TD></TR><TR><TD CLASS="l">17</TD><TD> * under the License.                                           *</TD></TR><TR><TD CLASS="l">18</TD><TD> ****************************************************************/</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>package org.apache.jam
es.mpt;</TD></TR><TR><TD CLASS="l"><A NAME="0">21</A></TD><TD> </TD></TR><TR><TD CLASS="l">22</TD><TD>/**</TD></TR><TR><TD CLASS="l">23</TD><TD> * Feeds monitored information to {@link System#out}.</TD></TR><TR><TD CLASS="l">24</TD><TD> */</TD></TR><TR CLASS="z"><TD CLASS="l">25</TD><TD>public final class SystemLoggingMonitor implements Monitor {</TD></TR><TR><TD CLASS="l">26</TD><TD> </TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="4">27</A></TD><TD>    private boolean verbose = false;</TD></TR><TR><TD CLASS="l">28</TD><TD>    </TD></TR><TR><TD CLASS="l">29</TD><TD>    </TD></TR><TR><TD CLASS="l">30</TD><TD>    public boolean isVerbose() {</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="6">31</A></TD><TD>        return verbose;</TD></TR><TR><TD CLASS="l">32</TD><TD>    }</TD></TR><TR><TD CLASS="l">33</TD><TD> </TD></TR><T
R><TD CLASS="l">34</TD><TD>    public void setVerbose(boolean verbose) {</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="5">35</A></TD><TD>        this.verbose = verbose;</TD></TR><TR CLASS="z"><TD CLASS="l">36</TD><TD>    }</TD></TR><TR><TD CLASS="l">37</TD><TD> </TD></TR><TR><TD CLASS="l">38</TD><TD>    public void note(String message) {</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="3">39</A></TD><TD>        System.out.println(message);</TD></TR><TR CLASS="z"><TD CLASS="l">40</TD><TD>    }</TD></TR><TR><TD CLASS="l">41</TD><TD> </TD></TR><TR><TD CLASS="l">42</TD><TD>    public void debug(char character) {</TD></TR><TR CLASS="z"><TD CLASS="l"><A NAME="2">43</A></TD><TD>        System.out.print(character);</TD></TR><TR CLASS="z"><TD CLASS="l">44</TD><TD>    }</TD></TR><TR><TD CLASS="l">45
</TD><TD> </TD></TR><TR><TD CLASS="l">46</TD><TD>    public void debug(String message) {</TD></TR><TR CLASS="z"><TD CLASS="l">47</TD><TD>       System.out.println(message);</TD></TR><TR CLASS="z"><TD CLASS="l">48</TD><TD>    }</TD></TR><TR><TD CLASS="l">49</TD><TD> </TD></TR><TR><TD CLASS="l">50</TD><TD>    </TD></TR><TR><TD CLASS="l">51</TD><TD>}</TD></TR></TABLE><P></P><TABLE CLASS="hdft" WIDTH="100%" CELLSPACING="0"><TR><TD CLASS="nv">[<A HREF="../index.html">all classes</A>][<A HREF="0.html">org.apache.james.mpt</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://sourceforge.net/projects/emma">EMMA 2.0.5312</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML>
\ No newline at end of file