Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
130 0 0 0 100% 9.982

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.openehealth.ipf.modules.hl7.validation.model 3 0 0 0 100% 0.07
org.openehealth.ipf.modules.hl7.dsl 75 0 0 0 100% 4.428
org.openehealth.ipf.modules.hl7.parser 13 0 0 0 100% 0.558
org.openehealth.ipf.modules.hl7.extend 20 0 0 0 100% 1.68
org.openehealth.ipf.modules.hl7.message 18 0 0 0 100% 0.47
org.openehealth.ipf.modules.hl7.config 1 0 0 0 100% 2.776

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

org.openehealth.ipf.modules.hl7.validation.model

Class Tests Errors Failures Skipped Success Rate Time
ClosureMessageRuleTest 1 0 0 0 100% 0.051
ClosurePrimitiveTypeRuleTest 2 0 0 0 100% 0.019

org.openehealth.ipf.modules.hl7.dsl

Class Tests Errors Failures Skipped Success Rate Time
CompositeTest 7 0 0 0 100% 0.914
DocumentationExamplesTest 11 0 0 0 100% 0.552
DoubleQuoteTest 2 0 0 0 100% 0.107
GroupTest 21 0 0 0 100% 0.982
MessageTest 7 0 0 0 100% 0.659
SegmentTest 14 0 0 0 100% 0.54
ShortcutSyntaxTest 7 0 0 0 100% 0.421
TypeTest 5 0 0 0 100% 0.193
VariesTest 1 0 0 0 100% 0.06

org.openehealth.ipf.modules.hl7.parser

Class Tests Errors Failures Skipped Success Rate Time
DefaultEscapingTest 7 0 0 0 100% 0.115
GroovyCustomModelClassFactoryTest 1 0 0 0 100% 0.115
PipeParserTest 5 0 0 0 100% 0.328

org.openehealth.ipf.modules.hl7.extend

Class Tests Errors Failures Skipped Success Rate Time
HapiModelExtensionTest 20 0 0 0 100% 1.68

org.openehealth.ipf.modules.hl7.message

Class Tests Errors Failures Skipped Success Rate Time
MessageUtilsTest 18 0 0 0 100% 0.47

org.openehealth.ipf.modules.hl7.config

Class Tests Errors Failures Skipped Success Rate Time
CustomModelClassFactoryConfigurerTest 1 0 0 0 100% 2.776

Test Cases

[Summary] [Package List] [Test Cases]

CustomModelClassFactoryConfigurerTest

testMappings 0.005

CompositeTest

testFromFailure 0.706
testGet 0.026
testGetEmptyAt 0.069
testGetAt 0.023
testSetAt 0.024
testFrom 0.035
testAsBoolean 0.029

DocumentationExamplesTest

testSmartNavigation 0.22
testConstruction 0.072
testSegmentAndGroupEmptiniess 0.037
testFieldValues 0.032
testRepetitions 0.022
testNavigation 0.015
testNullValues 0.041
testNavigationToFields 0.052
testSegmentNewFeatures 0.016
testAccessingTargetObjects 0.014
testSmartNavigation2 0.029

DoubleQuoteTest

testGet 0.087
testCopy 0.018

GroupTest

testFindIndexValues 0.305
testAny 0.048
testFor 0.049
testGet 0.022
testNrp 0.027
testFindAll 0.037
testCount 0.021
testEvery 0.028
testGetAt 0.025
testSplit 0.028
testEach 0.027
testFind 0.042
testGrep 0.031
testPath 0.053
testEachWithIndex 0.042
testInvokeMethod 0.024
testAccessNonStandardStructure 0.023
testFindLastIndexOf 0.033
testIsEmpty 0.027
testSpread 0.037
testFindIndexOf 0.028

MessageTest

testCopyMessage1 0.197
testCopyMessage2 0.074
testCopy 0.068
testMakeStream 0.092
testRender 0.094
testCopyMessageWithNonStandardSegments1 0.068
testCopyMessageWithNonStandardSegments2 0.064

SegmentTest

testRepetitionGetAt 0.031
testGet 0.035
testNrp 0.034
testSet 0.037
testCompositeGetAt 0.031
testCompositeSetAt 0.034
testSettingObx5Type 0.095
testComponentSetAt 0.033
testZeroCardinality 0.032
testCompositeCreate 0.039
testInvokeMethod 0.03
testPrimitiveGetAt 0.029
testPrimitiveSetAt 0.033
testIsEmpty 0.041

ShortcutSyntaxTest

testUndesiredReplication 0.124
testShortCut25OnRepeatableSegment 0.049
testShortCut25OnRepeatableField 0.046
testShortCut25OnRepeatableGroup 0.054
testWriteShortCutOnRepeatableField 0.048
testWriteShortCutOnRepeatableSegment 0.044
testShortCut22 0.042

TypeTest

testIsEmptyOBX1 0.035
testIsEmptyOBX2 0.009
testIsEmptyOBX3 0.008
testIsEmptyMsg2OBR 0.034
testDelimetersAreRemoved 0.024

VariesTest

testVariesUsage 0.06

HapiModelExtensionTest

testMakePrimitive 0.09
testNakCause 0.07
testMakeSegment 0.025
testHAPIExamplePopulateOBX 0.135
testMakeComposite 0.014
testAck 0.021
testNak 0.02
testTypeMap 0.024
testNak25 0.036
testList 0.018
testHAPIExampleCreateMessageFromScratch 0.053
testUnknownKeySystem 0.007
testDefaultNak 0.203
testKeyAndValueSystems 0.001
testDefaultNak25 0.002
testNak25Cause 0.024
testMatches 0.038
testParseWithCustomGroovyClasses 0.278
testEncode 0.014
testMakeMessage 0.007

MessageUtilsTest

testMakeNAKVersion251 0.032
testMessageStructure 0.028
testMakeCECompositeVersion25 0.023
testAck 0.028
testNak 0.029
testAck25 0.026
testMakeNK1SegmentVersion25 0.021
testResponseVersion25AckStructure 0.032
testTriggerEventUnknownMessage 0.025
testResponseVersion25MappedStructureName 0.034
testResponseVersion22AckStructure 0.026
testEventType 0.019
testTriggerEvent 0.019
testPipeEncode 0.024
testMakeMessageVersion22 0.034
testMakeMessageVersion25 0.015
testMakeSIPrimitiveVersion25 0.032
testEventTypeUnknownMessage 0.02

DefaultEscapingTest

testPreserveFormattingChars 0.028
escapeOnlyLinebreakWithHapi 0
testSimpleEscape 0.002
testTruncationEscape 0
testFormattingCharacters2 0.024
escapeLinebreakWithHapi 0
testFormattingCharacters 0.059

GroovyCustomModelClassFactoryTest

testMappings 0.104

PipeParserTest

testParseWithCustomClasses 0.044
testParseWithNullCustomClasses 0.018
testParseWithCustomGroovyClasses 0.202
testParseWithoutCustomClasses 0.022
testParseWithoutCustomGroovyClasses 0.027

ClosureMessageRuleTest

testTest 0.05

ClosurePrimitiveTypeRuleTest

testTest 0.017
testCorrect 0.001

Back to top

Version: 3.5-SNAPSHOT. Last Published: 2018-04-23.

Reflow Maven skin by Andrius Velykis.