Summary

Tests Errors Failures Skipped Success Rate Time
192 0 1 0 99.479% 0.562

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.codec 4 0 0 0 100% 0.015
org.apache.commons.codec.digest 8 0 0 0 100% 0.156
org.apache.commons.codec.binary 49 0 0 0 100% 0.109
org.apache.commons.codec.net 54 0 0 0 100% 0.157
org.apache.commons.codec.language 77 0 1 0 98.701% 0.125

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.codec

Class Tests Errors Failures Skipped Success Rate Time
StringEncoderComparatorTest 4 0 0 0 100% 0.015

org.apache.commons.codec.digest

Class Tests Errors Failures Skipped Success Rate Time
DigestUtilsTest 8 0 0 0 100% 0.156

org.apache.commons.codec.binary

Class Tests Errors Failures Skipped Success Rate Time
Base64Test 24 0 0 0 100% 0.032
BinaryCodecTest 13 0 0 0 100% 0.015
HexTest 12 0 0 0 100% 0.062

org.apache.commons.codec.net

Class Tests Errors Failures Skipped Success Rate Time
BCodecTest 9 0 0 0 100% 0.016
QCodecTest 12 0 0 0 100% 0.016
QuotedPrintableCodecTest 15 0 0 0 100% 0.016
RFC1522CodecTest 2 0 0 0 100% 0
URLCodecTest 16 0 0 0 100% 0.109

org.apache.commons.codec.language

Class Tests Errors Failures Skipped Success Rate Time
DoubleMetaphoneTest 13 0 0 0 100% 0.031
MetaphoneTest 33 0 1 0 96.97% 0.062
RefinedSoundexTest 6 0 0 0 100% 0.016
SoundexTest 25 0 0 0 100% 0.016

Test Cases

Base64Test

testBase64 0
testDecodePadMarkerIndex2 0
testDecodePadMarkerIndex3 0
testDecodePadOnly 0
testDecodePadOnlyChunked 0
testEncodeDecodeSmall 0
testEncodeDecodeRandom 0
testRfc2045Section2Dot1CrLfDefinition 0
testRfc2045Section6Dot8ChunkSizeDefinition 0
testSingletons 0
testSingletonsChunked 0.016
testTriplets 0
testTripletsChunked 0
testKnownEncodings 0
testKnownDecodings 0
testNonBase64Test 0
testIgnoringNonBase64InDecode 0
testIsArrayByteBase64 0
testObjectDecodeWithInvalidParameter 0
testObjectDecodeWithValidParameter 0
testObjectEncodeWithInvalidParameter 0
testObjectEncodeWithValidParameter 0
testDecodeWithWhitespace 0
testDiscardWhitespace 0

BinaryCodecTest

testDecodeObjectException 0
testDecodeObject 0.015
testDecodebyteArray 0
testToByteArrayFromString 0
testFromAsciicharArray 0
testFromAsciibyteArray 0
testEncodebyteArray 0
testToAsciiBytes 0
testToAsciiChars 0
testToAsciiString 0
testEncodeObjectNull 0
testEncodeObjectException 0
testEncodeObject 0

HexTest

testEncodeDecodeRandom 0.062
testDecodeArrayOddCharacters 0
testDecodeBadCharacterPos0 0
testDecodeBadCharacterPos1 0
testDecodeClassCastException 0
testDecodeHexOddCharacters 0
testDecodeStringOddCharacters 0
testDencodeEmpty 0
testEncodeClassCastException 0
testEncodeEmpty 0
testEncodeZeroes 0
testHelloWorld 0

DigestUtilsTest

testInternalNoSuchAlgorithmException 0.125
testMd5Hex 0
testMD5HexLength 0
testMD5Length 0
testSha256 0
testSha384 0
testSha512 0
testShaHex 0

DoubleMetaphoneTest

testDoubleMetaphone 0
testEmpty 0
testIsDoubleMetaphoneEqualBasic 0
testIsDoubleMetaphoneEqualExtended1 0
testIsDoubleMetaphoneEqualExtended2 0
testIsDoubleMetaphoneEqualExtended3 0.031
testIsDoubleMetaphoneEqualWithMATCHES 0
testIsDoubleMetaphoneNotEqual 0
testCCedilla 0
testNTilde 0
testEncodeEmpty 0
testEncodeNull 0
testEncodeWithInvalidObject 0

MetaphoneTest

testIsMetaphoneEqual1 0
testIsMetaphoneEqual2 0
testIsMetaphoneEqualAero 0
testIsMetaphoneEqualWhite 0
testIsMetaphoneEqualAlbert 0
testIsMetaphoneEqualGary 0.015
testIsMetaphoneEqualJohn 0.016
testIsMetaphoneEqualKnight 0
testIsMetaphoneEqualMary 0
testIsMetaphoneEqualParis 0
testIsMetaphoneEqualPeter 0
testIsMetaphoneEqualRay 0
testIsMetaphoneEqualSusan 0
testIsMetaphoneEqualWright 0
testIsMetaphoneEqualXalan 0
testMetaphone 0
testWordEndingInMB 0
testDiscardOfSCEOrSCIOrSCY 0
testWhy 0
expected:<H> but was:<>
testWordsWithCIA 0
testTranslateOfSCHAndCH 0
testTranslateToJOfDGEOrDGIOrDGY 0
testDiscardOfSilentHAfterG 0
testDiscardOfSilentGN 0
testPHTOF 0
testSHAndSIOAndSIAToX 0
testTIOAndTIAToX 0
testTCH 0
testExceedLength 0
testSetMaxLengthWithTruncation 0
testEncodeEmpty 0
testEncodeNull 0
testEncodeWithInvalidObject 0

RefinedSoundexTest

testDifference 0
testEncode 0
testGetMappingCodeNonLetter 0
testEncodeEmpty 0
testEncodeNull 0
testEncodeWithInvalidObject 0

SoundexTest

testDifference 0
testB650 0
testEncodeBasic 0
testEncodeBatch2 0
testEncodeBatch3 0
testEncodeBatch4 0
testBadCharacters 0
testEncodeIgnoreApostrophes 0
testEncodeIgnoreHyphens 0
testEncodeIgnoreTrimmable 0
testHWRuleEx1 0
testHWRuleEx2 0
testHWRuleEx3 0
testMaxLength 0
testMaxLengthLessThan3Fix 0
testMsSqlServer1 0
testMsSqlServer2 0
testMsSqlServer3 0
testUsMappingOWithDiaeresis 0
testUsMappingEWithAcute 0
testUsEnglishStatic 0
testNewInstance 0
testEncodeEmpty 0
testEncodeNull 0
testEncodeWithInvalidObject 0

BCodecTest

testNullInput 0.016
testUTF8RoundTrip 0
testBasicEncodeDecode 0
testEncodeDecodeNull 0
testEncodeStringWithNull 0
testDecodeStringWithNull 0
testEncodeObjects 0
testInvalidEncoding 0
testDecodeObjects 0

QCodecTest

testNullInput 0
testUTF8RoundTrip 0
testBasicEncodeDecode 0
testEncodeDecodeNull 0
testEncodeStringWithNull 0
testDecodeStringWithNull 0
testEncodeObjects 0
testInvalidEncoding 0
testDecodeObjects 0
testUnsafeEncodeDecode 0
testEncodeDecodeBlanks 0
testLetUsMakeCloverHappy 0

QuotedPrintableCodecTest

testEncodeNull 0
testUTF8RoundTrip 0
testBasicEncodeDecode 0
testEncodeDecodeNull 0
testEncodeStringWithNull 0
testDecodeStringWithNull 0
testEncodeObjects 0
testInvalidEncoding 0
testDecodeObjects 0
testUnsafeEncodeDecode 0
testSafeCharEncodeDecode 0
testDecodeInvalid 0
testEncodeUrlWithNullBitSet 0
testDecodeWithNullArray 0
testDefaultEncoding 0

RFC1522CodecTest

testNullInput 0
testDecodeInvalid 0

URLCodecTest

testEncodeNull 0
testUTF8RoundTrip 0
testBasicEncodeDecode 0
testEncodeDecodeNull 0
testEncodeStringWithNull 0
testDecodeStringWithNull 0
testEncodeObjects 0
testInvalidEncoding 0.031
testDecodeObjects 0
testUnsafeEncodeDecode 0
testSafeCharEncodeDecode 0.031
testDecodeInvalid 0
testEncodeUrlWithNullBitSet 0
testDecodeWithNullArray 0
testDefaultEncoding 0
testDecodeInvalidContent 0

StringEncoderComparatorTest

testComparatorNoArgCon 0
testComparatorWithSoundex 0
testComparatorWithDoubleMetaphone 0
testComparatorWithDoubleMetaphoneAndInvalidInput 0

Failure Details

testWhy
junit.framework.ComparisonFailure: expected:<H> but was:<>