commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1637841 - /commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/HexTest.java
Date Mon, 10 Nov 2014 13:37:39 GMT
Author: ggregory
Date: Mon Nov 10 13:37:38 2014
New Revision: 1637841

URL: http://svn.apache.org/r1637841
Log:
Better test method names.

Modified:
    commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/HexTest.java

Modified: commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/HexTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/HexTest.java?rev=1637841&r1=1637840&r2=1637841&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/HexTest.java
(original)
+++ commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/HexTest.java
Mon Nov 10 13:37:38 2014
@@ -97,7 +97,7 @@ public class HexTest {
     /**
      * @param data
      */
-    private void checkDecodeHexOddCharacters(final char[] data) {
+    private void checkDecodeHexCharArrayOddCharacters(final char[] data) {
         try {
             Hex.decodeHex(data);
             fail("An exception wasn't thrown when trying to decode an odd number of characters");
@@ -218,18 +218,18 @@ public class HexTest {
     }
 
     @Test
-    public void testDecodeHexOddCharacters1() {
-        checkDecodeHexOddCharacters(new char[]{'A'});
+    public void testDecodeHexCharArrayOddCharacters1() {
+        checkDecodeHexCharArrayOddCharacters(new char[]{'A'});
     }
 
     @Test
-    public void testDecodeHexOddCharacters3() {
-        checkDecodeHexOddCharacters(new char[]{'A', 'B', 'C'});
+    public void testDecodeHexCharArrayOddCharacters3() {
+        checkDecodeHexCharArrayOddCharacters(new char[]{'A', 'B', 'C'});
     }
 
     @Test
-    public void testDecodeHexOddCharacters5() {
-        checkDecodeHexOddCharacters(new char[]{'A', 'B', 'C', 'D', 'E'});
+    public void testDecodeHexCharArrayOddCharacters5() {
+        checkDecodeHexCharArrayOddCharacters(new char[]{'A', 'B', 'C', 'D', 'E'});
     }
 
     @Test



Mime
View raw message