| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <head> |
| <!-- Generated by javadoc on Tue Mar 16 12:02:29 CET 2004 --> |
| <TITLE> |
| OOoRunner: Class ComplexTestCase |
| </TITLE> |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
| </head> |
| <body BGCOLOR="white"> |
| |
| <!-- ========== START OF NAVBAR ========== --> |
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
| <TR> |
| <TD COLSPAN=2 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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ComplexTestCase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| OOoRunner test harness</EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| PREV CLASS |
| <A HREF="../complexlib/MethodThread.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> |
| <A HREF="ComplexTestCase.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#inner_class_summary">INNER</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <!-- =========== END OF NAVBAR =========== --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| complexlib</FONT> |
| <BR> |
| Class ComplexTestCase</H2> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">java.lang.Object</A> |
| | |
| +--<B>complexlib.ComplexTestCase</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../share/ComplexTest.html">ComplexTest</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT>public abstract class <B>ComplexTestCase</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="../share/ComplexTest.html">ComplexTest</A></DL> |
| |
| <P> |
| Base class for all complex tests. |
| <P> |
| <HR> |
| |
| <P> |
| <!-- ======== INNER CLASS SUMMARY ======== --> |
| |
| <A NAME="inner_class_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Inner Class Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.AssureException.html">ComplexTestCase.AssureException</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- =========== 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> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#BREAK">BREAK</A></B></CODE> |
| |
| <BR> |
| End a test if it did fail</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#CONTINUE">CONTINUE</A></B></CODE> |
| |
| <BR> |
| Continue a test even if it did fail</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static <A HREF="../share/LogWriter.html">LogWriter</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#log">log</A></B></CODE> |
| |
| <BR> |
| Log writer</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#message">message</A></B></CODE> |
| |
| <BR> |
| The message if the test did fail</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#mThreadTimeOut">mThreadTimeOut</A></B></CODE> |
| |
| <BR> |
| Maximal time one method is allowed to execute |
| Can be set with parameter 'ThreadTimeOut'</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static <A HREF="../lib/TestParameters.html">TestParameters</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#param">param</A></B></CODE> |
| |
| <BR> |
| The test parameters</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#state">state</A></B></CODE> |
| |
| <BR> |
| State of the current test method</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../share/DescEntry.html">DescEntry</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#subEntry">subEntry</A></B></CODE> |
| |
| <BR> |
| Description entry</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== 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><CODE><B><A HREF="../complexlib/ComplexTestCase.html#ComplexTestCase()">ComplexTestCase</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== 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>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#addResult(java.lang.String, boolean)">addResult</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> message, |
| boolean state)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I></I> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#assure(boolean)">assure</A></B>(boolean s)</CODE> |
| |
| <BR> |
| Assure that s is true.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#assure(java.lang.String, boolean)">assure</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> msg, |
| boolean s)</CODE> |
| |
| <BR> |
| Assure that s is true.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#assure(java.lang.String, boolean, boolean)">assure</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> msg, |
| boolean s, |
| boolean cont)</CODE> |
| |
| <BR> |
| Assure that s is true.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#executeMethods(share.DescEntry, lib.TestParameters)">executeMethods</A></B>(<A HREF="../share/DescEntry.html">DescEntry</A> entry, |
| <A HREF="../lib/TestParameters.html">TestParameters</A> environment)</CODE> |
| |
| <BR> |
| Call test.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#failed()">failed</A></B>()</CODE> |
| |
| <BR> |
| Mark the currently executed method as failed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#failed(java.lang.String)">failed</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> msg)</CODE> |
| |
| <BR> |
| Mark the currently executed method as failed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#failed(java.lang.String, boolean)">failed</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> msg, |
| boolean cont)</CODE> |
| |
| <BR> |
| Mark the currently executed method as failed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>abstract <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#getTestMethodNames()">getTestMethodNames</A></B>()</CODE> |
| |
| <BR> |
| Implement this method in the Complex test.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../complexlib/ComplexTestCase.html#getTestObjectName()">getTestObjectName</A></B>()</CODE> |
| |
| <BR> |
| Return a name for the test or tested object.</TD> |
| </TR> |
| </TABLE> |
| <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.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A></B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="param"><!-- --></A><H3> |
| param</H3> |
| <PRE> |
| protected static <A HREF="../lib/TestParameters.html">TestParameters</A> <B>param</B></PRE> |
| <DL> |
| <DD>The test parameters</DL> |
| <HR> |
| |
| <A NAME="log"><!-- --></A><H3> |
| log</H3> |
| <PRE> |
| protected static <A HREF="../share/LogWriter.html">LogWriter</A> <B>log</B></PRE> |
| <DL> |
| <DD>Log writer</DL> |
| <HR> |
| |
| <A NAME="subEntry"><!-- --></A><H3> |
| subEntry</H3> |
| <PRE> |
| protected <A HREF="../share/DescEntry.html">DescEntry</A> <B>subEntry</B></PRE> |
| <DL> |
| <DD>Description entry</DL> |
| <HR> |
| |
| <A NAME="state"><!-- --></A><H3> |
| state</H3> |
| <PRE> |
| protected boolean <B>state</B></PRE> |
| <DL> |
| <DD>State of the current test method</DL> |
| <HR> |
| |
| <A NAME="message"><!-- --></A><H3> |
| message</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>message</B></PRE> |
| <DL> |
| <DD>The message if the test did fail</DL> |
| <HR> |
| |
| <A NAME="mThreadTimeOut"><!-- --></A><H3> |
| mThreadTimeOut</H3> |
| <PRE> |
| protected int <B>mThreadTimeOut</B></PRE> |
| <DL> |
| <DD>Maximal time one method is allowed to execute |
| Can be set with parameter 'ThreadTimeOut'</DL> |
| <HR> |
| |
| <A NAME="CONTINUE"><!-- --></A><H3> |
| CONTINUE</H3> |
| <PRE> |
| public static final boolean <B>CONTINUE</B></PRE> |
| <DL> |
| <DD>Continue a test even if it did fail</DL> |
| <HR> |
| |
| <A NAME="BREAK"><!-- --></A><H3> |
| BREAK</H3> |
| <PRE> |
| public static final boolean <B>BREAK</B></PRE> |
| <DL> |
| <DD>End a test if it did fail</DL> |
| |
| <!-- ========= 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="ComplexTestCase()"><!-- --></A><H3> |
| ComplexTestCase</H3> |
| <PRE> |
| public <B>ComplexTestCase</B>()</PRE> |
| <DL> |
| </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="executeMethods(share.DescEntry, lib.TestParameters)"><!-- --></A><H3> |
| executeMethods</H3> |
| <PRE> |
| public void <B>executeMethods</B>(<A HREF="../share/DescEntry.html">DescEntry</A> entry, |
| <A HREF="../lib/TestParameters.html">TestParameters</A> environment)</PRE> |
| <DL> |
| <DD>Call test. It is expected, that an environment is |
| given to this test.<DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>method</CODE> - The name of the test method that should be called.<DD><CODE>environment</CODE> - The environment for the test.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTestMethodNames()"><!-- --></A><H3> |
| getTestMethodNames</H3> |
| <PRE> |
| public abstract <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>[] <B>getTestMethodNames</B>()</PRE> |
| <DL> |
| <DD>Implement this method in the Complex test.<DD><DL> |
| <DT><B>Specified by: </B><DD><CODE><A HREF="../share/ComplexTest.html#getTestMethodNames()">getTestMethodNames</A></CODE> in interface <CODE><A HREF="../share/ComplexTest.html">ComplexTest</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Returns:</B><DD>All test method names.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTestObjectName()"><!-- --></A><H3> |
| getTestObjectName</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getTestObjectName</B>()</PRE> |
| <DL> |
| <DD>Return a name for the test or tested object. |
| Override to give an own name.<DD><DL> |
| <DT><B>Specified by: </B><DD><CODE><A HREF="../share/ComplexTest.html#getTestObjectName()">getTestObjectName</A></CODE> in interface <CODE><A HREF="../share/ComplexTest.html">ComplexTest</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Returns:</B><DD>As default, the name of this class.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="assure(boolean)"><!-- --></A><H3> |
| assure</H3> |
| <PRE> |
| protected void <B>assure</B>(boolean s)</PRE> |
| <DL> |
| <DD>Assure that s is true. |
| This function generates "Assure failed." as standard message.<DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>s</CODE> - The condition that should be true.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="assure(java.lang.String, boolean)"><!-- --></A><H3> |
| assure</H3> |
| <PRE> |
| protected void <B>assure</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> msg, |
| boolean s)</PRE> |
| <DL> |
| <DD>Assure that s is true. |
| The given message will be only evaluated, if s is false.<DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>msg</CODE> - The message that is evaluated.<DD><CODE>s</CODE> - The condition that should be true.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="failed()"><!-- --></A><H3> |
| failed</H3> |
| <PRE> |
| protected void <B>failed</B>()</PRE> |
| <DL> |
| <DD>Mark the currently executed method as failed. |
| This function generates "Test did fail." as standard message.<DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="failed(java.lang.String)"><!-- --></A><H3> |
| failed</H3> |
| <PRE> |
| protected void <B>failed</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> msg)</PRE> |
| <DL> |
| <DD>Mark the currently executed method as failed. |
| with the given message.<DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>msg</CODE> - The message of the failure.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="assure(java.lang.String, boolean, boolean)"><!-- --></A><H3> |
| assure</H3> |
| <PRE> |
| protected void <B>assure</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> msg, |
| boolean s, |
| boolean cont)</PRE> |
| <DL> |
| <DD>Assure that s is true. |
| The given message will be only evaluated, if s is false. |
| Normally, assure() leaves the current test method, and the next one |
| is executed. With the parameter 'cont' set to true, the current test |
| method will continue.<br> |
| The current method will of course marked as failed.<DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>msg</CODE> - The message that is evaluated.<DD><CODE>s</CODE> - The condition that should be true.<DD><CODE>cont</CODE> - Continue with test method, even if s is false.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="failed(java.lang.String, boolean)"><!-- --></A><H3> |
| failed</H3> |
| <PRE> |
| protected void <B>failed</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> msg, |
| boolean cont)</PRE> |
| <DL> |
| <DD>Mark the currently executed method as failed. |
| with the given message. |
| The given message will be only evaluated, if s is false. |
| With the parameter 'cont' set to true, the current test |
| method will continue.<br> |
| The current method will of course marked as failed.<DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>msg</CODE> - The message that is evaluated.<DD><CODE>cont</CODE> - Continue with test method, even if s is false.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addResult(java.lang.String, boolean)"><!-- --></A><H3> |
| addResult</H3> |
| <PRE> |
| protected void <B>addResult</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> message, |
| boolean state)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I></I> |
| <P> |
| <DD><DL> |
| </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=2 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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ComplexTestCase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| OOoRunner test harness</EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| PREV CLASS |
| <A HREF="../complexlib/MethodThread.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> |
| <A HREF="ComplexTestCase.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#inner_class_summary">INNER</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <!-- =========== END OF NAVBAR =========== --> |
| |
| <HR> |
| |
| </body> |
| </HTML> |