You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2004/06/29 12:43:21 UTC
cvs commit: jakarta-turbine-fulcrum/pool/impl/src/test/org/apache/fulcrum/pool PoolServiceTest.java
epugh 2004/06/29 03:43:21
Modified: pool/impl/src/test/org/apache/fulcrum/pool
PoolServiceTest.java
Log:
clean up unit test
Revision Changes Path
1.3 +3 -48 jakarta-turbine-fulcrum/pool/impl/src/test/org/apache/fulcrum/pool/PoolServiceTest.java
Index: PoolServiceTest.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/pool/impl/src/test/org/apache/fulcrum/pool/PoolServiceTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PoolServiceTest.java 14 Feb 2004 14:26:12 -0000 1.2
+++ PoolServiceTest.java 29 Jun 2004 10:43:21 -0000 1.3
@@ -27,7 +27,7 @@
super(name);
}
- public void setUp() throws Exception
+ public void setUp()
{
super.setUp();
try
@@ -39,45 +39,7 @@
fail(e.getMessage());
}
}
-
- /*
- * Class to test for Object getInstance(String)
- * @todo Some sort of compile error prevents this..
- */
- public void testGetInstanceString() throws PoolException
- {
- //Object object = poolService.getInstance("java.lang.StringBuffer");
- //assertTrue(object instanceof StringBuffer);
-
- }
- /*
- * Class to test for Object getInstance(String, ClassLoader)
- */
- public void testGetInstanceStringClassLoader()
- {
-
- }
- /*
- * Class to test for Object getInstance(String, Object[], String[])
- */
- public void testGetInstanceStringObjectArrayStringArray()
- {
-
- }
-
- /*
- * Class to test for Object getInstance(String, ClassLoader, Object[], String[])
- */
- public void testGetInstanceStringClassLoaderObjectArrayStringArray()
- {
-
- }
-
- public void testIsLoaderSupported()
- {
-
- }
-
+
/*
* Class to test for Object getInstance(Class)
*/
@@ -86,14 +48,7 @@
Object object = poolService.getInstance(StringBuffer.class);
assertTrue(object instanceof StringBuffer);
- }
- /*
- * Class to test for Object getInstance(Class, Object[], String[])
- */
- public void testGetInstanceClassObjectArrayStringArray()
- {
-
- }
+ }
public void testPutInstance()
{
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org