Summary

TestsErrors FailuresSuccess RateTime
2843497.535%47.266

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

Package List

PackageTestsErrors FailuresSuccess RateTime
ca.uhn.hl7v2.conf.check100100%2.207
ca.uhn.hl7v2.llp251192%10.061
ca.uhn.hl7v2.util3900100%1.346
ca.uhn.hl7v2.preparser1100100%0.105
ca.uhn.hl7v2.validation.impl240195.833%1.197
ca.uhn.hl7v2.model.primitive5200100%0.233
ca.uhn.hl7v2.protocol.impl352094.286%24.923
ca.uhn.hl7v2.app1200100%0.593
ca.uhn.hl7v2.conf.store1500100%1.811
ca.uhn.hl7v2.sourcegen600100%0.01
ca.uhn.hl7v2.validation200100%0.009
ca.uhn.hl7v2.conf.parser100100%0.288
ca.uhn.hl7v2.model.v24.datatype1300100%0.05
ca.uhn.hl7v2.parser370294.595%4.303
ca.uhn.hl7v2.model1100100%0.13

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

ca.uhn.hl7v2.conf.check

ClassTestsErrors FailuresSuccess RateTime
DefaultValidatorTest100100%2.207

ca.uhn.hl7v2.llp

ClassTestsErrors FailuresSuccess RateTime
MinLLPWriterTest1000100%7.454
MinLowerLayerProtocolTest500100%0.002
MinLLPReaderTest101180%2.605

ca.uhn.hl7v2.util

ClassTestsErrors FailuresSuccess RateTime
EncodedMessageComparatorTest300100%0.084
MessageNavigatorTest200100%0.008
MessageQueryTest700100%0.496
MessageIteratorTest600100%0.009
MessageLibraryTest200100%0.553
DeepCopyPosTest1000100%0.028
ReadOnlyMessageIteratorTest100100%0.076
TerserTest700100%0.086
SegmentFinderTest100100%0.006

ca.uhn.hl7v2.preparser

ClassTestsErrors FailuresSuccess RateTime
PreParserER7Test800100%0.012
PreParserXMLTest300100%0.093

ca.uhn.hl7v2.validation.impl

ClassTestsErrors FailuresSuccess RateTime
ConformanceProfileRuleTest100100%0.952
ValidationContextImplTest300100%0.004
RuleBindingTest600100%0.005
MessageRuleBindingTest100100%0.001
SizeRuleTest200100%0.001
DefaultValidationTest600100%0.042
RegexPrimitiveRuleTest200100%0.002
TrimLeadingWhitespaceTest200100%0.001
XMLSchemaRuleTest1010%0.189

ca.uhn.hl7v2.model.primitive

ClassTestsErrors FailuresSuccess RateTime
CommonTMTest1400100%0.04
CommonIDTest500100%0.028
CommonISTest500100%0.025
CommonTSTest1700100%0.122
CommonDTTest1100100%0.018

ca.uhn.hl7v2.protocol.impl

ClassTestsErrors FailuresSuccess RateTime
ApplicationLoaderTest100100%0.178
ApplicationRouterImplTest600100%0.084
DualTransportConnectorTest2200%1.051
HL7ServerTest200100%0.189
AcceptAcknowledgerTest300100%0.016
InitiatorImplTest500100%11.03
ProcessorImplTest1100100%11.357
ClientSocketStreamSourceTest100100%0.002
MLLPTransportTest200100%1.009
ServerSocketStreamSourceTest100100%0.003
MetadataExtractorTest100100%0.004

ca.uhn.hl7v2.app

ClassTestsErrors FailuresSuccess RateTime
ReceiverTest200100%0.438
MessageTypeRouterTest200100%0.007
InitiatorTest100100%0.03
DefaultApplicationTest300100%0.009
ResponderTest200100%0.096
ConnectionHubTest200100%0.013

ca.uhn.hl7v2.conf.store

ClassTestsErrors FailuresSuccess RateTime
ProfileCodeStoreTest1200100%0.854
URLProfileStoreTest200100%0.521
ProfileStoreFactoryTest100100%0.436

ca.uhn.hl7v2.sourcegen

ClassTestsErrors FailuresSuccess RateTime
GroupGeneratorTest100100%0.001
SourceGeneratorTest500100%0.009

ca.uhn.hl7v2.validation

ClassTestsErrors FailuresSuccess RateTime
MessageValidatorTest200100%0.009

ca.uhn.hl7v2.conf.parser

ClassTestsErrors FailuresSuccess RateTime
ProfileParserTest100100%0.288

ca.uhn.hl7v2.model.v24.datatype

ClassTestsErrors FailuresSuccess RateTime
IDTest500100%0.015
DTTest800100%0.035

ca.uhn.hl7v2.parser

ClassTestsErrors FailuresSuccess RateTime
EscapeTest100100%1.711
DefaultXMLParserTest70271.429%1.082
PipeParserTest1300100%1.431
ParserPackageLoadingTest600100%0.007
FastParserTest200100%0.04
ParserTest300100%0.025
XMLParserTest500100%0.007

ca.uhn.hl7v2.model

ClassTestsErrors FailuresSuccess RateTime
DataTypeUtilTest200100%0.003
VariesTest200100%0.112
GenericPrimitiveTest300100%0.005
GenericCompositeTest400100%0.01

Test Cases

ApplicationLoaderTest

testLoad0.164

EscapeTest

testLoad0.164
testUnescape1.71

ReceiverTest

testLoad0.164
testUnescape1.71
testCloseConnectionOnNullMessage0.233
testCloseConnectionOnNullMessage20.203

DefaultXMLParserTest

testLoad0.164
testUnescape1.71
testCloseConnectionOnNullMessage0.233
testCloseConnectionOnNullMessage20.203
testParse0.17
testMakeGroupElementName0
testParseExtras0.065
testEncodeDocumentNamespace 0.222
expected:<urn:hl7-org:v2xml> but was:<>
testEncodeDocumentEncoding0.319
testEncodeDocumentStructure0.058
testEncodeDocumentEscapechars 0.229
expected:<...<escape V="H"/>here<escape V="N"/> normal again<escape V=".br"/>start at new line<escape V=".br"/>skip 5 vertical spaces<escape V=".sp5"/> and indent 10 spaces<escape V=".in+10"/> and temporary indent 1 space<escape V=".ti+1"/> here<escape V=".br"/>...> but was:<...\H\here\N\ normal again\.br\start at new line\.br\skip 5 vertical spaces\.sp5\ and indent 10 spaces\.in+10\ and temporary indent 1 space\.ti+1\ here\.br\...>

MinLLPWriterTest

testLoad0.164
testUnescape1.71
testCloseConnectionOnNullMessage0.233
testCloseConnectionOnNullMessage20.203
testParse0.17
testMakeGroupElementName0
testParseExtras0.065
testEncodeDocumentNamespace 0.222
expected:<urn:hl7-org:v2xml> but was:<>
testEncodeDocumentEncoding0.319
testEncodeDocumentStructure0.058
testEncodeDocumentEscapechars 0.229
expected:<...<escape V="H"/>here<escape V="N"/> normal again<escape V=".br"/>start at new line<escape V=".br"/>skip 5 vertical spaces<escape V=".sp5"/> and indent 10 spaces<escape V=".in+10"/> and temporary indent 1 space<escape V=".ti+1"/> here<escape V=".br"/>...> but was:<...\H\here\N\ normal again\.br\start at new line\.br\skip 5 vertical spaces\.sp5\ and indent 10 spaces\.in+10\ and temporary indent 1 space\.ti+1\ here\.br\...>
testConstructor2.807
testConstructorWithOutputStream1.459
testConstructorWithNullOutputStream0.48
testSetNullOutputStream0.298
testWriteMessageWithoutOutputStream0.512
testWriteLibraryMessages0.329
testWriteMessages0.44
testClosePrivateWriter0.441
testWithSpecifiedCharset0.425
testWithCharsetProperty0.251

ApplicationRouterImplTest

testLoad0.164
testUnescape1.71
testCloseConnectionOnNullMessage0.233
testCloseConnectionOnNullMessage20.203
testParse0.17
testMakeGroupElementName0
testParseExtras0.065
testEncodeDocumentNamespace 0.222
expected:<urn:hl7-org:v2xml> but was:<>
testEncodeDocumentEncoding0.319
testEncodeDocumentStructure0.058
testEncodeDocumentEscapechars 0.229
expected:<...<escape V="H"/>here<escape V="N"/> normal again<escape V=".br"/>start at new line<escape V=".br"/>skip 5 vertical spaces<escape V=".sp5"/> and indent 10 spaces<escape V=".in+10"/> and temporary indent 1 space<escape V=".ti+1"/> here<escape V=".br"/>...> but was:<...\H\here\N\ normal again\.br\start at new line\.br\skip 5 vertical spaces\.sp5\ and indent 10 spaces\.in+10\ and temporary indent 1 space\.ti+1\ here\.br\...>
testConstructor2.807
testConstructorWithOutputStream1.459
testConstructorWithNullOutputStream0.48
testSetNullOutputStream0.298
testWriteMessageWithoutOutputStream0.512
testWriteLibraryMessages0.329
testWriteMessages0.44
testClosePrivateWriter0.441
testWithSpecifiedCharset0.425
testWithCharsetProperty0.251
testWildcards0.002
testProcessMessage0.075
testHasActiveBinding0.001
testRegex0.001
testRegexMatches0.001
testMatches0.001

PipeParserTest

testLoad0.164
testUnescape1.71
testCloseConnectionOnNullMessage0.233
testCloseConnectionOnNullMessage20.203
testParse0.17
testMakeGroupElementName0
testParseExtras0.065
testEncodeDocumentNamespace 0.222
expected:<urn:hl7-org:v2xml> but was:<>
testEncodeDocumentEncoding0.319
testEncodeDocumentStructure0.058
testEncodeDocumentEscapechars 0.229
expected:<...<escape V="H"/>here<escape V="N"/> normal again<escape V=".br"/>start at new line<escape V=".br"/>skip 5 vertical spaces<escape V=".sp5"/> and indent 10 spaces<escape V=".in+10"/> and temporary indent 1 space<escape V=".ti+1"/> here<escape V=".br"/>...> but was:<...\H\here\N\ normal again\.br\start at new line\.br\skip 5 vertical spaces\.sp5\ and indent 10 spaces\.in+10\ and temporary indent 1 space\.ti+1\ here\.br\...>
testConstructor2.807
testConstructorWithOutputStream1.459
testConstructorWithNullOutputStream0.48
testSetNullOutputStream0.298
testWriteMessageWithoutOutputStream0.512
testWriteLibraryMessages0.329
testWriteMessages0.44
testClosePrivateWriter0.441
testWithSpecifiedCharset0.425
testWithCharsetProperty0.251
testWildcards0.002
testProcessMessage0.075
testHasActiveBinding0.001
testRegex0.001
testRegexMatches0.001
testMatches0.001
testExtraComponents0.017
testGetVersion0
testGetAckID0.001
testCorrectSegmentOrderWithMultipleOptions1.201
testParseIntoNewGroupIfMisorderedInCurrentGroup0.007
testNotParseIntoNewGroupIfWholeGroupMisordered0.008
testComponents0.003
testExtraFieldReps0.002
testEscape0.001
testUnescape0.001
testValidation0.064
testInvalidSegmentName0.086
testNonPipeDelimitor0.018

DualTransportConnectorTest

testLoad0.164
testUnescape1.71
testCloseConnectionOnNullMessage0.233
testCloseConnectionOnNullMessage20.203
testParse0.17
testMakeGroupElementName0
testParseExtras0.065
testEncodeDocumentNamespace 0.222
expected:<urn:hl7-org:v2xml> but was:<>
testEncodeDocumentEncoding0.319
testEncodeDocumentStructure0.058
testEncodeDocumentEscapechars 0.229
expected:<...<escape V="H"/>here<escape V="N"/> normal again<escape V=".br"/>start at new line<escape V=".br"/>skip 5 vertical spaces<escape V=".sp5"/> and indent 10 spaces<escape V=".in+10"/> and temporary indent 1 space<escape V=".ti+1"/> here<escape V=".br"/>...> but was:<...\H\here\N\ normal again\.br\start at new line\.br\skip 5 vertical spaces\.sp5\ and indent 10 spaces\.in+10\ and temporary indent 1 space\.ti+1\ here\.br\...>
testConstructor2.807
testConstructorWithOutputStream1.459
testConstructorWithNullOutputStream0.48
testSetNullOutputStream0.298
testWriteMessageWithoutOutputStream0.512
testWriteLibraryMessages0.329
testWriteMessages0.44
testClosePrivateWriter0.441
testWithSpecifiedCharset0.425
testWithCharsetProperty0.251
testWildcards0.002
testProcessMessage0.075
testHasActiveBinding0.001
testRegex0.001
testRegexMatches0.001
testMatches0.001
testExtraComponents0.017
testGetVersion0
testGetAckID0.001
testCorrectSegmentOrderWithMultipleOptions1.201
testParseIntoNewGroupIfMisorderedInCurrentGroup0.007
testNotParseIntoNewGroupIfWholeGroupMisordered0.008
testComponents0.003
testExtraFieldReps0.002
testEscape0.001
testUnescape0.001
testValidation0.064
testInvalidSegmentName0.086
testNonPipeDelimitor0.018
testConnectInOrder 1.043
java.net.SocketException: Socket closed
testConnectOutOfOrder 0.001
Address already in use

ConformanceProfileRuleTest

testLoad0.164
testUnescape1.71
testCloseConnectionOnNullMessage0.233
testCloseConnectionOnNullMessage20.203
testParse0.17
testMakeGroupElementName0
testParseExtras0.065
testEncodeDocumentNamespace 0.222
expected:<urn:hl7-org:v2xml> but was:<>
testEncodeDocumentEncoding0.319
testEncodeDocumentStructure0.058
testEncodeDocumentEscapechars 0.229
expected:<...<escape V="H"/>here<escape V="N"/> normal again<escape V=".br"/>start at new line<escape V=".br"/>skip 5 vertical spaces<escape V=".sp5"/> and indent 10 spaces<escape V=".in+10"/> and temporary indent 1 space<escape V=".ti+1"/> here<escape V=".br"/>...> but was:<...\H\here\N\ normal again\.br\start at new line\.br\skip 5 vertical spaces\.sp5\ and indent 10 spaces\.in+10\ and temporary indent 1 space\.ti+1\ here\.br\...>
testConstructor2.807
testConstructorWithOutputStream1.459
testConstructorWithNullOutputStream0.48
testSetNullOutputStream0.298
testWriteMessageWithoutOutputStream0.512
testWriteLibraryMessages0.329
testWriteMessages0.44
testClosePrivateWriter0.441
testWithSpecifiedCharset0.425
testWithCharsetProperty0.251
testWildcards0.002
testProcessMessage0.075
testHasActiveBinding0.001
testRegex0.001
testRegexMatches0.001
testMatches0.001
testExtraComponents0.017
testGetVersion0
testGetAckID0.001
testCorrectSegmentOrderWithMultipleOptions1.201
testParseIntoNewGroupIfMisorderedInCurrentGroup0.007
testNotParseIntoNewGroupIfWholeGroupMisordered0.008
testComponents0.003
testExtraFieldReps0.002
testEscape0.001
testUnescape0.001
testValidation0.064
testInvalidSegmentName0.086
testNonPipeDelimitor0.018
testConnectInOrder 1.043
java.net.SocketException: Socket closed
testConnectOutOfOrder 0.001
Address already in use
testTest0.949

EncodedMessageComparatorTest

testLoad0.164
testUnescape1.71
testCloseConnectionOnNullMessage0.233
testCloseConnectionOnNullMessage20.203
testParse0.17
testMakeGroupElementName0
testParseExtras0.065
testEncodeDocumentNamespace 0.222
expected:<urn:hl7-org:v2xml> but was:<>
testEncodeDocumentEncoding0.319
testEncodeDocumentStructure0.058
testEncodeDocumentEscapechars 0.229
expected:<...<escape V="H"/>here<escape V="N"/> normal again<escape V=".br"/>start at new line<escape V=".br"/>skip 5 vertical spaces<escape V=".sp5"/> and indent 10 spaces<escape V=".in+10"/> and temporary indent 1 space<escape V=".ti+1"/> here<escape V=".br"/>...> but was:<...\H\here\N\ normal again\.br\start at new line\.br\skip 5 vertical spaces\.sp5\ and indent 10 spaces\.in+10\ and temporary indent 1 space\.ti+1\ here\.br\...>
testConstructor2.807
testConstructorWithOutputStream1.459
testConstructorWithNullOutputStream0.48
testSetNullOutputStream0.298
testWriteMessageWithoutOutputStream0.512
testWriteLibraryMessages0.329
testWriteMessages0.44
testClosePrivateWriter0.441
testWithSpecifiedCharset0.425
testWithCharsetProperty0.251
testWildcards0.002
testProcessMessage0.075
testHasActiveBinding0.001
testRegex0.001
testRegexMatches0.001
testMatches0.001
testExtraComponents0.017
testGetVersion0
testGetAckID0.001
testCorrectSegmentOrderWithMultipleOptions1.201
testParseIntoNewGroupIfMisorderedInCurrentGroup0.007
testNotParseIntoNewGroupIfWholeGroupMisordered0.008
testComponents0.003
testExtraFieldReps0.002
testEscape0.001
testUnescape0.001
testValidation0.064
testInvalidSegmentName0.086
testNonPipeDelimitor0.018
testConnectInOrder 1.043
java.net.SocketException: Socket closed
testConnectOutOfOrder 0.001
Address already in use
testTest0.949
testStandardizeER70.006
testStandardizeXML0.047
testEquivalent0.029

ValidationContextImplTest

testLoad0.164
testUnescape1.71
testCloseConnectionOnNullMessage0.233
testCloseConnectionOnNullMessage20.203
testParse0.17
testMakeGroupElementName0
testParseExtras0.065
testEncodeDocumentNamespace 0.222
expected:<urn:hl7-org:v2xml> but was:<>
testEncodeDocumentEncoding0.319
testEncodeDocumentStructure0.058
testEncodeDocumentEscapechars 0.229
expected:<...<escape V="H"/>here<escape V="N"/> normal again<escape V=".br"/>start at new line<escape V=".br"/>skip 5 vertical spaces<escape V=".sp5"/> and indent 10 spaces<escape V=".in+10"/> and temporary indent 1 space<escape V=".ti+1"/> here<escape V=".br"/>...> but was:<...\H\here\N\ normal again\.br\start at new line\.br\skip 5 vertical spaces\.sp5\ and indent 10 spaces\.in+10\ and temporary indent 1 space\.ti+1\ here\.br\...>
testConstructor2.807
testConstructorWithOutputStream1.459
testConstructorWithNullOutputStream0.48
testSetNullOutputStream0.298
testWriteMessageWithoutOutputStream0.512
testWriteLibraryMessages0.329
testWriteMessages0.44
testClosePrivateWriter0.441
testWithSpecifiedCharset0.425
testWithCharsetProperty0.251
testWildcards0.002
testProcessMessage0.075
testHasActiveBinding0.001
testRegex0.001
testRegexMatches0.001
testMatches0.001
testExtraComponents0.017
testGetVersion0
testGetAckID0.001
testCorrectSegmentOrderWithMultipleOptions1.201
testParseIntoNewGroupIfMisorderedInCurrentGroup0.007
testNotParseIntoNewGroupIfWholeGroupMisordered0.008
testComponents0.003
testExtraFieldReps0.002
testEscape0.001
testUnescape0.001
testValidation0.064
testInvalidSegmentName0.086
testNonPipeDelimitor0.018
testConnectInOrder 1.043
java.net.SocketException: Socket closed
testConnectOutOfOrder 0.001
Address already in use
testTest0.949
testStandardizeER70.006
testStandardizeXML0.047
testEquivalent0.029
testGetPrimitiveRules0
testGetMessageRules0.001
testGetEncodingRules0.001

IDTest

testLoad0.164
testUnescape1.71
testCloseConnectionOnNullMessage0.233
testCloseConnectionOnNullMessage20.203
testParse0.17
testMakeGroupElementName0
testParseExtras0.065
testEncodeDocumentNamespace 0.222
expected:<urn:hl7-org:v2xml> but was:<>
testEncodeDocumentEncoding0.319
testEncodeDocumentStructure0.058
testEncodeDocumentEscapechars 0.229
expected:<...<escape V="H"/>here<escape V="N"/> normal again<escape V=".br"/>start at new line<escape V=".br"/>skip 5 vertical spaces<escape V=".sp5"/> and indent 10 spaces<escape V=".in+10"/> and temporary indent 1 space<escape V=".ti+1"/> here<escape V=".br"/>...> but was:<...\H\here\N\ normal again\.br\start at new line\.br\skip 5 vertical spaces\.sp5\ and indent 10 spaces\.in+10\ and temporary indent 1 space\.ti+1\ here\.br\...>
testConstructor2.807
testConstructorWithOutputStream1.459
testConstructorWithNullOutputStream0.48
testSetNullOutputStream0.298
testWriteMessageWithoutOutputStream0.512
testWriteLibraryMessages0.329
testWriteMessages0.44
testClosePrivateWriter0.441
testWithSpecifiedCharset0.425
testWithCharsetProperty0.251
testWildcards0.002
testProcessMessage0.075
testHasActiveBinding0.001
testRegex0.001
testRegexMatches0.001
testMatches0.001
testExtraComponents0.017
testGetVersion0
testGetAckID0.001
testCorrectSegmentOrderWithMultipleOptions1.201
testParseIntoNewGroupIfMisorderedInCurrentGroup0.007
testNotParseIntoNewGroupIfWholeGroupMisordered0.008
testComponents0.003
testExtraFieldReps0.002
testEscape0.001
testUnescape0.001
testValidation0.064
testInvalidSegmentName0.086
testNonPipeDelimitor0.018
testConnectInOrder 1.043
java.net.SocketException: Socket closed
testConnectOutOfOrder 0.001
Address already in use
testTest0.949
testStandardizeER70.006
testStandardizeXML0.047
testEquivalent0.029
testGetPrimitiveRules0
testGetMessageRules0.001
testGetEncodingRules0.001
testConstructor0.001
testSetGetValueStringAndTable0.005
testSetGetValueString0.006
testGetValue0.001
testGetTable0

HL7ServerTest

testLoad0.164
testUnescape1.71