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 Tue May 21 03:45:40 2019 @@ -1,556 +1,631 @@ -<!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> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>BaseUnitTest (Fulcrum Test Container 1.0.8 API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="BaseUnitTest (Fulcrum Test Container 1.0.8 API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<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/BaseUnit5Test.html" title="class in org.apache.fulcrum.testcontainer"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/fulcrum/testcontainer/Container.html" title="interface in org.apache.fulcrum.testcontainer"><span class="typeNameLink">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="https://docs.oracle.com/javase/7/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="simpleTagLabel">Version:</span></dt> +<dd>$Id: BaseUnitTest.java 1844833 2018-10-25 14:32:46Z painter $</dd> +<dt><span class="simpleTagLabel">Author:</span></dt> +<dd><a href="mailto:[email protected]">Eric Pugh</a>, <a href="mailto:[email protected]">Quinton McCombs</a></dd> +<dt><span class="seeLabel">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="memberSummary" 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="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#COMPONENT_APP_ROOT">COMPONENT_APP_ROOT</a></span></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="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#CONTAINER_ECM">CONTAINER_ECM</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#CONTAINER_YAAFI">CONTAINER_YAAFI</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#containerType">containerType</a></span></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><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#defaultLogLevel">defaultLogLevel</a></span></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="memberSummary" 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><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#BaseUnitTest-java.lang.String-">BaseUnitTest</a></span>(<a href="https://docs.oracle.com/javase/7/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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#getConfigurationFileName--">getConfigurationFileName</a></span>()</code> +<div class="block">Gets the configuration file name for the container should use for this test.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#getParameterFileName--">getParameterFileName</a></span>()</code> +<div class="block">Gets the parameter file name for the container should use for this test.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#getRoleFileName--">getRoleFileName</a></span>()</code> +<div class="block">Gets the role file name for the container should use for this test.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#lookup-java.lang.String-">lookup</a></span>(<a href="https://docs.oracle.com/javase/7/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 id="i4" class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#release-java.lang.Object-">release</a></span>(<a href="https://docs.oracle.com/javase/7/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 id="i5" class="rowColor"> +<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#resolve-java.lang.String-">resolve</a></span>(<a href="https://docs.oracle.com/javase/7/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 id="i6" class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#setConfigurationFileName-java.lang.String-">setConfigurationFileName</a></span>(<a href="https://docs.oracle.com/javase/7/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 id="i7" class="rowColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#setLogLevel-int-">setLogLevel</a></span>(int logLevel)</code> +<div class="block">Set the console logger level</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#setRoleFileName-java.lang.String-">setRoleFileName</a></span>(<a href="https://docs.oracle.com/javase/7/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 id="i9" class="rowColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fulcrum/testcontainer/BaseUnitTest.html#tearDown--">tearDown</a></span>()</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="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/ja va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" 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="https://docs.oracle.com/javase/7/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="seeLabel">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="https://docs.oracle.com/javase/7/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="seeLabel">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 final <a href="https://docs.oracle.com/javase/7/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> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fulcrum.testcontainer.BaseUnitTest.COMPONENT_APP_ROOT">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="containerType"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>containerType</h4> +<pre>public static final <a href="https://docs.oracle.com/javase/7/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> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fulcrum.testcontainer.BaseUnitTest.containerType">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="defaultLogLevel"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>defaultLogLevel</h4> +<pre>public static final int <a href="../../../../src-html/org/apache/fulcrum/testcontainer/BaseUnitTest.html#line.50">defaultLogLevel</a></pre> +<div class="block">Use INFO for ConsoleLogger</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fulcrum.testcontainer.BaseUnitTest.defaultLogLevel">Constant Field Values</a></dd> +</dl> +</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.103">BaseUnitTest</a>(<a href="https://docs.oracle.com/javase/7/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="paramLabel">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.72">setConfigurationFileName</a>(<a href="https://docs.oracle.com/javase/7/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="paramLabel">Parameters:</span></dt> +<dd><code>configurationFileName</code> - the location of the config file</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.83">setRoleFileName</a>(<a href="https://docs.oracle.com/javase/7/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="paramLabel">Parameters:</span></dt> +<dd><code>roleFileName</code> - location of the role file</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.94">setLogLevel</a>(int logLevel)</pre> +<div class="block">Set the console logger level</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>logLevel</code> - set valid logging level</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>for debugging levels</code></dd> +</dl> +</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.111">tearDown</a>()</pre> +<div class="block">Clean up after each test is run.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></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="https://docs.oracle.com/javase/7/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.125">getConfigurationFileName</a>()</pre> +<div class="block">Gets the configuration file name for the container should use for this test.</div> +<dl> +<dt><span class="returnLabel">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="https://docs.oracle.com/javase/7/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.135">getRoleFileName</a>()</pre> +<div class="block">Gets the role file name for the container should use for this test.</div> +<dl> +<dt><span class="returnLabel">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="https://docs.oracle.com/javase/7/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.145">getParameterFileName</a>()</pre> +<div class="block">Gets the parameter file name for the container should use for this test.</div> +<dl> +<dt><span class="returnLabel">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="https://docs.oracle.com/javase/7/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.159">lookup</a>(<a href="https://docs.oracle.com/javase/7/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. + This method will also start the container if it + has not been started already</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>roleName</code> - Name of the role the component fills.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>instance of the component</dd> +<dt><span class="throwsLabel">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="https://docs.oracle.com/javase/7/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.181">resolve</a>(<a href="https://docs.oracle.com/javase/7/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="paramLabel">Parameters:</span></dt> +<dd><code>roleName</code> - the role name to resolve</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the component matching the role</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>org.apache.avalon.framework.component.ComponentException</code> - generic exception</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.191">release</a>(<a href="https://docs.oracle.com/javase/7/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="paramLabel">Parameters:</span></dt> +<dd><code>component</code> - component to be released</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> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<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/BaseUnit5Test.html" title="class in org.apache.fulcrum.testcontainer"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/fulcrum/testcontainer/Container.html" title="interface in org.apache.fulcrum.testcontainer"><span class="typeNameLink">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–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> </html> \ No newline at end of file
