Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
155 0 0 0 100% 19.314

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.sw4j.tool.barcode.random.decoder 7 0 0 0 100% 0.092
org.sw4j.tool.barcode.random.codedata 6 0 0 0 100% 0.251
org.sw4j.tool.barcode.random.config 72 0 0 0 100% 9.129
org.sw4j.tool.barcode.random.generator 24 0 0 0 100% 9.099
org.sw4j.tool.barcode.random.coder 39 0 0 0 100% 0.425
org.sw4j.tool.barcode.random.encoder 7 0 0 0 100% 0.318

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

org.sw4j.tool.barcode.random.decoder

Class Tests Errors Failures Skipped Success Rate Time
ByteArrayDecoderNGTest 7 0 0 0 100% 0.092

org.sw4j.tool.barcode.random.codedata

Class Tests Errors Failures Skipped Success Rate Time
FileCodeDataNGTest 6 0 0 0 100% 0.251

org.sw4j.tool.barcode.random.config

Class Tests Errors Failures Skipped Success Rate Time
FileConfigNGTest 7 0 0 0 100% 0.064
ConfigNGTest 12 0 0 0 100% 8.59
OutputConfigNGTest 8 0 0 0 100% 0.094
CodeConfigNGTest 27 0 0 0 100% 0.152
GenerationConfigNGTest 18 0 0 0 100% 0.229

org.sw4j.tool.barcode.random.generator

Class Tests Errors Failures Skipped Success Rate Time
CodeGeneratorNGTest 13 0 0 0 100% 4.361
BarCodeWriterNGTest 11 0 0 0 100% 4.738

org.sw4j.tool.barcode.random.coder

Class Tests Errors Failures Skipped Success Rate Time
Base58NGTest 39 0 0 0 100% 0.425

org.sw4j.tool.barcode.random.encoder

Class Tests Errors Failures Skipped Success Rate Time
ByteArrayEncoderNGTest 7 0 0 0 100% 0.318

Test Cases

[Summary] [Package List] [Test Cases]

ByteArrayEncoderNGTest

testEncodeBase58 0.208
testEncodeBase64 0.029
testEncodeHex 0.05
testLoadBase58Encoder 0.004
testLoadBase64Encoder 0.007
testLoadHexEncoder 0.006
testLoadNullEncoder 0.014

FileCodeDataNGTest

getInputFails 0.154
getInputSuccess 0.008
getOutputCreatesFile 0.06
getOutputCreatesFolder 0.001
getOutputForIdentCreatesFile 0
getOutputForIdentCreatesFolder 0.028

FileConfigNGTest

testBuildingSetsName 0
testBuildingWithEmptyNameFails 0.012
testBuildingWithNameOfSpacesFails 0
testBuildingWithNameSucceeds 0
testBuildingWithoutNameFails 0.024
testCreateBuilder 0.015
testSetNameIsFuild 0.013

ConfigNGTest

testBuildingSetsInput 0.01
testBuildingSetsOutput 0
testBuildingSetsRandom 0
testBuildingWithInputOutputRandomSucceeds 0
testBuildingWithoutInputFails 0.009
testBuildingWithoutOutputFails 0.007
testBuildingWithoutRandomFails 0.011
testCreateBuilder 0
testReadingConfig 8.542
testSetInputIsFuild 0
testSetOutputIsFuild 0
testSetRandomIsFuild 0.011

OutputConfigNGTest

testBuildingWithFolderAndFileSetsFile 0
testBuildingWithFolderAndFileSetsFolder 0.001
testBuildingWithFolderAndFileSucceeds 0
testBuildingWithoutFileFails 0.016
testBuildingWithoutFolderFails 0
testCreateBuilder 0.027
testSetFileIsFuild 0.018
testSetFolderIsFuild 0.032

CodeConfigNGTest

buildingSetsEncoding 0
buildingSetsErrorCorrection 0
buildingSetsFiletype 0.001
buildingSetsHeight 0.019
buildingSetsType 0
buildingSetsUrl 0.014
buildingSetsWidth 0.024
buildingWithUnknownTypeFails 0.001
buildingWithoutEncodingFails 0
buildingWithoutErrorCorrectionSucceeds 0.001
buildingWithoutFiletypeSetsDefault 0.008
buildingWithoutFiletypeSucceeds 0.001
buildingWithoutHeightSetsWidth 0
buildingWithoutHeightSucceeds 0.002
buildingWithoutTypeFails 0.002
buildingWithoutUrlSucceeds 0.002
buildingWithoutWidthSetDefault 0.009
buildingWithoutWidthSetDefaultHeight 0.001
buildingWithoutWidthSucceeds 0.001
createBuilder 0.015
setEncodingIsFuild 0.017
setErrorCorrectionIsFuild 0.004
setFiletypeIsFuild 0.012
setHeightIsFuild 0.005
setTypeIsFuild 0.001
setUrlIsFluid 0.001
setWidthIsFuild 0.011

GenerationConfigNGTest

testBuildingPredefinedEncoding 0.001
testBuildingSetsEncodings 0.008
testBuildingSetsQrcodes 0.008
testBuildingSetsSize 0.029
testBuildingWithEncodingsSucceeds 0.017
testBuildingWithNegativeSizeFails 0.01
testBuildingWithQrcodesEmptyEncodingsEmptyFails 0.032
testBuildingWithQrcodesEmptyEncodingsNullFails 0.024
testBuildingWithQrcodesEncodingsSucceeds 0.024
testBuildingWithQrcodesNullEncodingsEmptyFails 0.012
testBuildingWithQrcodesNullEncodingsNullFails 0.011
testBuildingWithQrcodesSucceeds 0.001
testBuildingWithSizeNotDivisibleBy8Fails 0.011
testCreateBuilder 0.016
testSetEncodingIsFluid 0.016
testSetEncodingsIsFluid 0.007
testSetQrcodesIsFluid 0.001
testSetSizeIsFluid 0.001

CodeGeneratorNGTest

createCodeOutput 3.316
createCodeOutputWithoutURL 0.343
createCodeWithInvalidErrorCorrection 0.179
createCodeWithValidErrorCorrection 0.349
createCodeWithoutIdent 0.035
createCodesFromList 0.008
createCodesInvalidEncoding 0.003
createCsvOutput 0.068
duplicateIdentInCsvThrowsException 0.016
randomIdentCreatesEncoded 0.003
randomIdentCreatesShortenedEncoded 0.006
randomIdentCreatesShortenedReverseEncoded 0.015
randomIdentCreatesStartEndEncoded 0.02

BarCodeWriterNGTest

generateAztec 0.36
generateAztecWithErrorCorrection 0.29
generateDataMatrix 0.248
generateQrCode 0.31
generateQrCodeNoUrl 0.354
generateQrCodeNoUrl 0.185
generateQrCodeNoUrl 0.364
generateQrCodeNoUrl 0.458
generateQrCodeNoUrl 0.131
generateQrCodeNoUrl 0.254
generateQrCodeNoUrl 1.784

Base58NGTest

decodeEmpty 0
decodeInvalidDigit 0.008
decodeOne 0.006
decodeTestVectors 0.001
decodeTestVectors 0.005
decodeTestVectors 0.001
decodeTestVectors 0.003
decodeTestVectors 0.002
decodeTestVectors 0.007
decodeTestVectors 0.002
decodeTestVectors 0.008
decodeTestVectors 0.003
decodeTestVectors 0.004
decodeTestVectors 0.011
decodeTestVectors 0.036
decodeTestVectors 0.1
decodeZero 0.003
decodeZeroOne 0.004
encodeEmpty 0.002
encodeLeadingZero 0.001
encodeMultipleZero 0.001
encodeTestVectors 0.003
encodeTestVectors 0.004
encodeTestVectors 0.002
encodeTestVectors 0.003
encodeTestVectors 0.002
encodeTestVectors 0.007
encodeTestVectors 0.001
encodeTestVectors 0.035
encodeTestVectors 0.001
encodeTestVectors 0.013
encodeTestVectors 0.006
encodeTestVectors 0.037
encodeTestVectors 0.074
encodeZero 0
testDivideBy0 0
testDivideDigitLargerThanBase 0.029
testDivideSingleByte 0
testDivideSingleByteBaseSmaller 0

ByteArrayDecoderNGTest

testDecodeBase58 0.008
testDecodeBase64 0.024
testDecodeHex 0.025
testLoadBase58Decoder 0.014
testLoadBase64Decoder 0.007
testLoadHexDecoder 0.012
testLoadNullDecoder 0.002