jvanzyl 00/10/22 09:00:02
Modified: src/java/org/apache/velocity/test Test.java
VelocityTest.java
Log:
- start adding comprehensive test suite, move all tests into
the org.apache.velocity.test package and get them out of the
base of the distribution.
Revision Changes Path
1.4 +3 -2 jakarta-velocity/src/java/org/apache/velocity/test/Test.java
Index: Test.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/Test.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Test.java 2000/10/22 01:27:36 1.3
+++ Test.java 2000/10/22 16:00:02 1.4
@@ -67,12 +67,14 @@
import org.apache.velocity.runtime.Runtime;
+import org.apache.velocity.test.provider.TestProvider;
+
/**
* This class the testbed for Velocity. It is used to
* test all the directives support by Velocity.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: Test.java,v 1.3 2000/10/22 01:27:36 jvanzyl Exp $
+ * @version $Id: Test.java,v 1.4 2000/10/22 16:00:02 jvanzyl Exp $
*/
public class Test
{
@@ -94,7 +96,6 @@
context.put("provider", provider);
context.put("name", "jason");
context.put("providers", provider.getCustomers2());
- context.put("provider2", new TestProvider2());
context.put("list", al);
context.put("hashtable", h);
context.put("search", provider.getSearch());
1.3 +3 -2
jakarta-velocity/src/java/org/apache/velocity/test/VelocityTest.java
Index: VelocityTest.java
===================================================================
RCS file:
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/VelocityTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- VelocityTest.java 2000/10/15 03:21:41 1.2
+++ VelocityTest.java 2000/10/22 16:00:02 1.3
@@ -63,11 +63,13 @@
import org.apache.velocity.Template;
import org.apache.velocity.runtime.Runtime;
+import org.apache.velocity.test.provider.TestProvider;
+
/**
* Automated test case for Apache Velocity.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel Rall</a>
- * @version $Id: VelocityTest.java,v 1.2 2000/10/15 03:21:41 dlr Exp $
+ * @version $Id: VelocityTest.java,v 1.3 2000/10/22 16:00:02 jvanzyl Exp $
*/
public class VelocityTest extends BaseTestCase
{
@@ -121,7 +123,6 @@
context.put("provider", provider);
context.put("name", "jason");
context.put("providers", provider.getCustomers2());
- context.put("provider2", new TestProvider2());
context.put("list", al);
context.put("hashtable", h);
context.put("search", provider.getSearch());