You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2002/01/27 05:51:57 UTC

cvs commit: jakarta-commons/latka/webpages/api/org/apache/commons/latka/junit package-summary.html package-frame.html JUnitTestAdapter.html JUnitEventReporter.html

dion        02/01/26 20:51:57

  Added:       latka/webpages/api/org/apache/commons/latka/junit
                        package-summary.html package-frame.html
                        JUnitTestAdapter.html JUnitEventReporter.html
  Log:
  Initial add
  
  Revision  Changes    Path
  1.1                  jakarta-commons/latka/webpages/api/org/apache/commons/latka/junit/package-summary.html
  
  Index: package-summary.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
  <!--NewPage-->
  <HTML>
  <HEAD>
  <!-- Generated by javadoc on Sat Jan 26 14:57:00 EST 2002 -->
  <TITLE>
  org.apache.commons.latka.junit(Jakarta Commons Latka Functional Testing Suite)
  </TITLE>
  <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  </HEAD>
  <SCRIPT>
  function asd()
  {
  parent.document.title="org.apache.commons.latka.junit(Jakarta Commons Latka Functional Testing Suite)";
  }
  </SCRIPT>
  <BODY BGCOLOR="white" onload="asd();">
  
  <!-- ========== START OF NAVBAR ========== -->
  <A NAME="navbar_top"><!-- --></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_top_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;<A HREF="../../../../../org/apache/commons/latka/http/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
  &nbsp;<A HREF="../../../../../org/apache/commons/latka/util/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;
  <SCRIPT>
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
  </NOSCRIPT>
  </FONT></TD>
  </TR>
  </TABLE>
  <!-- =========== END OF NAVBAR =========== -->
  
  <HR>
  <H2>
  Package org.apache.commons.latka.junit
  </H2>
  
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=2><FONT SIZE="+2">
  <B>Class Summary</B></FONT></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD WIDTH="15%"><B><A HREF="JUnitEventReporter.html">JUnitEventReporter</A></B></TD>
  <TD>A Latka reporter that takes the various latka events and adapts them into
   JUnit Tests.</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD WIDTH="15%"><B><A HREF="JUnitTestAdapter.html">JUnitTestAdapter</A></B></TD>
  <TD>A JUnit <CODE>Test</CODE> which is created by
   wrapping a Latka <A HREF="../../../../../org/apache/commons/latka/Suite.html"><CODE>Suite</CODE></A></TD>
  </TR>
  </TABLE>
  &nbsp;
  
  <P>
  <HR>
  
  <!-- ========== START OF NAVBAR ========== -->
  <A NAME="navbar_bottom"><!-- --></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_bottom_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;<A HREF="../../../../../org/apache/commons/latka/http/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
  &nbsp;<A HREF="../../../../../org/apache/commons/latka/util/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;
  <SCRIPT>
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
  </NOSCRIPT>
  </FONT></TD>
  </TR>
  </TABLE>
  <!-- =========== END OF NAVBAR =========== -->
  
  <HR>
  <small>Copyright &copy; 2001 Apache Software Foundation. Documenation generated January 26 2002</small>.
  </BODY>
  </HTML>
  
  
  
  1.1                  jakarta-commons/latka/webpages/api/org/apache/commons/latka/junit/package-frame.html
  
  Index: package-frame.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
  <!--NewPage-->
  <HTML>
  <HEAD>
  <!-- Generated by javadoc on Sat Jan 26 14:57:00 EST 2002 -->
  <TITLE>
  org.apache.commons.latka.junit(Jakarta Commons Latka Functional Testing Suite)
  </TITLE>
  <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  </HEAD>
  <SCRIPT>
  function asd()
  {
  parent.document.title="org.apache.commons.latka.junit(Jakarta Commons Latka Functional Testing Suite)";
  }
  </SCRIPT>
  <BODY BGCOLOR="white" onload="asd();">
  <FONT size="+1" CLASS="FrameTitleFont">
  <A HREF="../../../../../org/apache/commons/latka/junit/package-summary.html" TARGET="classFrame">org.apache.commons.latka.junit</A></FONT>
  <TABLE BORDER="0" WIDTH="100%">
  <TR>
  <TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
  Classes</FONT>&nbsp;
  <FONT CLASS="FrameItemFont">
  <BR>
  <A HREF="JUnitEventReporter.html" TARGET="classFrame">JUnitEventReporter</A>
  <BR>
  <A HREF="JUnitTestAdapter.html" TARGET="classFrame">JUnitTestAdapter</A></FONT></TD>
  </TR>
  </TABLE>
  
  
  </BODY>
  </HTML>
  
  
  
  1.1                  jakarta-commons/latka/webpages/api/org/apache/commons/latka/junit/JUnitTestAdapter.html
  
  Index: JUnitTestAdapter.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
  <!--NewPage-->
  <HTML>
  <HEAD>
  <!-- Generated by javadoc on Sat Jan 26 14:57:05 EST 2002 -->
  <TITLE>
  JUnitTestAdapter (Jakarta Commons Latka Functional Testing Suite)
  </TITLE>
  <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  </HEAD>
  <SCRIPT>
  function asd()
  {
  parent.document.title="JUnitTestAdapter (Jakarta Commons Latka Functional Testing Suite)";
  }
  </SCRIPT>
  <BODY BGCOLOR="white" onload="asd();">
  
  <!-- ========== START OF NAVBAR ========== -->
  <A NAME="navbar_top"><!-- --></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_top_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;<A HREF="../../../../../org/apache/commons/latka/junit/JUnitEventReporter.html"><B>PREV CLASS</B></A>&nbsp;
  &nbsp;NEXT CLASS</FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="JUnitTestAdapter.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;
  <SCRIPT>
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
  </NOSCRIPT>
  </FONT></TD>
  </TR>
  <TR>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  </TR>
  </TABLE>
  <!-- =========== END OF NAVBAR =========== -->
  
  <HR>
  <!-- ======== START OF CLASS DATA ======== -->
  <H2>
  <FONT SIZE="-1">
  org.apache.commons.latka.junit</FONT>
  <BR>
  Class  JUnitTestAdapter</H2>
  <PRE>
  java.lang.Object
    |
    +--<B>org.apache.commons.latka.junit.JUnitTestAdapter</B>
  </PRE>
  <DL>
  <DT><B>All Implemented Interfaces:</B> <DD>junit.framework.Test</DD>
  </DL>
  <HR>
  <DL>
  <DT>public class <B>JUnitTestAdapter</B><DT>extends java.lang.Object<DT>implements junit.framework.Test</DL>
  
  <P>
  A JUnit <CODE>Test</CODE> which is created by
   wrapping a Latka <A HREF="../../../../../org/apache/commons/latka/Suite.html"><CODE>Suite</CODE></A>
  <P>
  
  <P>
  <DL>
  <DT><B>Version:</B><DD>$Id: JUnitTestAdapter.html,v 1.1 2002/01/27 04:51:57 dion Exp $</DD>
  </DD>
  <DT><B>Author:</B><DD>Chuck Burdick</DD>
  </DD>
  </DL>
  <HR>
  
  <P>
  <!-- ======== NESTED CLASS SUMMARY ======== -->
  
  
  <!-- =========== FIELD SUMMARY =========== -->
  
  
  <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  
  <A NAME="constructor_summary"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=2><FONT SIZE="+2">
  <B>Constructor Summary</B></FONT></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>protected </CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html#JUnitTestAdapter(org.apache.commons.latka.Suite, int)">JUnitTestAdapter</A></B>(<A HREF="../../../../../org/apache/commons/latka/Suite.html">Suite</A>&nbsp;suite,
                   int&nbsp;testCount)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a Test from a Latka suite and a number of tests</TD>
  </TR>
  </TABLE>
  &nbsp;
  <!-- ========== METHOD SUMMARY =========== -->
  
  <A NAME="method_summary"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=2><FONT SIZE="+2">
  <B>Method Summary</B></FONT></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;int</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html#countTestCases()">countTestCases</A></B>()</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides access, post-parsing, of the number of
   request elements in the Latka Suite</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>static&nbsp;junit.framework.Test</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html#createTestFromFile(java.io.File)">createTestFromFile</A></B>(java.io.File&nbsp;file)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a Test from a <CODE>Java file</CODE></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>static&nbsp;junit.framework.Test</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html#createTestFromFile(java.lang.String)">createTestFromFile</A></B>(java.lang.String&nbsp;fileName)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a Test from a Latka file</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>static&nbsp;junit.framework.Test</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html#createTestFromResource(java.lang.String)">createTestFromResource</A></B>(java.lang.String&nbsp;resourceName)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a Test from a resource accessible via
   the <CODE>class loader</CODE></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>static&nbsp;junit.framework.Test</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html#createTestFromURL(java.lang.String)">createTestFromURL</A></B>(java.lang.String&nbsp;url)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a Test from a String containing a URL whose
   contents are in Latka's XML format</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>static&nbsp;junit.framework.Test</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html#createTestFromURL(java.net.URL)">createTestFromURL</A></B>(java.net.URL&nbsp;url)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a Test from a URL whose contents are in Latka's XML format</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>protected static&nbsp;int</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html#parse(org.xml.sax.InputSource)">parse</A></B>(org.xml.sax.InputSource&nbsp;xml)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the Latka XML document to count the requests</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;void</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html#run(junit.framework.TestResult)">run</A></B>(junit.framework.TestResult&nbsp;r)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Run the test, adding results to the provided <CODE>TestResult</CODE></TD>
  </TR>
  </TABLE>
  &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  <TD><B>Methods inherited from class java.lang.Object</B></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  </TR>
  </TABLE>
  &nbsp;
  <P>
  
  <!-- ============ FIELD DETAIL =========== -->
  
  
  <!-- ========= CONSTRUCTOR DETAIL ======== -->
  
  <A NAME="constructor_detail"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=1><FONT SIZE="+2">
  <B>Constructor Detail</B></FONT></TD>
  </TR>
  </TABLE>
  
  <A NAME="JUnitTestAdapter(org.apache.commons.latka.Suite, int)"><!-- --></A><H3>
  JUnitTestAdapter</H3>
  <PRE>
  protected <B>JUnitTestAdapter</B>(<A HREF="../../../../../org/apache/commons/latka/Suite.html">Suite</A>&nbsp;suite,
                             int&nbsp;testCount)</PRE>
  <DL>
  <DD>Create a Test from a Latka suite and a number of tests
  <P>
  <DT><B>Parameters:</B><DD><CODE>suite</CODE> - The Latka <A HREF="../../../../../org/apache/commons/latka/Suite.html"><CODE>Suite</CODE></A>
   to be run as a JUnit Test<DD><CODE>testCount</CODE> - The number of 'request's in the Latka suite</DL>
  
  <!-- ============ METHOD DETAIL ========== -->
  
  <A NAME="method_detail"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=1><FONT SIZE="+2">
  <B>Method Detail</B></FONT></TD>
  </TR>
  </TABLE>
  
  <A NAME="countTestCases()"><!-- --></A><H3>
  countTestCases</H3>
  <PRE>
  public int <B>countTestCases</B>()</PRE>
  <DL>
  <DD>Provides access, post-parsing, of the number of
   request elements in the Latka Suite
  <P>
  <DD><DL>
  <DT><B>Specified by:</B><DD><CODE>countTestCases</CODE> in interface <CODE>junit.framework.Test</CODE></DL>
  </DD>
  <DD><DL>
  
  <DT><B>Returns:</B><DD>the number of test cases in the Latka suite</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="createTestFromFile(java.io.File)"><!-- --></A><H3>
  createTestFromFile</H3>
  <PRE>
  public static junit.framework.Test <B>createTestFromFile</B>(java.io.File&nbsp;file)</PRE>
  <DL>
  <DD>Create a Test from a <CODE>Java file</CODE>
  <P>
  <DD><DL>
  </DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>file</CODE> - A readable java file containing Latka's XML format
  <DT><B>Returns:</B><DD>a JUnit Test, ready to run</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="createTestFromFile(java.lang.String)"><!-- --></A><H3>
  createTestFromFile</H3>
  <PRE>
  public static junit.framework.Test <B>createTestFromFile</B>(java.lang.String&nbsp;fileName)</PRE>
  <DL>
  <DD>Create a Test from a Latka file
  <P>
  <DD><DL>
  </DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>fileName</CODE> - The name of a readable file in Latka's XML format
  <DT><B>Returns:</B><DD>a JUnit Test, ready to run</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="createTestFromResource(java.lang.String)"><!-- --></A><H3>
  createTestFromResource</H3>
  <PRE>
  public static junit.framework.Test <B>createTestFromResource</B>(java.lang.String&nbsp;resourceName)</PRE>
  <DL>
  <DD>Create a Test from a resource accessible via
   the <CODE>class loader</CODE>
  <P>
  <DD><DL>
  </DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>resourceName</CODE> - A resource accessible by the class loader in Latka's XML format
  <DT><B>Returns:</B><DD>a JUnit Test, ready to run</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="createTestFromURL(java.lang.String)"><!-- --></A><H3>
  createTestFromURL</H3>
  <PRE>
  public static junit.framework.Test <B>createTestFromURL</B>(java.lang.String&nbsp;url)</PRE>
  <DL>
  <DD>Create a Test from a String containing a URL whose
   contents are in Latka's XML format
  <P>
  <DD><DL>
  </DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>url</CODE> - the <CODE>URL</CODE> to fetch
  <DT><B>Returns:</B><DD>a JUnit Test, ready to run</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="createTestFromURL(java.net.URL)"><!-- --></A><H3>
  createTestFromURL</H3>
  <PRE>
  public static junit.framework.Test <B>createTestFromURL</B>(java.net.URL&nbsp;url)</PRE>
  <DL>
  <DD>Create a Test from a URL whose contents are in Latka's XML format
  <P>
  <DD><DL>
  </DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>url</CODE> - the <CODE>URL</CODE> to fetch
  <DT><B>Returns:</B><DD>a JUnit Test, ready to run</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="parse(org.xml.sax.InputSource)"><!-- --></A><H3>
  parse</H3>
  <PRE>
  protected static int <B>parse</B>(org.xml.sax.InputSource&nbsp;xml)
                      throws java.io.IOException,
                             org.xml.sax.SAXException,
                             javax.xml.parsers.FactoryConfigurationError,
                             javax.xml.parsers.ParserConfigurationException</PRE>
  <DL>
  <DD>Parse the Latka XML document to count the requests
  <P>
  <DD><DL>
  </DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>xml</CODE> - The inputsource to parse
  <DT><B>Returns:</B><DD>the number of tests in the Latka suite
  <DT><B>Throws:</B>
  <DD><CODE>java.io.IOException</CODE> - When an IO occurs reading the document
  <DD><CODE>org.xml.sax.SAXException</CODE> - When the document is invalid XML
  <DD><CODE>javax.xml.parsers.FactoryConfigurationError</CODE> - When the SAX Parser factory can't be configured correctly
  <DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - When the SAX Parser can't be configured correctly</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="run(junit.framework.TestResult)"><!-- --></A><H3>
  run</H3>
  <PRE>
  public void <B>run</B>(junit.framework.TestResult&nbsp;r)</PRE>
  <DL>
  <DD>Run the test, adding results to the provided <CODE>TestResult</CODE>
  <P>
  <DD><DL>
  <DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>junit.framework.Test</CODE></DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>r</CODE> - TestResult to accumulate</DL>
  </DD>
  </DL>
  <!-- ========= END OF CLASS DATA ========= -->
  <HR>
  
  <!-- ========== START OF NAVBAR ========== -->
  <A NAME="navbar_bottom"><!-- --></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_bottom_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;<A HREF="../../../../../org/apache/commons/latka/junit/JUnitEventReporter.html"><B>PREV CLASS</B></A>&nbsp;
  &nbsp;NEXT CLASS</FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="JUnitTestAdapter.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;
  <SCRIPT>
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
  </NOSCRIPT>
  </FONT></TD>
  </TR>
  <TR>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  </TR>
  </TABLE>
  <!-- =========== END OF NAVBAR =========== -->
  
  <HR>
  <small>Copyright &copy; 2001 Apache Software Foundation. Documenation generated January 26 2002</small>.
  </BODY>
  </HTML>
  
  
  
  1.1                  jakarta-commons/latka/webpages/api/org/apache/commons/latka/junit/JUnitEventReporter.html
  
  Index: JUnitEventReporter.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
  <!--NewPage-->
  <HTML>
  <HEAD>
  <!-- Generated by javadoc on Sat Jan 26 14:57:05 EST 2002 -->
  <TITLE>
  JUnitEventReporter (Jakarta Commons Latka Functional Testing Suite)
  </TITLE>
  <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  </HEAD>
  <SCRIPT>
  function asd()
  {
  parent.document.title="JUnitEventReporter (Jakarta Commons Latka Functional Testing Suite)";
  }
  </SCRIPT>
  <BODY BGCOLOR="white" onload="asd();">
  
  <!-- ========== START OF NAVBAR ========== -->
  <A NAME="navbar_top"><!-- --></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_top_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;PREV CLASS&nbsp;
  &nbsp;<A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html"><B>NEXT CLASS</B></A></FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="JUnitEventReporter.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;
  <SCRIPT>
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
  </NOSCRIPT>
  </FONT></TD>
  </TR>
  <TR>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.commons.latka.AbstractReporter">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  </TR>
  </TABLE>
  <!-- =========== END OF NAVBAR =========== -->
  
  <HR>
  <!-- ======== START OF CLASS DATA ======== -->
  <H2>
  <FONT SIZE="-1">
  org.apache.commons.latka.junit</FONT>
  <BR>
  Class  JUnitEventReporter</H2>
  <PRE>
  java.lang.Object
    |
    +--<A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html">org.apache.commons.latka.AbstractReporter</A>
          |
          +--<B>org.apache.commons.latka.junit.JUnitEventReporter</B>
  </PRE>
  <DL>
  <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/commons/latka/event/LatkaEventInfo.html">LatkaEventInfo</A>, <A HREF="../../../../../org/apache/commons/latka/event/LatkaEventListener.html">LatkaEventListener</A></DD>
  </DL>
  <HR>
  <DL>
  <DT>public class <B>JUnitEventReporter</B><DT>extends <A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html">AbstractReporter</A></DL>
  
  <P>
  A Latka reporter that takes the various latka events and adapts them into
   JUnit Tests.
  
   In particular this class handles the request error, failed, skipped and
   succeeded events
  <P>
  
  <P>
  <DL>
  <DT><B>Version:</B><DD>$Id: JUnitEventReporter.html,v 1.1 2002/01/27 04:51:57 dion Exp $</DD>
  </DD>
  <DT><B>Author:</B><DD>Chuck Burdick</DD>
  </DD>
  </DL>
  <HR>
  
  <P>
  <!-- ======== NESTED CLASS SUMMARY ======== -->
  
  
  <!-- =========== FIELD SUMMARY =========== -->
  
  <A NAME="field_summary"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=2><FONT SIZE="+2">
  <B>Field Summary</B></FONT></TD>
  </TR>
  </TABLE>
  &nbsp;<A NAME="fields_inherited_from_class_org.apache.commons.latka.AbstractReporter"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  <TD><B>Fields inherited from class org.apache.commons.latka.<A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html">AbstractReporter</A></B></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD><CODE><A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#_failedResponses">_failedResponses</A>, <A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#_log">_log</A>, <A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#_requestSucceeded">_requestSucceeded</A>, <A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#_sessionSucceeded">_sessionSucceeded</A>, <A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#_suiteSucceeded">_suiteSucceeded</A></CODE></TD>
  </TR>
  </TABLE>
  &nbsp;
  <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  
  <A NAME="constructor_summary"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=2><FONT SIZE="+2">
  <B>Constructor Summary</B></FONT></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>protected </CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitEventReporter.html#JUnitEventReporter(junit.framework.TestResult)">JUnitEventReporter</A></B>(junit.framework.TestResult&nbsp;result)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a JUnitEventReporter, storing the
   JUnit Test results in the provided object</TD>
  </TR>
  </TABLE>
  &nbsp;
  <!-- ========== METHOD SUMMARY =========== -->
  
  <A NAME="method_summary"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=2><FONT SIZE="+2">
  <B>Method Summary</B></FONT></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;void</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitEventReporter.html#requestError(org.apache.commons.latka.event.RequestEvent)">requestError</A></B>(<A HREF="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</A>&nbsp;event)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process a Latka request error</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;void</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitEventReporter.html#requestFailed(org.apache.commons.latka.event.RequestEvent)">requestFailed</A></B>(<A HREF="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</A>&nbsp;event)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process a Latka request failure</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;void</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitEventReporter.html#requestSkipped(org.apache.commons.latka.event.RequestEvent)">requestSkipped</A></B>(<A HREF="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</A>&nbsp;event)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process a Latka event being skipped</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;void</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitEventReporter.html#requestSucceeded(org.apache.commons.latka.event.RequestEvent)">requestSucceeded</A></B>(<A HREF="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</A>&nbsp;event)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process a Latka request success event</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;void</CODE></FONT></TD>
  <TD><CODE><B><A HREF="../../../../../org/apache/commons/latka/junit/JUnitEventReporter.html#suiteCompleted(org.apache.commons.latka.event.SuiteEvent)">suiteCompleted</A></B>(<A HREF="../../../../../org/apache/commons/latka/event/SuiteEvent.html">SuiteEvent</A>&nbsp;event)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process a Latka suite completion event</TD>
  </TR>
  </TABLE>
  &nbsp;<A NAME="methods_inherited_from_class_org.apache.commons.latka.AbstractReporter"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  <TD><B>Methods inherited from class org.apache.commons.latka.<A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html">AbstractReporter</A></B></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD><CODE><A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#didRequestSucceed(org.apache.commons.latka.http.Request)">didRequestSucceed</A>, <A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#didSessionSucceed(org.apache.commons.latka.http.Session)">didSessionSucceed</A>, <A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#didSuiteSucceed()">didSuiteSucceed</A>, <A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#getFailedResponses()">getFailedResponses</A>, <A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#recordSuccess(org.apache.commons.latka.event.RequestEvent, boolean)">recordSuccess</A></CODE></TD>
  </TR>
  </TABLE>
  &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  <TD><B>Methods inherited from class java.lang.Object</B></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  </TR>
  </TABLE>
  &nbsp;
  <P>
  
  <!-- ============ FIELD DETAIL =========== -->
  
  
  <!-- ========= CONSTRUCTOR DETAIL ======== -->
  
  <A NAME="constructor_detail"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=1><FONT SIZE="+2">
  <B>Constructor Detail</B></FONT></TD>
  </TR>
  </TABLE>
  
  <A NAME="JUnitEventReporter(junit.framework.TestResult)"><!-- --></A><H3>
  JUnitEventReporter</H3>
  <PRE>
  protected <B>JUnitEventReporter</B>(junit.framework.TestResult&nbsp;result)</PRE>
  <DL>
  <DD>Create a JUnitEventReporter, storing the
   JUnit Test results in the provided object
  <P>
  <DT><B>Parameters:</B><DD><CODE>result</CODE> - the JUnit TestResult to add failures and errors to</DL>
  
  <!-- ============ METHOD DETAIL ========== -->
  
  <A NAME="method_detail"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=1><FONT SIZE="+2">
  <B>Method Detail</B></FONT></TD>
  </TR>
  </TABLE>
  
  <A NAME="requestError(org.apache.commons.latka.event.RequestEvent)"><!-- --></A><H3>
  requestError</H3>
  <PRE>
  public void <B>requestError</B>(<A HREF="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</A>&nbsp;event)</PRE>
  <DL>
  <DD>Process a Latka request error
  <P>
  <DD><DL>
  <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/latka/event/LatkaEventListener.html#requestError(org.apache.commons.latka.event.RequestEvent)">requestError</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/latka/event/LatkaEventListener.html">LatkaEventListener</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#requestError(org.apache.commons.latka.event.RequestEvent)">requestError</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html">AbstractReporter</A></CODE></DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>event</CODE> - the latka request event that is in error</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="requestFailed(org.apache.commons.latka.event.RequestEvent)"><!-- --></A><H3>
  requestFailed</H3>
  <PRE>
  public void <B>requestFailed</B>(<A HREF="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</A>&nbsp;event)</PRE>
  <DL>
  <DD>Process a Latka request failure
  <P>
  <DD><DL>
  <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/latka/event/LatkaEventListener.html#requestFailed(org.apache.commons.latka.event.RequestEvent)">requestFailed</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/latka/event/LatkaEventListener.html">LatkaEventListener</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#requestFailed(org.apache.commons.latka.event.RequestEvent)">requestFailed</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html">AbstractReporter</A></CODE></DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>event</CODE> - The event describing the request that has failed</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="requestSkipped(org.apache.commons.latka.event.RequestEvent)"><!-- --></A><H3>
  requestSkipped</H3>
  <PRE>
  public void <B>requestSkipped</B>(<A HREF="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</A>&nbsp;event)</PRE>
  <DL>
  <DD>Process a Latka event being skipped
  <P>
  <DD><DL>
  <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/latka/event/LatkaEventListener.html#requestSkipped(org.apache.commons.latka.event.RequestEvent)">requestSkipped</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/latka/event/LatkaEventListener.html">LatkaEventListener</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#requestSkipped(org.apache.commons.latka.event.RequestEvent)">requestSkipped</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html">AbstractReporter</A></CODE></DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>event</CODE> - The event describing the request that has been skipped</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="requestSucceeded(org.apache.commons.latka.event.RequestEvent)"><!-- --></A><H3>
  requestSucceeded</H3>
  <PRE>
  public void <B>requestSucceeded</B>(<A HREF="../../../../../org/apache/commons/latka/event/RequestEvent.html">RequestEvent</A>&nbsp;event)</PRE>
  <DL>
  <DD>Process a Latka request success event
  <P>
  <DD><DL>
  <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/commons/latka/event/LatkaEventListener.html#requestSucceeded(org.apache.commons.latka.event.RequestEvent)">requestSucceeded</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/commons/latka/event/LatkaEventListener.html">LatkaEventListener</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html#requestSucceeded(org.apache.commons.latka.event.RequestEvent)">requestSucceeded</A></CODE> in class <CODE><A HREF="../../../../../org/apache/commons/latka/AbstractReporter.html">AbstractReporter</A></CODE></DL>
  </DD>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>event</CODE> - The event describing the request that has succeeded</DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="suiteCompleted(org.apache.commons.latka.event.SuiteEvent)"><!-- --></A><H3>
  suiteCompleted</H3>
  <PRE>
  public void <B>suiteCompleted</B>(<A HREF="../../../../../org/apache/commons/latka/event/SuiteEvent.html">SuiteEvent</A>&nbsp;event)</PRE>
  <DL>
  <DD>Process a Latka suite completion event
  <P>
  <DD><DL>
  <DT><B>Parameters:</B><DD><CODE>event</CODE> - The event describing the suite that has completed</DL>
  </DD>
  </DL>
  <!-- ========= END OF CLASS DATA ========= -->
  <HR>
  
  <!-- ========== START OF NAVBAR ========== -->
  <A NAME="navbar_bottom"><!-- --></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_bottom_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;PREV CLASS&nbsp;
  &nbsp;<A HREF="../../../../../org/apache/commons/latka/junit/JUnitTestAdapter.html"><B>NEXT CLASS</B></A></FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="JUnitEventReporter.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;
  <SCRIPT>
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
  </NOSCRIPT>
  </FONT></TD>
  </TR>
  <TR>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.commons.latka.AbstractReporter">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  </TR>
  </TABLE>
  <!-- =========== END OF NAVBAR =========== -->
  
  <HR>
  <small>Copyright &copy; 2001 Apache Software Foundation. Documenation generated January 26 2002</small>.
  </BODY>
  </HTML>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>