You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@apache.org on 2003/05/04 19:46:35 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/test AnakiaTestCase.java BaseTestCase.java ClasspathResourceTest.java CommonsExtPropTestCase.java ConfigurationTestCase.java ContextSafetyTestCase.java
geirm 2003/05/04 10:46:35
Modified: src/java/org/apache/velocity/runtime/visitor
NodeViewMode.java VMReferenceMungeVisitor.java
src/java/org/apache/velocity/servlet VelocityServlet.java
src/java/org/apache/velocity/test AnakiaTestCase.java
BaseTestCase.java ClasspathResourceTest.java
CommonsExtPropTestCase.java
ConfigurationTestCase.java
ContextSafetyTestCase.java
Log:
import update
Revision Changes Path
1.6 +1 -2 jakarta-velocity/src/java/org/apache/velocity/runtime/visitor/NodeViewMode.java
Index: NodeViewMode.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/visitor/NodeViewMode.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- NodeViewMode.java 22 Oct 2001 03:53:26 -0000 1.5
+++ NodeViewMode.java 4 May 2003 17:46:34 -0000 1.6
@@ -54,7 +54,6 @@
* <http://www.apache.org/>.
*/
-import org.apache.velocity.*;
import org.apache.velocity.runtime.parser.Token;
import org.apache.velocity.runtime.parser.node.*;
1.2 +1 -2 jakarta-velocity/src/java/org/apache/velocity/runtime/visitor/VMReferenceMungeVisitor.java
Index: VMReferenceMungeVisitor.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/visitor/VMReferenceMungeVisitor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- VMReferenceMungeVisitor.java 19 Jun 2001 03:31:28 -0000 1.1
+++ VMReferenceMungeVisitor.java 4 May 2003 17:46:34 -0000 1.2
@@ -56,7 +56,6 @@
import java.util.Map;
-import org.apache.velocity.runtime.parser.node.SimpleNode;
import org.apache.velocity.runtime.parser.node.ASTReference;
/**
1.49 +1 -5 jakarta-velocity/src/java/org/apache/velocity/servlet/VelocityServlet.java
Index: VelocityServlet.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/servlet/VelocityServlet.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- VelocityServlet.java 6 Sep 2002 00:09:08 -0000 1.48
+++ VelocityServlet.java 4 May 2003 17:46:34 -0000 1.49
@@ -57,12 +57,9 @@
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
-import java.io.Writer;
-import java.io.BufferedWriter;
import java.io.OutputStreamWriter;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
-import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.Properties;
@@ -75,7 +72,6 @@
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import javax.servlet.ServletResponse;
import org.apache.velocity.Template;
import org.apache.velocity.runtime.RuntimeSingleton;
1.6 +1 -10 jakarta-velocity/src/java/org/apache/velocity/test/AnakiaTestCase.java
Index: AnakiaTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/AnakiaTestCase.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- AnakiaTestCase.java 7 Aug 2001 22:20:28 -0000 1.5
+++ AnakiaTestCase.java 4 May 2003 17:46:35 -0000 1.6
@@ -54,15 +54,6 @@
* <http://www.apache.org/>.
*/
-import java.io.File;
-
-import org.apache.velocity.anakia.AnakiaTask;
-
-import org.apache.velocity.VelocityContext;
-import org.apache.velocity.util.StringUtils;
-
-import junit.framework.TestCase;
-
/**
* This is a test case for Anakia. Right now, it simply will compare
* two index.html files together. These are produced as a result of
1.12 +1 -16 jakarta-velocity/src/java/org/apache/velocity/test/BaseTestCase.java
Index: BaseTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/BaseTestCase.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- BaseTestCase.java 7 Aug 2001 22:20:28 -0000 1.11
+++ BaseTestCase.java 4 May 2003 17:46:35 -0000 1.12
@@ -54,24 +54,9 @@
* <http://www.apache.org/>.
*/
-import java.io.BufferedWriter;
import java.io.File;
-import java.io.FileOutputStream;
-import java.io.OutputStreamWriter;
-import java.io.Writer;
-
-import java.util.ArrayList;
-import java.util.Hashtable;
-import java.util.HashMap;
-import java.util.Vector;
-
-import org.apache.velocity.VelocityContext;
-import org.apache.velocity.Template;
import org.apache.velocity.runtime.RuntimeSingleton;
-import org.apache.velocity.test.provider.TestProvider;
import org.apache.velocity.util.StringUtils;
-
-import org.apache.velocity.app.FieldMethodizer;
import junit.framework.TestCase;
import org.apache.oro.text.perl.Perl5Util;
1.9 +1 -9 jakarta-velocity/src/java/org/apache/velocity/test/ClasspathResourceTest.java
Index: ClasspathResourceTest.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/ClasspathResourceTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ClasspathResourceTest.java 22 Oct 2001 03:53:26 -0000 1.8
+++ ClasspathResourceTest.java 4 May 2003 17:46:35 -0000 1.9
@@ -58,19 +58,11 @@
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
-import java.io.File;
-
-import java.util.Properties;
import org.apache.velocity.Template;
import org.apache.velocity.app.Velocity;
import org.apache.velocity.VelocityContext;
-import org.apache.velocity.test.provider.TestProvider;
import org.apache.velocity.runtime.RuntimeSingleton;
-import org.apache.velocity.util.StringUtils;
-import org.apache.velocity.runtime.VelocimacroFactory;
-
-import junit.framework.TestCase;
/**
* Load templates from the Classpath.
1.2 +1 -6 jakarta-velocity/src/java/org/apache/velocity/test/CommonsExtPropTestCase.java
Index: CommonsExtPropTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/CommonsExtPropTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CommonsExtPropTestCase.java 20 May 2001 20:30:37 -0000 1.1
+++ CommonsExtPropTestCase.java 4 May 2003 17:46:35 -0000 1.2
@@ -54,18 +54,13 @@
* <http://www.apache.org/>.
*/
-import java.io.File;
import java.io.FileWriter;
import java.util.Iterator;
import java.util.Vector;
-import org.apache.velocity.VelocityContext;
-import org.apache.velocity.util.StringUtils;
-
import org.apache.commons.collections.ExtendedProperties;
-import junit.framework.TestCase;
/**
* Tests for the Commons ExtendedProperties class. This is an identical
1.5 +1 -6 jakarta-velocity/src/java/org/apache/velocity/test/ConfigurationTestCase.java
Index: ConfigurationTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/ConfigurationTestCase.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ConfigurationTestCase.java 20 May 2001 20:29:48 -0000 1.4
+++ ConfigurationTestCase.java 4 May 2003 17:46:35 -0000 1.5
@@ -54,17 +54,12 @@
* <http://www.apache.org/>.
*/
-import java.io.File;
import java.io.FileWriter;
import java.util.Iterator;
import java.util.Vector;
-import org.apache.velocity.VelocityContext;
import org.apache.velocity.runtime.configuration.Configuration;
-import org.apache.velocity.util.StringUtils;
-
-import junit.framework.TestCase;
/**
* Tests for the Configuration class.
1.10 +1 -5 jakarta-velocity/src/java/org/apache/velocity/test/ContextSafetyTestCase.java
Index: ContextSafetyTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/ContextSafetyTestCase.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ContextSafetyTestCase.java 7 Aug 2001 22:20:28 -0000 1.9
+++ ContextSafetyTestCase.java 4 May 2003 17:46:35 -0000 1.10
@@ -66,10 +66,6 @@
import org.apache.velocity.Template;
import org.apache.velocity.app.Velocity;
import org.apache.velocity.runtime.RuntimeSingleton;
-import org.apache.velocity.test.provider.TestProvider;
-import org.apache.velocity.util.StringUtils;
-
-import junit.framework.TestCase;
/**
* Tests if we are context safe : can we switch objects in the context
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org