Author: mturk Date: Mon Apr 11 10:51:52 2011 New Revision: 1091019 URL: http://svn.apache.org/viewvc?rev=1091019&view=rev Log: Make test method consistent. No need for additional test suffix/prefix
Modified: commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestString.java commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestUtils.java Modified: commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestString.java URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestString.java?rev=1091019&r1=1091018&r2=1091019&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestString.java (original) +++ commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestString.java Mon Apr 11 10:51:52 2011 @@ -29,14 +29,14 @@ public class TestString static private native int test1(String s); @Test(groups = { "private" }) - public void getStrlenTestA() + public void getStrlenA() { String s = new String(gUIF); Assert.assertEquals(6, test0(s)); } @Test(groups = { "private" }) - public void getStrlenTestW() + public void getStrlenW() { String s = new String(gUIF); Assert.assertEquals(5, test1(s)); Modified: commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestUtils.java URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestUtils.java?rev=1091019&r1=1091018&r2=1091019&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestUtils.java (original) +++ commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestUtils.java Mon Apr 11 10:51:52 2011 @@ -26,13 +26,13 @@ public class TestUtils { @Test(groups = { "utils" }) - public void getTempPathTest() + public void getTempPath() { Assert.assertNotNull(Utils.getTempPath()); } @Test(groups = { "utils" }) - public void createTempDirectoryTest() + public void createTempDirectory() throws IOException { File tmp = Utils.createTempDirectory("acrTest");