vmassol 2003/12/06 02:50:13
Modified: framework/src/java/share/org/apache/cactus
AbstractCactusTestCase.java
Log:
more javadoc
Revision Changes Path
1.3 +10 -8
jakarta-cactus/framework/src/java/share/org/apache/cactus/AbstractCactusTestCase.java
Index: AbstractCactusTestCase.java
===================================================================
RCS file:
/home/cvs/jakarta-cactus/framework/src/java/share/org/apache/cactus/AbstractCactusTestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AbstractCactusTestCase.java 6 Dec 2003 10:41:30 -0000 1.2
+++ AbstractCactusTestCase.java 6 Dec 2003 10:50:13 -0000 1.3
@@ -204,13 +204,10 @@
}
/**
- * Runs the bare test (either on the client side or on the server side).
- * This method is overridden from the JUnit
- * [EMAIL PROTECTED] TestCase} class in order to prevent the latter to
immediatly
- * call the <code>setUp()</code> and <code>tearDown()</code> methods
- * which, in our case, need to be executed on the server side.
+ * JUnit method that is used to run the tests. However, we're intercepting
+ * it so that we can call the server side of Cactus where the tests will
+ * be run (instead of on the client side).
*
- * @todo change the comment
* @exception Throwable if any exception is thrown during the test. Any
* exception will be displayed by the JUnit Test Runner
*/
@@ -218,7 +215,12 @@
{
runBareClient();
}
-
+
+ /**
+ * Introduced for symmetry with [EMAIL PROTECTED] #runBareServer()}.
+ *
+ * @see #runBare()
+ */
private void runBareClient() throws Throwable
{
getClientDelegate().runBareInit();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]