dlr 02/01/10 19:38:53
Modified: src/test/org/apache/turbine/pipeline PipelineTest.java
Log:
o Removed unused constants.
Revision Changes Path
1.2 +5 -14
jakarta-turbine-3/src/test/org/apache/turbine/pipeline/PipelineTest.java
Index: PipelineTest.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-3/src/test/org/apache/turbine/pipeline/PipelineTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -u -r1.1 -r1.2
--- PipelineTest.java 3 Jan 2002 04:49:51 -0000 1.1
+++ PipelineTest.java 11 Jan 2002 03:38:53 -0000 1.2
@@ -72,25 +72,12 @@
* Tests TurbinePipeline.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel Rall</a>
- * @version $Id: PipelineTest.java,v 1.1 2002/01/03 04:49:51 dlr Exp $
+ * @version $Id: PipelineTest.java,v 1.2 2002/01/11 03:38:53 dlr Exp $
*/
public class PipelineTest
extends TestCase
{
/**
- * Test document which starts the whole mapping process.
- */
- private static String TEST_DOCUMENT =
- "src/java/org/apache/turbine/pipeline/turbine-classic-pipeline.xml";
-
- /**
- * Test class which is populated with the contents and
- * specifications in the test document.
- */
- private static String TEST_CLASS =
- "org.apache.turbine.pipeline.TurbinePipeline";
-
- /**
* Constructor
*/
public PipelineTest(String testName)
@@ -146,6 +133,10 @@
pipeline.invoke(new DefaultTurbineRunData());
assertEquals("foobar", writer.toString());
+
+ java.io.InputStream in = null;
+ in = getClass().getClassLoader().getResourceAsStream
+ ("org/apache/turbine/pipeline/turbine-classic-pipeline.xml");
}
catch (Exception e)
{
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>