tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r1006340 - /tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/ParserTest.java
Date Sun, 10 Oct 2010 19:07:44 GMT
Author: jboynes
Date: Sun Oct 10 19:07:44 2010
New Revision: 1006340

URL: http://svn.apache.org/viewvc?rev=1006340&view=rev
Log:
fix method renamed for debugging

Modified:
    tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/ParserTest.java

Modified: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/ParserTest.java
URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/ParserTest.java?rev=1006340&r1=1006339&r2=1006340&view=diff
==============================================================================
--- tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/ParserTest.java
(original)
+++ tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/ParserTest.java
Sun Oct 10 19:07:44 2010
@@ -59,7 +59,7 @@ public class ParserTest extends TestCase
             CharArrayWriter writer = new CharArrayWriter();
             PrintWriter out = new PrintWriter(writer);
 
-            x(in, out);
+            runTests(in, out);
             out.close();
             in.close();
 
@@ -78,7 +78,7 @@ public class ParserTest extends TestCase
      * Runs the tests, reading expressions from pIn and writing the
      * results to pOut.
      */
-    public static void x(BufferedReader pIn, PrintWriter pOut)
+    public static void runTests(BufferedReader pIn, PrintWriter pOut)
             throws IOException {
         while (true) {
             String str = pIn.readLine();
@@ -87,12 +87,6 @@ public class ParserTest extends TestCase
                     "".equals(str.trim())) {
                 pOut.println(str);
             } else {
-                // For testing non-ASCII values, the string @@non-ascii gets
-                // converted internally to '\u1111'
-                if ("@@non-ascii".equals(str)) {
-                    str = "\u1111";
-                }
-
                 pOut.println("Attribute value: " + str);
                 try {
                     String result = Evaluator.parseAndRender(str);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message