Skip to content

Commit c8ebfac

Browse files
committed
Better test method names.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1637841 13f79535-47bb-0310-9956-ffa450edef68
1 parent fbda264 commit c8ebfac

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/test/java/org/apache/commons/codec/binary/HexTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private boolean charsetSanityCheck(final String name) {
9797
/**
9898
* @param data
9999
*/
100-
private void checkDecodeHexOddCharacters(final char[] data) {
100+
private void checkDecodeHexCharArrayOddCharacters(final char[] data) {
101101
try {
102102
Hex.decodeHex(data);
103103
fail("An exception wasn't thrown when trying to decode an odd number of characters");
@@ -218,18 +218,18 @@ public void testDecodeClassCastException() {
218218
}
219219

220220
@Test
221-
public void testDecodeHexOddCharacters1() {
222-
checkDecodeHexOddCharacters(new char[]{'A'});
221+
public void testDecodeHexCharArrayOddCharacters1() {
222+
checkDecodeHexCharArrayOddCharacters(new char[]{'A'});
223223
}
224224

225225
@Test
226-
public void testDecodeHexOddCharacters3() {
227-
checkDecodeHexOddCharacters(new char[]{'A', 'B', 'C'});
226+
public void testDecodeHexCharArrayOddCharacters3() {
227+
checkDecodeHexCharArrayOddCharacters(new char[]{'A', 'B', 'C'});
228228
}
229229

230230
@Test
231-
public void testDecodeHexOddCharacters5() {
232-
checkDecodeHexOddCharacters(new char[]{'A', 'B', 'C', 'D', 'E'});
231+
public void testDecodeHexCharArrayOddCharacters5() {
232+
checkDecodeHexCharArrayOddCharacters(new char[]{'A', 'B', 'C', 'D', 'E'});
233233
}
234234

235235
@Test

0 commit comments

Comments
 (0)