Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
30 1 1 0 93.333% 1.721

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
ca.uhn.hl7v2.parser 26 1 1 0 92.308% 1.21
ca.uhn.hl7v2.model 4 0 0 0 100% 0.511

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

ca.uhn.hl7v2.parser

Class Tests Errors Failures Skipped Success Rate Time
NewPipeParserTest 26 1 1 0 92.308% 1.21

ca.uhn.hl7v2.model

Class Tests Errors Failures Skipped Success Rate Time
AbstractGroupTest 4 0 0 0 100% 0.511

Test Cases

AbstractGroupTest

testAddNonstandardSegment 0.184
testInsertNewRepetition 0.23
testInsertRepetition 0.024
testRemoveRepetition 0.022

NewPipeParserTest

testAL1Reps 0.346
testGetVersion 0.001
testGetAckID 0.001
testCorrectSegmentOrderWithMultipleOptions 0.123
testNonStandardSegmentNearStart 0.146
testMissingSegment 0.023
expected:<1> but was:<null>
testNonStandardSegmentNearEnd 0.018
testNonStandardSegmentAfterEnd 0.023
testRepeatingSegment 0.007
testRepeatingGroupWithOptionalFirstSegment 0.008
testParseIntoNewGroupIfMisorderedInCurrentGroup 0.007
testParseEmptySegment 0.089
testNotParseIntoNewGroupIfWholeGroupMisordered 0.009
testComponents 0.009
testExtraComponents 0.011
testExtraFieldReps 0.004
testEscape 0.005
testUnescape 0.004
testEarlyNonStandard 0.01
testValidation 0.011
testDuplicateSegment 0.101
testInvalidSegmentName 0.012
testNonPipeDelimitor 0.026
testUnknownVersion 0
Can't process message of version '2.999' - version not recognized
testParseNonStandardSegment 0.062
testEmptySegment 0.076

Failure Details


testMissingSegment
junit.framework.ComparisonFailure: expected:<1> but was:<null>
testUnknownVersion
ca.uhn.hl7v2.HL7Exception: Can't process message of version '2.999' - version not recognized