Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
435 0 0 0 100% 1.5

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
net.sf.bacchus.charset 61 0 0 0 100% 0.316
net.sf.bacchus 217 0 0 0 100% 0.725
net.sf.bacchus.spring 47 0 0 0 100% 0.181
net.sf.bacchus.records 110 0 0 0 100% 0.278

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

net.sf.bacchus.charset

Class Tests Errors Failures Skipped Success Rate Time
TestProvider 5 0 0 0 100% 0.009
TestX_ACH_XL 20 0 0 0 100% 0.075
TestX_ACH_XP 19 0 0 0 100% 0.156
TestX_US_ASCII_ACH 17 0 0 0 100% 0.076

net.sf.bacchus

Class Tests Errors Failures Skipped Success Rate Time
TestAbstractContainer 11 0 0 0 100% 0.029
TestAbstractControl 22 0 0 0 100% 0.06
TestAbstractRecord 20 0 0 0 100% 0.236
TestCompanyBatch 15 0 0 0 100% 0.036
TestCompanyBatchControl 17 0 0 0 100% 0.038
TestCompanyBatchHeader 22 0 0 0 100% 0.034
TestControllable 1 0 0 0 100% 0.036
TestFile 8 0 0 0 100% 0.031
TestFileControl 13 0 0 0 100% 0.025
TestFileHeader 31 0 0 0 100% 0.085
TestRaw 16 0 0 0 100% 0.033
TestRecord 6 0 0 0 100% 0.005
TestRecordUtilities 7 0 0 0 100% 0.003
TestRtn 14 0 0 0 100% 0.03
TestRtnPropertyEditor 11 0 0 0 100% 0.038
TestStandardEntryClass 1 0 0 0 100% 0.005
TestValidationException 2 0 0 0 100% 0.001

net.sf.bacchus.spring

Class Tests Errors Failures Skipped Success Rate Time
TestRecordAggregator 2 0 0 0 100% 0.03
TestRecordNormalizer 2 0 0 0 100% 0.002
TestRecordProcessorSupport 13 0 0 0 100% 0.037
TestRecordReader 10 0 0 0 100% 0.037
TestRecordSpecializer 17 0 0 0 100% 0.046
TestRecordValidator 3 0 0 0 100% 0.029

net.sf.bacchus.records

Class Tests Errors Failures Skipped Success Rate Time
TestAbstractAddenda 8 0 0 0 100% 0.006
TestAbstractDetail 33 0 0 0 100% 0.112
TestAbstractInfoDetail 3 0 0 0 100% 0.003
TestAbstractTerminalDetail 10 0 0 0 100% 0.03
TestCheck 6 0 0 0 100% 0.009
TestDestroyedCheck 6 0 0 0 100% 0.019
TestInfo 10 0 0 0 100% 0.026
TestPayment 6 0 0 0 100% 0.011
TestPointOfPurchase 5 0 0 0 100% 0.007
TestPointOfSale 1 0 0 0 100% 0.005
TestTerminal 15 0 0 0 100% 0.038
TestTruncatedCheck 2 0 0 0 100% 0.003
TestWebPayment 5 0 0 0 100% 0.009

Test Cases

TestProvider

testProvider 0
testCharsets 0.001
testXAch 0.002
testXAchX 0.001
testXAchXL 0.002

TestX_ACH_XL

testContainsCharset 0.01
testMultibyteEncodings 0.005
testTransposingLatin1 0.002
testTransposingLatinA 0.002
testEncodeFF 0.002
testIsRegistered 0.002
testNewDecoder 0.004
testDecode00 0.003
testDeode1F 0.002
testDecode80 0.002
testDecodeFF 0.001
testPassThroughEncodings 0.001
testEncode00 0.001
testEncode1F 0.001
testEncode80 0.002
testEncode800 0.009
testEncodeOverflow 0.001
testEncodeUnderflow 0.001
testDecodeUnderflow 0.001
testReplacement 0.002

TestX_ACH_XP

testContainsCharset 0.059
testTransposingLatin1 0.011
testTransposingLatinA 0.012
testEncodeFF 0.006
testIsRegistered 0.002
testNewDecoder 0.003
testDecode00 0.002
testDeode1F 0.002
testDecode80 0.004
testDecodeFF 0.003
testPassThroughEncodings 0.003
testEncode00 0.003
testEncode1F 0.003
testEncode80 0.003
testEncode800 0.003
testEncodeOverflow 0.003
testEncodeUnderflow 0.003
testDecodeUnderflow 0.003
testReplacement 0.003

TestX_US_ASCII_ACH

testContainsCharset 0.013
testEncodeFF 0.014
testIsRegistered 0
testNewDecoder 0.001
testDecode00 0
testDeode1F 0.022
testDecode80 0
testDecodeFF 0
testPassThroughEncodings 0.001
testEncode00 0.001
testEncode1F 0.001
testEncode80 0
testEncode800 0
testEncodeOverflow 0
testEncodeUnderflow 0
testDecodeUnderflow 0.001
testReplacement 0.001

TestAbstractAddenda

testAddendaType 0
testLoad 0
testFormat 0
testValidate 0
testValidateBadType 0
testValidateBadDetailSequence 0
testValidateAddendaSequence 0.001
testNormalize 0

TestAbstractDetail

testLoad 0.005
testFormat 0.002
testValidate 0.001
testNormalize 0.002
testRecordType 0.013
testTransactionType 0.002
testOriginatingDfi 0.001
testReceivingDfi 0.002
testCheckDigit 0.001
testAccount 0.002
testAmount 0.004
testDiscretionary 0.001
testAddendaIndicator 0.001
testTraceNumber 0.001
testSequence 0
testAddenda 0.002
testLoadBadLength 0.001
testValidateRecordType 0.003
testValidateTransactionType 0.001
testValidateNegativeTransactionType 0.001
testValidateBadTransactionType 0.001
testValidateReceivingDfi 0.001
testValidateAccount 0
testValidateMissingAmount 0.001
testValidateNegativeAmount 0.001
testValidateBadAddendaIndicator 0.001
testValidateZeroAddendaIndicator 0.001
testValidateBadZeroAddendaIndicator 0.003
testValidateOneAddendaIndicator 0.001
testValidateBadOneAddendaIndicator 0.001
testGet 0.001
testSize 0.001
testIsEmpty 0.001

TestAbstractInfoDetail

testSequence 0
testInfo 0.001
testGetAddenda 0

TestAbstractTerminalDetail

testName 0
testLoad 0.002
testFormat 0.001
testValidate 0.001
testNormalize 0
testAddenda 0.003
testTerminal 0
testIdentification 0
testCardTransaction 0.001
testValidateMissingCardTransaction 0.001

TestCheck

testLoad 0.001
testFormat 0.001
testNormalize 0
testRecordType 0
testSerialNumber 0
testReceiverName 0.002

TestDestroyedCheck

testLoad 0.007
testFormat 0.001
testNormalize 0.001
testGetSerialNumber 0.002
testGetProcessControl 0
testGetItemResearchNumber 0

TestInfo

testLoad 0.006
testFormat 0.001
testValidate 0.003
testNormalize 0.002
testGetExpectedAddendaType 0.001
testPaymentRelatedInfo 0.001
testEntryDetailSequence 0.001
testAddendaSequence 0.001
testValidateBadEntrySequence 0.002
testValidateBadAddendaSequence 0.001

TestPayment

testLoad 0
testFormat 0
testNormalize 0.001
testRecordType 0
testIdentification 0
testReceiverName 0.006

TestPointOfPurchase

testLoad 0.003
testFormat 0.001
testNormalize 0.001
testGetCity 0
testGetState 0

TestPointOfSale

testPos 0.005

TestTerminal

testLoad 0.001
testFormat 0.001
testNormalize 0
testTraceNumber 0
testGetExpectedAddendaType 0.001
testTransactionSerialNumber 0.001
testTerminalIdentification 0.001
testTransactionDate 0
testAuthorization 0
testTerminalLocation 0.001
testTerminalCity 0
testTerminalState 0.001
testIsActive 0.001
testLoadDate 0.014
testLoadBadTransactionDate 0.001

TestTruncatedCheck

testGetDiscretionary 0.001
testItemTypeIndicator 0

TestWebPayment

testGetPaymentType 0.001
testValidatePaymentTypeMissing 0
testValidatePaymentTypeR 0.001
testValidatePaymentTypeS 0
testValidatePaymentTypeBad 0

TestRecordAggregator

testAggregateMock 0.027
testAggregateFiller 0

TestRecordNormalizer

testProcess 0.002
testProcessNull 0

TestRecordProcessorSupport

testSetName 0.014
testProcessNull 0.001
testProcessNullPass 0.002
testProcessDispatchDefault 0.001
testProcessDispatchDefaultPass 0
testProcessFileHeader 0
testProcessBatchHeader 0
testProcessDetail 0
testProcessAddenda 0.006
testProcessBatchControl 0.001
testProcessFileControl 0.002
testProcessFiller 0
testNoName 0

TestRecordReader

testNullResource 0.004
testNoResource 0.004
testNotOpened 0.001
testClosed 0.001
testEmpty 0
testOneRecord 0.005
testTwoRecords 0.002
testLeniency 0.007
testIllegalCharset 0.003
testUnsupportedCharset 0.003

TestRecordSpecializer

testProcessFileHeader 0.003
testProcessDetail 0.005
testProcessAddenda 0.006
testProcessFileControl 0.002
testProcessFiller 0
testSec 0
testOpenExecutionContextEmpty 0.002
testOpenExecutionContextSec 0
testUpdateExecutionContextEmpty 0
testUpdateExecutionContextSec 0
testProcessDefaultRecord 0.002
testProcessDefaultRecordPass 0
testProcessDefault 0.003
testProcessDefaultPass 0.004
testProcessCompanyBatchHeader 0.005
testProcessNoSec 0.002
testProcessCompanyBatchControl 0.001

TestRecordValidator

testProcess 0.001
testProcessNull 0.025
testProcessInvalid 0.001

TestAbstractContainer

testIsEmpty 0.01
testIteratorEmpty 0.006
testIteratorOne 0.003
testIteratorFiller 0
testIterator 0.001
testIteratorAdd 0.001
testIteratorSet 0.001
testIteratorRemove 0
testBlockSize 0
testSizeSimple 0.001
testSizeBlocked 0.002

TestAbstractControl

testNormalize 0.005
testEntryAddendaCountNegative 0.002
testSetTotalCreditNull 0.001
testSetTotalCreditNegative 0.002
testSetTotalDebitNull 0.002
testSetTotalDebitNegative 0.001
testEntryHashNegative 0.001
testGetEntryAddendaCount 0.002
testGetTotalCredit 0.003
testGetTotalDebit 0.002
testGetEntryHash 0.003
testValidateUncontrolled 0.002
testValidateUncontrolledCount 0.001
testValidateUncontrolledHash 0.003
testValidateUncontrolledCredit 0.01
testValidateUncontrolledDebit 0.002
testValidateControlledUnset 0.001
testValidateControlledSet 0.001
testValidateControlledCount 0.002
testValidateControlledHash 0.001
testValidateControlledCredit 0.002
testValidateControlledDebit 0.002

TestAbstractRecord

testLoad 0.013
testFormat 0.003
testNormalize 0.003
testRecordType 0.002
testValidateString 0.002
testValidateStringMandatory 0.003
testValidateStringLong 0.003
testValidateStringEmpty 0.003
testValidateInteger 0.018
testValidateIntegerMandatory 0.002
testValidateIntegerNegative 0.003
testValidateIntegerZero 0.121
testValidateIntegerTooHigh 0.002
testField 0.002
testSetRecordTypeNegative 0.002
testSetRecordTypeOverMax 0.006
testLoadNull 0.023
testLoadWrongLength 0.001
testValidateValid 0.001
testValidateInvalid 0.001

TestCompanyBatch

testValidate 0.001
testBlockSize 0.001
testValidateServiceClass 0.001
testValidateServiceClassNull 0.007
testValidateServiceClassBad 0.008
testGetHeader 0.001
testGetContents 0
testGetControl 0.001
testNoDetail 0.001
testOneDetail 0.001
testTwoDetail 0.001
testValidateServiceClassMismatch 0.001
testValidateOriginMismatch 0.001
testValidateIdentificationMismatch 0.001
testValidateBatchMismatch 0.001

TestCompanyBatchControl

testLoad 0.002
testFormat 0.001
testNormalize 0.001
testValidateServiceClass 0.004
testGetExpectedRecordType 0.001
testControls 0.001
testServiceClass 0.001
testSetServiceClassNegative 0.001
testCompanyIdentification 0.001
testMessageAuthenticationCode 0.001
testOrigin 0.001
testBatchNumber 0.001
testValidateNoServiceClass 0.006
testValidateBadServiceClass 0.001
testValidateBadOriginatingDfi 0.001
testValidateMissingOriginatingDfi 0.001
testValidateZeroOriginatingDfi 0

TestCompanyBatchHeader

testLoad 0.009
testFormat 0.001
testNormalize 0.001
testDiscretionary 0.004
testIdentification 0.001
testGetExpectedRecordType 0.001
testServiceClass 0.001
testOrigin 0.001
testValidateBadServiceClass 0.001
testCompanyName 0.001
testStandardEntryClass 0.001
testGetDescription 0.001
testDescriptiveDate 0
testEffectiveDate 0
testSettlementDate 0.001
testStatus 0
testBatch 0
testValidateNoSec 0.001
testValidateGoodSec 0.001
testLoadDates 0.001
testLoadBadEffectiveDate 0.001
testLoadBadSettlementDate 0.001

TestControllable

testUncontrolled 0.015

TestFile

testBlockSize 0.022
testGetHeader 0.001
testGetContents 0
testGetControl 0
testNoBatches 0
testOneBatch 0
testValidateEmpty 0.001
testValidateBatches 0.002

TestFileControl

testLoad 0.001
testFormat 0.001
testValidate 0
testNormalize 0.013
testGetExpectedRecordType 0
testControls 0.001
testBatchCount 0
testBlockCount 0
testValidateBlockCount 0.001
testValidateBadBlockCount 0.001
testValidateBatchCount 0.001
testValidateNoBatchCount 0
testValidateBadBatchCount 0

TestFileHeader

testLoad 0.014
testFormat 0.003
testNormalize 0.002
testBlockSize 0.002
testGetExpectedRecordType 0.002
testOrigin 0.002
testPriorityCode 0.001
testFileCreation 0.001
testDestination 0.001
testDestinationCheck 0.001
testDestinationName 0.001
testOriginCheck 0.001
testOriginName 0.002
testFileIdModifier 0.002
testRecordSize 0.002
testFormatCode 0.002
testReferenceCode 0.001
testLoadBadFileCreationDate 0.002
testValidateNegativePriorityCode 0.002
testValidateHighPriorityCode 0.002
testValidatePriorityCode 0.002
testValidateImmediateOrigin 0.002
testValidateImmediateDestination 0.001
testValidateGoodModifier 0.001
testValidateBadModifier 0.001
testValidateGoodRecordSize 0.001
testValidateBadRecordSize 0.002
testValidateGoodBlockSize 0.002
testValidateBadBlockSize 0.002
testValidateGoodFormatCode 0.002
testValidateBadFormatCode 0.002

TestRaw

testLoad 0.003
testFormat 0.001
testValidate 0.001
testNormalize 0.002
testLoadNull 0.001
testGetRecordType 0.001
testContents 0.001
testLoadBadContents 0.001
testValidateBadRecordType 0.001
testValidateTooLong 0.006
testValidateTooShort 0
testValidateNullContents 0
testValidateBadCharacterLow 0.001
testValidateBadCharacterHigh 0.001
testValidateBadCharacterDoubleByte 0.001
testToString 0.001

TestRecord

testLoad 0.001
testFormat 0
testValidate 0
testNormalize 0
testRecordType 0
testToString 0

TestRecordUtilities

testEmpty 0.001
testConsistentInteger 0
testConsistentString 0.001
testConsistentCharacter 0
testRedundantInteger 0
testRedundantString 0
testRedundantCharacter 0

TestRtn

testValidate 0.001
testNormalize 0.001
testToString 0.001
testRtnNoarg 0
testRtnRtn 0.001
testRtnRtnCheck 0
testComputeCheckDigit 0
testRtn 0
testCheck 0.001
testValidateNotSet 0.001
testValidateZero 0.007
testValidateOne 0
testValidateMax 0.001
testValidateCheck 0.001

TestRtnPropertyEditor

testRtnPropertyEditorObject 0.026
testSetAsTextNull 0
testSetAsTextEmpty 0
testSetAsTextWhitespace 0.001
testSetAsTextTooLong 0.001
testSetAsTextBadRtnFormat 0.001
testSetAsTextInvalid 0.001
testSetAsTextShort 0.001
testSetAsTextEight 0
testSetAsTextNine 0
testSetAsTextBadCheckFormat 0.002

TestStandardEntryClass

testDescriptions 0.001

TestValidationException

testValidationException 0
testMessage 0