Author: markt
Date: Thu Oct 21 16:09:50 2010
New Revision: 1026049
URL: http://svn.apache.org/viewvc?rev=1026049&view=rev
Log:
Allow Checkstyle's unused imports test to be used with the unit testcode
Modified:
tomcat/trunk/test/org/apache/el/TestELEvaluation.java
tomcat/trunk/test/org/apache/el/TestELInJsp.java
tomcat/trunk/test/org/apache/jasper/compiler/TestAttributeParser.java
Modified: tomcat/trunk/test/org/apache/el/TestELEvaluation.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/el/TestELEvaluation.java?rev=1026049&r1=1026048&r2=1026049&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/el/TestELEvaluation.java (original)
+++ tomcat/trunk/test/org/apache/el/TestELEvaluation.java Thu Oct 21 16:09:50
2010
@@ -28,12 +28,12 @@ import javax.el.ValueExpression;
import junit.framework.TestCase;
import org.apache.el.lang.ELSupport;
-import org.apache.jasper.compiler.TestAttributeParser;
import org.apache.jasper.el.ELContextImpl;
/**
* Tests the EL engine directly. Similar tests may be found in
- * {...@link TestAttributeParser} and {...@link TestELInJsp}.
+ * {...@link org.apache.jasper.compiler.TestAttributeParser} and
+ * {...@link TestELInJsp}.
*/
public class TestELEvaluation extends TestCase {
Modified: tomcat/trunk/test/org/apache/el/TestELInJsp.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/el/TestELInJsp.java?rev=1026049&r1=1026048&r2=1026049&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/el/TestELInJsp.java (original)
+++ tomcat/trunk/test/org/apache/el/TestELInJsp.java Thu Oct 21 16:09:50 2010
@@ -21,12 +21,12 @@ import java.io.File;
import org.apache.catalina.startup.Tomcat;
import org.apache.catalina.startup.TomcatBaseTest;
-import org.apache.jasper.compiler.TestAttributeParser;
import org.apache.tomcat.util.buf.ByteChunk;
/**
* Tests EL with an without JSP attributes using a test web application.
Similar
- * tests may be found in {...@link TestELEvaluation} and {...@link
TestAttributeParser}.
+ * tests may be found in {...@link TestELEvaluation} and
+ * {...@link org.apache.jasper.compiler.TestAttributeParser}.
*/
public class TestELInJsp extends TomcatBaseTest {
Modified: tomcat/trunk/test/org/apache/jasper/compiler/TestAttributeParser.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/jasper/compiler/TestAttributeParser.java?rev=1026049&r1=1026048&r2=1026049&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/jasper/compiler/TestAttributeParser.java
(original)
+++ tomcat/trunk/test/org/apache/jasper/compiler/TestAttributeParser.java Thu
Oct 21 16:09:50 2010
@@ -25,14 +25,12 @@ import javax.el.ValueExpression;
import junit.framework.TestCase;
import org.apache.el.ExpressionFactoryImpl;
-import org.apache.el.TestELEvaluation;
-import org.apache.el.TestELInJsp;
import org.apache.el.TesterFunctions;
import org.apache.jasper.el.ELContextImpl;
/**
* Test the EL processing from JSP attributes. Similar tests may be found in
- * {...@link TestELEvaluation} and {...@link TestELInJsp}.
+ * {...@link org.apache.el.TestELEvaluation} and {...@link
org.apache.el.TestELInJsp}.
*/
public class TestAttributeParser extends TestCase {
@@ -62,8 +60,8 @@ public class TestAttributeParser extends
/**
* Test use nested ternary expressions. Full tests in
- * {...@link TestELEvaluation}. This is just a smoke test to ensure JSP
- * attribute processing doesn't cause any additional issues.
+ * {...@link org.apache.el.TestELEvaluation}. This is just a smoke test to
+ * ensure JSP attribute processing doesn't cause any additional issues.
*/
public void testBug44994() {
assertEquals("none",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]