Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
284 0 0 0 100% 18.783

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 19 0 0 0 100% 0.032
org.apache.commons.codec.net 55 0 0 0 100% 0.063
org.apache.commons.codec.language 97 0 0 0 100% 1.86
org.apache.commons.codec.digest 9 0 0 0 100% 0.515
org.apache.commons.codec.binary 104 0 0 0 100% 16.313

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
CharEncodingTest 7 0 0 0 100% 0.032
DecoderExceptionTest 4 0 0 0 100% 0
EncoderExceptionTest 4 0 0 0 100% 0
StringEncoderComparatorTest 4 0 0 0 100% 0

org.apache.commons.codec.net

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

org.apache.commons.codec.language

Class Tests Errors Failures Skipped Success Rate Time
CaverphoneTest 6 0 0 0 100% 0.063
DoubleMetaphone2Test 2 0 0 0 100% 0.328
DoubleMetaphoneTest 15 0 0 0 100% 0.578
MetaphoneTest 34 0 0 0 100% 0.844
RefinedSoundexTest 10 0 0 0 100% 0.016
SoundexTest 30 0 0 0 100% 0.031

org.apache.commons.codec.digest

Class Tests Errors Failures Skipped Success Rate Time
DigestUtilsTest 9 0 0 0 100% 0.515

org.apache.commons.codec.binary

Class Tests Errors Failures Skipped Success Rate Time
Base64InputStreamTest 7 0 0 0 100% 6.437
Base64OutputStreamTest 5 0 0 0 100% 8.11
Base64Test 43 0 0 0 100% 0.766
BinaryCodecTest 13 0 0 0 100% 0.031
HexTest 21 0 0 0 100% 0.969
StringUtilsTest 15 0 0 0 100% 0

Test Cases

Base64InputStreamTest

testBase64EmptyInputStream 0.016
testBase64InputStreamByChunk 2.984
testBase64InputStreamByteByByte 3.422
testMarkSupported 0
testRead0 0
testReadNull 0
testReadOutOfBounds 0

Base64OutputStreamTest

testBase64EmptyOutputStream 0.016
testBase64OutputStreamByChunk 2.5
testBase64OutputStreamByteByByte 5.594
testWriteOutOfBounds 0
testWriteToNullCoverage 0

Base64Test

testBase64 0
testChunkedEncodeMultipleOf76 0
testCodec68 0
testCodeInteger1 0.016
testCodeInteger2 0
testCodeInteger3 0
testCodeInteger4 0
testCodeIntegerEdgeCases 0
testCodeIntegerNull 0
testConstructors 0
testConstructor_Int_ByteArray_Boolean 0.015
testConstructor_Int_ByteArray_Boolean_UrlSafe 0.016
testDecodePadMarkerIndex2 0
testDecodePadMarkerIndex3 0
testDecodePadOnly 0
testDecodePadOnlyChunked 0
testDecodeWithWhitespace 0
testDiscardWhitespace 0
testEmptyBase64 0
testEncodeDecodeRandom 0.437
testEncodeDecodeSmall 0
testEncodeOverMaxSize 0
testIgnoringNonBase64InDecode 0
testIsArrayByteBase64 0
testIsUrlSafe 0
testKnownDecodings 0
testKnownEncodings 0
testNonBase64Test 0
testObjectDecodeWithInvalidParameter 0
testObjectDecodeWithValidParameter 0
testObjectEncodeWithInvalidParameter 0
testObjectEncodeWithValidParameter 0
testPairs 0.047
testRfc2045Section2Dot1CrLfDefinition 0
testRfc2045Section6Dot8ChunkSizeDefinition 0
testSingletons 0.032
testSingletonsChunked 0
testTriplets 0.015
testTripletsChunked 0
testUrlSafe 0.172
testUUID 0.016
testByteToStringVariations 0
testStringToByteVariations 0

BinaryCodecTest

testDecodeObjectException 0
testDecodeObject 0
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.797
testCustomCharset 0.156
testCustomCharsetBadNameEncodeByteArray 0
testCustomCharsetBadNameEncodeObject 0
testCustomCharsetBadNameDecodeObject 0
testCustomCharsetToString 0
testDecodeArrayOddCharacters 0
testDecodeBadCharacterPos0 0
testDecodeBadCharacterPos1 0
testDecodeClassCastException 0
testDecodeHexOddCharacters1 0
testDecodeHexOddCharacters3 0
testDecodeHexOddCharacters5 0
testDecodeStringOddCharacters 0
testDencodeEmpty 0
testEncodeClassCastException 0
testEncodeEmpty 0
testEncodeZeroes 0
testHelloWorldLowerCaseHex 0
testHelloWorldUpperCaseHex 0
testRequiredCharset 0.016

StringUtilsTest

testConstructor 0
testGetBytesIso8859_1 0
testGetBytesUsAscii 0
testGetBytesUtf16 0
testGetBytesUtf16Be 0
testGetBytesUtf16Le 0
testGetBytesUtf8 0
testGetBytesUncheckedBadName 0
testNewStringBadEnc 0
testNewStringIso8859_1 0
testNewStringUsAscii 0
testNewStringUtf16 0
testNewStringUtf16Be 0
testNewStringUtf16Le 0
testNewStringUtf8 0

CharEncodingTest

testConstructor 0.016
testIso8859_1 0
testUsAscii 0
testUtf16 0
testUtf16Be 0
testUtf16Le 0
testUtf8 0

DecoderExceptionTest

testConstructor0 0
testConstructorString 0
testConstructorStringThrowable 0
testConstructorThrowable 0

DigestUtilsTest

testConstructable 0.015
testInternalNoSuchAlgorithmException 0.063
testMd5Hex 0.047
testMD5HexLength 0
testMD5Length 0.015
testSha256 0.063
testSha384 0.109
testSha512 0.094
testShaHex 0.031

EncoderExceptionTest

testConstructor0 0
testConstructorString 0
testConstructorStringThrowable 0
testConstructorThrowable 0

CaverphoneTest

testSpecificationExamples 0.031
testIsCaverphoneEquals 0.016
testEncodeEmpty 0
testEncodeNull 0
testEncodeWithInvalidObject 0
testLocaleIndependence 0

DoubleMetaphone2Test

testDoubleMetaphonePrimary 0.172
testDoubleMetaphoneAlternate 0.14

DoubleMetaphoneTest

testDoubleMetaphone 0.031
testEmpty 0
testSetMaxCodeLength 0
testIsDoubleMetaphoneEqualBasic 0.047
testIsDoubleMetaphoneEqualExtended1 0
testIsDoubleMetaphoneEqualExtended2 0
testIsDoubleMetaphoneEqualExtended3 0.265
testIsDoubleMetaphoneEqualWithMATCHES 0.188
testIsDoubleMetaphoneNotEqual 0.015
testCCedilla 0
testNTilde 0
testEncodeEmpty 0
testEncodeNull 0
testEncodeWithInvalidObject 0
testLocaleIndependence 0

MetaphoneTest

testIsMetaphoneEqual1 0.031
testIsMetaphoneEqual2 0
testIsMetaphoneEqualAero 0
testIsMetaphoneEqualWhite 0.031
testIsMetaphoneEqualAlbert 0
testIsMetaphoneEqualGary 0.234
testIsMetaphoneEqualJohn 0.391
testIsMetaphoneEqualKnight 0.031
testIsMetaphoneEqualMary 0.047
testIsMetaphoneEqualParis 0
testIsMetaphoneEqualPeter 0.016
testIsMetaphoneEqualRay 0
testIsMetaphoneEqualSusan 0.015
testIsMetaphoneEqualWright 0
testIsMetaphoneEqualXalan 0
testMetaphone 0.016
testWordEndingInMB 0
testDiscardOfSCEOrSCIOrSCY 0
testWhy 0
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
testLocaleIndependence 0

RefinedSoundexTest

testDifference 0.016
testEncode 0
testGetMappingCodeNonLetter 0
testNewInstance 0
testNewInstance2 0
testNewInstance3 0
testEncodeEmpty 0
testEncodeNull 0
testEncodeWithInvalidObject 0
testLocaleIndependence 0

SoundexTest

testDifference 0
testNewInstance 0
testNewInstance2 0
testNewInstance3 0
testB650 0
testEncodeBasic 0.015
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
testSoundexUtilsNullBehaviour 0
testSoundexUtilsConstructable 0
testEncodeEmpty 0
testEncodeNull 0
testEncodeWithInvalidObject 0
testLocaleIndependence 0

BCodecTest

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

QCodecTest

testNullInput 0
testUTF8RoundTrip 0.015
testBasicEncodeDecode 0
testEncodeDecodeNull 0
testEncodeStringWithNull 0
testDecodeStringWithNull 0
testEncodeObjects 0
testInvalidEncoding 0
testDecodeObjects 0
testUnsafeEncodeDecode 0
testEncodeDecodeBlanks 0.016
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.016
testDecodeInvalid 0

URLCodecTest

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

UtilsTest

testConstructor 0

StringEncoderComparatorTest

testComparatorNoArgCon 0
testComparatorWithSoundex 0
testComparatorWithDoubleMetaphone 0
testComparatorWithDoubleMetaphoneAndInvalidInput 0