You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2002/08/31 01:24:12 UTC
cvs commit: jakarta-cactus/sample-servlet/src/sample/share/org/apache/cactus/sample TestSampleServletConfig.java
vmassol 2002/08/30 16:24:12
Modified: sample-servlet/src/sample/share/org/apache/cactus/sample
TestSampleServletConfig.java
Log:
new coding conventions
Revision Changes Path
1.3 +5 -4 jakarta-cactus/sample-servlet/src/sample/share/org/apache/cactus/sample/TestSampleServletConfig.java
Index: TestSampleServletConfig.java
===================================================================
RCS file: /home/cvs/jakarta-cactus/sample-servlet/src/sample/share/org/apache/cactus/sample/TestSampleServletConfig.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestSampleServletConfig.java 10 Apr 2002 00:13:42 -0000 1.2
+++ TestSampleServletConfig.java 30 Aug 2002 23:24:12 -0000 1.3
@@ -90,8 +90,8 @@
*/
public static void main(String[] theArgs)
{
- junit.swingui.TestRunner.main(new String[]{
- TestSampleServletConfig.class.getName()});
+ junit.swingui.TestRunner.main(
+ new String[] { TestSampleServletConfig.class.getName() });
}
/**
@@ -109,6 +109,8 @@
* <code>getServletConfig()</code>, <code>getServletContext()</code>,
* <code>log()</code>, ... (i.e. methods inherited from
* <code>GenericServlet</code>).
+ *
+ * @exception ServletException on test failure
*/
public void testServletConfig() throws ServletException
{
@@ -120,5 +122,4 @@
assertEquals("value1 used for testing", servlet.getConfigData());
}
-
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>