Modified: websites/production/turbine/content/fulcrum/fulcrum-testcontainer/apidocs/org/apache/fulcrum/testcontainer/BaseUnitTest.html ============================================================================== --- websites/production/turbine/content/fulcrum/fulcrum-testcontainer/apidocs/org/apache/fulcrum/testcontainer/BaseUnitTest.html (original) +++ websites/production/turbine/content/fulcrum/fulcrum-testcontainer/apidocs/org/apache/fulcrum/testcontainer/BaseUnitTest.html Thu Aug 6 07:56:28 2015 @@ -1,566 +1,556 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!--NewPage--> -<HTML> -<HEAD> -<!-- Generated by javadoc (build 1.5.0_16) on Fri May 29 22:44:09 CEST 2009 --> -<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<TITLE> -BaseUnitTest (Fulcrum Test Container 1.0.7-SNAPSHOT API) -</TITLE> - -<META NAME="keywords" CONTENT="org.apache.fulcrum.testcontainer.BaseUnitTest class"> - -<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> - -<SCRIPT type="text/javascript"> -function windowTitle() -{ - parent.document.title="BaseUnitTest (Fulcrum Test Container 1.0.7-SNAPSHOT API)"; -} -</SCRIPT> -<NOSCRIPT> -</NOSCRIPT> - -</HEAD> - -<BODY BGCOLOR="white" onload="windowTitle();"> - - -<!-- ========= START OF TOP NAVBAR ======= --> -<A NAME="navbar_top"><!-- --></A> -<A HREF="#skip-navbar_top" title="Skip navigation links"></A> -<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> -<TR> -<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> -<A NAME="navbar_top_firstrow"><!-- --></A> -<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> - <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/apache/fulcrum/testcontainer/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/BaseUnitTest.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-all.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> -</EM> -</TD> -</TR> - -<TR> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - PREV CLASS - <A HREF="../../../../org/apache/fulcrum/testcontainer/Container.html" title="interface in org.apache.fulcrum.testcontainer"><B>NEXT CLASS</B></A></FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../index.html?org/apache/fulcrum/testcontainer/BaseUnitTest.html" target="_top"><B>FRAMES</B></A> - <A HREF="BaseUnitTest.html" target="_top"><B>NO FRAMES</B></A> - <SCRIPT type="text/javascript"> - <!-- - if(window==top) { - document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); - } - //--> -</SCRIPT> -<NOSCRIPT> - <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> -</NOSCRIPT> - - -</FONT></TD> -</TR> -<TR> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: NESTED | <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> -<A NAME="skip-navbar_top"></A> -<!-- ========= END OF TOP NAVBAR ========= --> - -<HR> -<!-- ======== START OF CLASS DATA ======== --> -<H2> -<FONT SIZE="-1"> -org.apache.fulcrum.testcontainer</FONT> -<BR> -Class BaseUnitTest</H2> -<PRE> -<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> - <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">junit.framework.Assert - <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">junit.framework.TestCase - <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.fulcrum.testcontainer.BaseUnitTest</B> -</PRE> -<DL> -<DT><B>All Implemented Interfaces:</B> <DD>junit.framework.Test</DD> -</DL> -<HR> -<DL> -<DT><PRE>public class <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.32"><B>BaseUnitTest</B></A><DT>extends junit.framework.TestCase</DL> -</PRE> - -<P> -Base class for unit tests for components. This version doesn't load the container until the - first request for a component. This allows the tester to populate the configurationFileName and - roleFileName, possible one per test. -<P> - -<P> -<DL> -<DT><B>Version:</B></DT> - <DD>$Id: BaseUnitTest.java 535465 2007-05-05 06:58:06Z tv $</DD> -<DT><B>Author:</B></DT> - <DD><a href="mailto:[email protected]">Eric Pugh</a>, <a href="mailto:[email protected]">Quinton McCombs</a></DD> -</DL> -<HR> - -<P> -<!-- =========== FIELD SUMMARY =========== --> - -<A NAME="field_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Field Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#COMPONENT_APP_ROOT">COMPONENT_APP_ROOT</A></B></CODE> - -<BR> - Key used in the context for defining the application root</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#CONTAINER_ECM">CONTAINER_ECM</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#CONTAINER_YAAFI">CONTAINER_YAAFI</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#containerType">containerType</A></B></CODE> - -<BR> - Pick the default container to be Yaafi</TD> -</TR> -</TABLE> - -<!-- ======== CONSTRUCTOR SUMMARY ======== --> - -<A NAME="constructor_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Constructor Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><B><A HREF="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#BaseUnitTest(java.lang.String)">BaseUnitTest</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> testName)</CODE> - -<BR> - Constructor for test.</TD> -</TR> -</TABLE> - -<!-- ========== METHOD SUMMARY =========== --> - -<A NAME="method_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Method Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#getConfigurationFileName()">getConfigurationFileName</A></B>()</CODE> - -<BR> - Gets the configuration file name for the container should use for this test.</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/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#getParameterFileName()">getParameterFileName</A></B>()</CODE> - -<BR> - Gets the parameter file name for the container should use for this test.</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/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#getRoleFileName()">getRoleFileName</A></B>()</CODE> - -<BR> - Gets the role file name for the container should use for this test.</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/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#lookup(java.lang.String)">lookup</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> roleName)</CODE> - -<BR> - Returns an instance of the named component.</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="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#release(java.lang.Object)">release</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> component)</CODE> - -<BR> - Releases the component</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/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#resolve(java.lang.String)">resolve</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> roleName)</CODE> - -<BR> - Helper method for converting to and from Merlin Unit TestCase.</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="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#setConfigurationFileName(java.lang.String)">setConfigurationFileName</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> configurationFileName)</CODE> - -<BR> - Gets the configuration file name for the container should use for this 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="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#setRoleFileName(java.lang.String)">setRoleFileName</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> roleFileName)</CODE> - -<BR> - Override the role file name for the container should use for this 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="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#tearDown()">tearDown</A></B>()</CODE> - -<BR> - Clean up after each test is run.</TD> -</TR> -</TABLE> - <A NAME="methods_inherited_from_class_junit.framework.TestCase"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Methods inherited from class junit.framework.TestCase</B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toString</CODE></TD> -</TR> -</TABLE> - <A NAME="methods_inherited_from_class_junit.framework.Assert"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Methods inherited from class junit.framework.Assert</B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail</CODE></TD> -</TR> -</TABLE> - <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/ docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> -</TR> -</TABLE> - -<P> - -<!-- ============ FIELD DETAIL =========== --> - -<A NAME="field_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Field Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="CONTAINER_ECM"><!-- --></A><H3> -CONTAINER_ECM</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.35"><B>CONTAINER_ECM</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.fulcrum.testcontainer.BaseUnitTest.CONTAINER_ECM">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="CONTAINER_YAAFI"><!-- --></A><H3> -CONTAINER_YAAFI</H3> -<PRE> -public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.36"><B>CONTAINER_YAAFI</B></A></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.fulcrum.testcontainer.BaseUnitTest.CONTAINER_YAAFI">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="COMPONENT_APP_ROOT"><!-- --></A><H3> -COMPONENT_APP_ROOT</H3> -<PRE> -public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.38"><B>COMPONENT_APP_ROOT</B></A></PRE> -<DL> -<DD>Key used in the context for defining the application root -<P> -<DL> -</DL> -</DL> -<HR> - -<A NAME="containerType"><!-- --></A><H3> -containerType</H3> -<PRE> -public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.41"><B>containerType</B></A></PRE> -<DL> -<DD>Pick the default container to be Yaafi -<P> -<DL> -</DL> -</DL> - -<!-- ========= CONSTRUCTOR DETAIL ======== --> - -<A NAME="constructor_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Constructor Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="BaseUnitTest(java.lang.String)"><!-- --></A><H3> -BaseUnitTest</H3> -<PRE> -public <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.78"><B>BaseUnitTest</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> testName)</PRE> -<DL> -<DD>Constructor for test. -<P> -<DL> -<DT><B>Parameters:</B><DD><CODE>testName</CODE> - name of the test being executed</DL> -</DL> - -<!-- ============ METHOD DETAIL ========== --> - -<A NAME="method_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Method Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="setConfigurationFileName(java.lang.String)"><!-- --></A><H3> -setConfigurationFileName</H3> -<PRE> -protected void <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.57"><B>setConfigurationFileName</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> configurationFileName)</PRE> -<DL> -<DD>Gets the configuration file name for the container should use for this test. By default it - is src/test/TestComponentConfig. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>configurationFileName</CODE> - </DL> -</DD> -</DL> -<HR> - -<A NAME="setRoleFileName(java.lang.String)"><!-- --></A><H3> -setRoleFileName</H3> -<PRE> -protected void <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.68"><B>setRoleFileName</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> roleFileName)</PRE> -<DL> -<DD>Override the role file name for the container should use for this test. By default it is - src/test/TestRoleConfig. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>roleFileName</CODE> - </DL> -</DD> -</DL> -<HR> - -<A NAME="tearDown()"><!-- --></A><H3> -tearDown</H3> -<PRE> -protected void <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.86"><B>tearDown</B></A>()</PRE> -<DL> -<DD>Clean up after each test is run. -<P> -<DD><DL> -<DT><B>Overrides:</B><DD><CODE>tearDown</CODE> in class <CODE>junit.framework.TestCase</CODE></DL> -</DD> -<DD><DL> -</DL> -</DD> -</DL> -<HR> - -<A NAME="getConfigurationFileName()"><!-- --></A><H3> -getConfigurationFileName</H3> -<PRE> -protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.99"><B>getConfigurationFileName</B></A>()</PRE> -<DL> -<DD>Gets the configuration file name for the container should use for this test. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD>The filename of the configuration file</DL> -</DD> -</DL> -<HR> - -<A NAME="getRoleFileName()"><!-- --></A><H3> -getRoleFileName</H3> -<PRE> -protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.108"><B>getRoleFileName</B></A>()</PRE> -<DL> -<DD>Gets the role file name for the container should use for this test. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD>The filename of the role configuration file</DL> -</DD> -</DL> -<HR> - -<A NAME="getParameterFileName()"><!-- --></A><H3> -getParameterFileName</H3> -<PRE> -protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.117"><B>getParameterFileName</B></A>()</PRE> -<DL> -<DD>Gets the parameter file name for the container should use for this test. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD>The filename of the role configuration file</DL> -</DD> -</DL> -<HR> - -<A NAME="lookup(java.lang.String)"><!-- --></A><H3> -lookup</H3> -<PRE> -protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.127"><B>lookup</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> roleName) - throws org.apache.avalon.framework.component.ComponentException</PRE> -<DL> -<DD>Returns an instance of the named component. Starts the container if it hasn't been started. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>roleName</CODE> - Name of the role the component fills. -<DT><B>Throws:</B> -<DD><CODE>org.apache.avalon.framework.component.ComponentException</CODE> - generic exception</DL> -</DD> -</DL> -<HR> - -<A NAME="resolve(java.lang.String)"><!-- --></A><H3> -resolve</H3> -<PRE> -protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.148"><B>resolve</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> roleName) - throws org.apache.avalon.framework.component.ComponentException</PRE> -<DL> -<DD>Helper method for converting to and from Merlin Unit TestCase. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>roleName</CODE> - -<DT><B>Returns:</B><DD> -<DT><B>Throws:</B> -<DD><CODE>org.apache.avalon.framework.component.ComponentException</CODE></DL> -</DD> -</DL> -<HR> - -<A NAME="release(java.lang.Object)"><!-- --></A><H3> -release</H3> -<PRE> -protected void <A HREF="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.157"><B>release</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> component)</PRE> -<DL> -<DD>Releases the component -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>component</CODE> - </DL> -</DD> -</DL> -<!-- ========= END OF CLASS DATA ========= --> -<HR> - - -<!-- ======= START OF BOTTOM NAVBAR ====== --> -<A NAME="navbar_bottom"><!-- --></A> -<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> -<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> -<TR> -<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> -<A NAME="navbar_bottom_firstrow"><!-- --></A> -<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> - <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/apache/fulcrum/testcontainer/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/BaseUnitTest.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-all.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> -</EM> -</TD> -</TR> - -<TR> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - PREV CLASS - <A HREF="../../../../org/apache/fulcrum/testcontainer/Container.html" title="interface in org.apache.fulcrum.testcontainer"><B>NEXT CLASS</B></A></FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../index.html?org/apache/fulcrum/testcontainer/BaseUnitTest.html" target="_top"><B>FRAMES</B></A> - <A HREF="BaseUnitTest.html" target="_top"><B>NO FRAMES</B></A> - <SCRIPT type="text/javascript"> - <!-- - if(window==top) { - document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); - } - //--> -</SCRIPT> -<NOSCRIPT> - <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> -</NOSCRIPT> - - -</FONT></TD> -</TR> -<TR> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: NESTED | <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> -<A NAME="skip-navbar_bottom"></A> -<!-- ======== END OF BOTTOM NAVBAR ======= --> - -<HR> -Copyright © 2004-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. -</BODY> -</HTML> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>BaseUnitTest (Fulcrum Test Container 1.0.8-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="BaseUnitTest (Fulcrum Test Container 1.0.8-SNAPSHOT API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../org/apache/fulcrum/testcontainer/package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/BaseUnitTest.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnit4Test.html" title="class in org.apache.fulcrum.testcontainer"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/fulcrum/testcontainer/Container.html" title="interface in org.apache.fulcrum.testcontainer"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/fulcrum/testcontainer/BaseUnitTest.html" target="_top">Frames</a></li> +<li><a href="BaseUnitTest.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.fulcrum.testcontainer</div> +<h2 title="Class BaseUnitTest" class="title">Class BaseUnitTest</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>junit.framework.Assert</li> +<li> +<ul class="inheritance"> +<li>junit.framework.TestCase</li> +<li> +<ul class="inheritance"> +<li>org.apache.fulcrum.testcontainer.BaseUnitTest</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>junit.framework.Test</dd> +</dl> +<hr> +<br> +<pre>public class <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.38">BaseUnitTest</a> +extends junit.framework.TestCase</pre> +<div class="block">Base class for unit tests for components. This version doesn't load the container until the + first request for a component. This allows the tester to populate the configurationFileName and + roleFileName, possible one per test. + + This class uses JUnit 3.</div> +<dl><dt><span class="strong">Version:</span></dt> + <dd>$Id: BaseUnitTest.java 1694409 2015-08-06 06:34:03Z gk $</dd> +<dt><span class="strong">Author:</span></dt> + <dd><a href="mailto:[email protected]">Eric Pugh</a>, <a href="mailto:[email protected]">Quinton McCombs</a></dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnit4Test.html" title="class in org.apache.fulcrum.testcontainer"><code>BaseUnit4Test</code></a></dd></dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#COMPONENT_APP_ROOT">COMPONENT_APP_ROOT</a></strong></code> +<div class="block">Key used in the context for defining the application root</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#CONTAINER_ECM">CONTAINER_ECM</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#CONTAINER_YAAFI">CONTAINER_YAAFI</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#containerType">containerType</a></strong></code> +<div class="block">Pick the default container to be Yaafi</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#defaultLogLevel">defaultLogLevel</a></strong></code> +<div class="block">Use INFO for ConsoleLogger</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#BaseUnitTest(java.lang.String)">BaseUnitTest</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> testName)</code> +<div class="block">Constructor for test.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#getConfigurationFileName()">getConfigurationFileName</a></strong>()</code> +<div class="block">Gets the configuration file name for the container should use for this test.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#getParameterFileName()">getParameterFileName</a></strong>()</code> +<div class="block">Gets the parameter file name for the container should use for this test.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#getRoleFileName()">getRoleFileName</a></strong>()</code> +<div class="block">Gets the role file name for the container should use for this test.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#lookup(java.lang.String)">lookup</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> roleName)</code> +<div class="block">Returns an instance of the named component.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#release(java.lang.Object)">release</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> component)</code> +<div class="block">Releases the component</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#resolve(java.lang.String)">resolve</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> roleName)</code> +<div class="block">Helper method for converting to and from Merlin Unit TestCase.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#setConfigurationFileName(java.lang.String)">setConfigurationFileName</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> configurationFileName)</code> +<div class="block">Gets the configuration file name for the container should use for this test.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#setLogLevel(int)">setLogLevel</a></strong>(int logLevel)</code> +<div class="block">Set the console logger level,</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#setRoleFileName(java.lang.String)">setRoleFileName</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> roleFileName)</code> +<div class="block">Override the role file name for the container should use for this test.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#tearDown()">tearDown</a></strong>()</code> +<div class="block">Clean up after each test is run.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_junit.framework.TestCase"> +<!-- --> +</a> +<h3>Methods inherited from class junit.framework.TestCase</h3> +<code>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, toString</code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="CONTAINER_ECM"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>CONTAINER_ECM</h4> +<pre>public static final <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.40">CONTAINER_ECM</a></pre> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.fulcrum.testcontainer.BaseUnitTest.CONTAINER_ECM">Constant Field Values</a></dd></dl> +</li> +</ul> +<a name="CONTAINER_YAAFI"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>CONTAINER_YAAFI</h4> +<pre>public static final <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.41">CONTAINER_YAAFI</a></pre> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.fulcrum.testcontainer.BaseUnitTest.CONTAINER_YAAFI">Constant Field Values</a></dd></dl> +</li> +</ul> +<a name="COMPONENT_APP_ROOT"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>COMPONENT_APP_ROOT</h4> +<pre>public static <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.44">COMPONENT_APP_ROOT</a></pre> +<div class="block">Key used in the context for defining the application root</div> +</li> +</ul> +<a name="containerType"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>containerType</h4> +<pre>public static <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.47">containerType</a></pre> +<div class="block">Pick the default container to be Yaafi</div> +</li> +</ul> +<a name="defaultLogLevel"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>defaultLogLevel</h4> +<pre>public static int <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.50">defaultLogLevel</a></pre> +<div class="block">Use INFO for ConsoleLogger</div> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="BaseUnitTest(java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>BaseUnitTest</h4> +<pre>public <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.97">BaseUnitTest</a>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> testName)</pre> +<div class="block">Constructor for test.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>testName</code> - name of the test being executed</dd></dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setConfigurationFileName(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setConfigurationFileName</h4> +<pre>protected void <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.69">setConfigurationFileName</a>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> configurationFileName)</pre> +<div class="block">Gets the configuration file name for the container should use for this test. By default it + is src/test/TestComponentConfig.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>configurationFileName</code> - </dd></dl> +</li> +</ul> +<a name="setRoleFileName(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setRoleFileName</h4> +<pre>protected void <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.80">setRoleFileName</a>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> roleFileName)</pre> +<div class="block">Override the role file name for the container should use for this test. By default it is + src/test/TestRoleConfig.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>roleFileName</code> - </dd></dl> +</li> +</ul> +<a name="setLogLevel(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogLevel</h4> +<pre>protected void <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.88">setLogLevel</a>(int logLevel)</pre> +<div class="block">Set the console logger level,</div> +</li> +</ul> +<a name="tearDown()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tearDown</h4> +<pre>protected void <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.105">tearDown</a>()</pre> +<div class="block">Clean up after each test is run.</div> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code>tearDown</code> in class <code>junit.framework.TestCase</code></dd> +</dl> +</li> +</ul> +<a name="getConfigurationFileName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getConfigurationFileName</h4> +<pre>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.118">getConfigurationFileName</a>()</pre> +<div class="block">Gets the configuration file name for the container should use for this test.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The filename of the configuration file</dd></dl> +</li> +</ul> +<a name="getRoleFileName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRoleFileName</h4> +<pre>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.127">getRoleFileName</a>()</pre> +<div class="block">Gets the role file name for the container should use for this test.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The filename of the role configuration file</dd></dl> +</li> +</ul> +<a name="getParameterFileName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getParameterFileName</h4> +<pre>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.136">getParameterFileName</a>()</pre> +<div class="block">Gets the parameter file name for the container should use for this test.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The filename of the role configuration file</dd></dl> +</li> +</ul> +<a name="lookup(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lookup</h4> +<pre>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.146">lookup</a>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> roleName) + throws org.apache.avalon.framework.component.ComponentException</pre> +<div class="block">Returns an instance of the named component. Starts the container if it hasn't been started.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>roleName</code> - Name of the role the component fills.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>org.apache.avalon.framework.component.ComponentException</code> - generic exception</dd></dl> +</li> +</ul> +<a name="resolve(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>resolve</h4> +<pre>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.167">resolve</a>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> roleName) + throws org.apache.avalon.framework.component.ComponentException</pre> +<div class="block">Helper method for converting to and from Merlin Unit TestCase.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>roleName</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>org.apache.avalon.framework.component.ComponentException</code></dd></dl> +</li> +</ul> +<a name="release(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>release</h4> +<pre>protected void <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.176">release</a>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> component)</pre> +<div class="block">Releases the component</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>component</code> - </dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../org/apache/fulcrum/testcontainer/package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/BaseUnitTest.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnit4Test.html" title="class in org.apache.fulcrum.testcontainer"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/fulcrum/testcontainer/Container.html" title="interface in org.apache.fulcrum.testcontainer"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/fulcrum/testcontainer/BaseUnitTest.html" target="_top">Frames</a></li> +<li><a href="BaseUnitTest.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2004-2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> +</body> +</html> \ No newline at end of file
