Author: jboynes Date: Sun Oct 10 01:00:38 2010 New Revision: 1006240 URL: http://svn.apache.org/viewvc?rev=1006240&view=rev Log: Rename tests to match default **/*Test.java pattern
Added: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/VersionTest.java (contents, props changed) - copied, changed from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/TestVersion.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/FunctionsTest.java (contents, props changed) - copied, changed from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/TestFunctions.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTest.java (contents, props changed) - copied, changed from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTests.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/resources/ResourcesTest.java - copied, changed from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/resources/TestResources.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/SetSupportTest.java (contents, props changed) - copied, changed from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/TestSetSupport.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/xml/TransformSupportTest.java - copied, changed from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/xml/TestTransformSupport.java Removed: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/TestVersion.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/TestFunctions.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTests.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/resources/TestResources.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/TestSetSupport.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/xml/TestTransformSupport.java tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/el/ tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/testutil/ Modified: tomcat/taglibs/standard/trunk/impl/pom.xml Modified: tomcat/taglibs/standard/trunk/impl/pom.xml URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/pom.xml?rev=1006240&r1=1006239&r2=1006240&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/pom.xml (original) +++ tomcat/taglibs/standard/trunk/impl/pom.xml Sun Oct 10 01:00:38 2010 @@ -131,13 +131,6 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> - <includes> - <include>org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTests.java</include> - <include>org/apache/taglibs/standard/TestVersion.java</include> - <include>org/apache/taglibs/standard/resources/TestResources.java</include> - <include>org/apache/taglibs/standard/tag/common/core/TestSetSupport.java</include> - <include>org/apache/taglibs/standard/tag/common/xml/TestTransformSupport.java</include> - </includes> <excludes> <!-- Old tests --> <!-- Started failing for JSTL 1.2 --> Copied: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/VersionTest.java (from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/TestVersion.java) URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/VersionTest.java?p2=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/VersionTest.java&p1=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/TestVersion.java&r1=1006238&r2=1006240&rev=1006240&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/TestVersion.java (original) +++ tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/VersionTest.java Sun Oct 10 01:00:38 2010 @@ -19,11 +19,11 @@ package org.apache.taglibs.standard; import junit.framework.*; -public class TestVersion +public class VersionTest extends TestCase { private Version version = null; - public TestVersion(String name) { + public VersionTest(String name) { super(name); } Propchange: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/VersionTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/VersionTest.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/FunctionsTest.java (from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/TestFunctions.java) URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/FunctionsTest.java?p2=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/FunctionsTest.java&p1=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/TestFunctions.java&r1=1006238&r2=1006240&rev=1006240&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/TestFunctions.java (original) +++ tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/FunctionsTest.java Sun Oct 10 01:00:38 2010 @@ -27,7 +27,7 @@ import java.util.Collections; import static org.apache.taglibs.standard.functions.Functions.*; /** */ -public class TestFunctions { +public class FunctionsTest { @Test public void testEndsWith() { Propchange: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/functions/FunctionsTest.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTest.java (from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTests.java) URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTest.java?p2=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTest.java&p1=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTests.java&r1=1006238&r2=1006240&rev=1006240&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTests.java (original) +++ tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTest.java Sun Oct 10 01:00:38 2010 @@ -28,7 +28,7 @@ import junit.framework.TestCase; * * @author Shawn Bayern */ -public class StaticFunctionTests extends TestCase { +public class StaticFunctionTest extends TestCase { public void testFunctions() throws Exception { @@ -86,7 +86,7 @@ public class StaticFunctionTests extends public static Map getSampleMethodMap() throws Exception { Map m = new HashMap(); - Class c = StaticFunctionTests.class; + Class c = StaticFunctionTest.class; m.put("foo:add", c.getMethod("add", new Class[] { Integer.TYPE, Integer.TYPE })); m.put("foo:multiply", c.getMethod("multiply", new Class[] { Integer.TYPE, Integer.TYPE })); m.put("foo:getInt", c.getMethod("getInt", new Class[] { Integer.class })); Propchange: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/lang/jstl/test/StaticFunctionTest.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/resources/ResourcesTest.java (from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/resources/TestResources.java) URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/resources/ResourcesTest.java?p2=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/resources/ResourcesTest.java&p1=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/resources/TestResources.java&r1=1006238&r2=1006240&rev=1006240&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/resources/TestResources.java (original) +++ tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/resources/ResourcesTest.java Sun Oct 10 01:00:38 2010 @@ -20,7 +20,7 @@ import org.junit.Test; import static junit.framework.Assert.assertEquals; -public class TestResources { +public class ResourcesTest { @Test public void testMessageNoArguments() { Copied: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/SetSupportTest.java (from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/TestSetSupport.java) URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/SetSupportTest.java?p2=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/SetSupportTest.java&p1=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/TestSetSupport.java&r1=1006238&r2=1006240&rev=1006240&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/TestSetSupport.java (original) +++ tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/SetSupportTest.java Sun Oct 10 01:00:38 2010 @@ -40,7 +40,7 @@ import static org.easymock.EasyMock.expe import static org.easymock.EasyMock.replay; import static org.easymock.EasyMock.verify; -public class TestSetSupport { +public class SetSupportTest { private static String PROPERTY = "property"; private static String VALUE = "Hello"; private static final String VAR = "x"; Propchange: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/core/SetSupportTest.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/xml/TransformSupportTest.java (from r1006238, tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/xml/TestTransformSupport.java) URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/xml/TransformSupportTest.java?p2=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/xml/TransformSupportTest.java&p1=tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/xml/TestTransformSupport.java&r1=1006238&r2=1006240&rev=1006240&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/xml/TestTransformSupport.java (original) +++ tomcat/taglibs/standard/trunk/impl/src/test/java/org/apache/taglibs/standard/tag/common/xml/TransformSupportTest.java Sun Oct 10 01:00:38 2010 @@ -25,7 +25,7 @@ import static org.junit.Assert.fail; /** */ -public class TestTransformSupport { +public class TransformSupportTest { private TransformSupport tag; @Before --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org