Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
59 22 5 0 54.237% 35.704

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
com.ethercis.servicemanager.common.def 1 0 0 0 100% 0.007
com.ethercis.logonservice 4 4 0 0 0% 0.807
com.ethercis.resource 1 0 0 0 100% 1.503
com.ethercis.ehr.knowledge 3 3 0 0 0% 0.58
com.ethercis.servicemanager.common 13 0 0 0 100% 11.63
com.ethercis.vehr 1 1 0 0 0% 1.084
com.ethercis.servicemanager.service 2 0 0 0 100% 0.357
com.ethercis.systemservice 1 0 0 0 100% 2.057
com.ethercis.vehr.parser 4 0 1 0 75% 0.231
com.ethercis.servicemanager.exceptions 1 0 0 0 100% 0.017
com.ethercis.servicemanager.common.property 6 0 0 0 100% 0.041
com.ethercis.vehr.test 15 14 0 0 6.667% 15.099
com.ethercis.servicemanager.cluster 2 0 0 0 100% 0.257
junit.framework 4 0 4 0 0% 0.024
com.ethercis.partyservice 1 0 0 0 100% 2.01

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

com.ethercis.servicemanager.common.def

Class Tests Errors Failures Skipped Success Rate Time
MethodNameTest 1 0 0 0 100% 0.007

com.ethercis.logonservice

Class Tests Errors Failures Skipped Success Rate Time
LogonServiceTest 4 4 0 0 0% 0.807

com.ethercis.resource

Class Tests Errors Failures Skipped Success Rate Time
ResourceAccessServiceTest 1 0 0 0 100% 1.503

com.ethercis.ehr.knowledge

Class Tests Errors Failures Skipped Success Rate Time
CacheKnowledgeServiceTest 3 3 0 0 0% 0.58

com.ethercis.servicemanager.common

Class Tests Errors Failures Skipped Success Rate Time
FileLocatorTest 1 0 0 0 100% 0.077
StringPairTokenizerTest 1 0 0 0 100% 0.004
IsoDateParserTest 1 0 0 0 100% 0.008
Base64Test 1 0 0 0 100% 0
TimeoutTest 1 0 0 0 100% 10.014
IsoDateJodaTest 1 0 0 0 100% 0.083
CommandParserTest 1 0 0 0 100% 0.052
TimeStampTest 1 0 0 0 100% 0.349
jcryptTest 1 0 0 0 100% 0.007
ReplaceVariableTest 1 0 0 0 100% 0.001
EncodableDataTest 1 0 0 0 100% 0.002
XmlBufferTest 1 0 0 0 100% 0.011
ThreadListerTest 1 0 0 0 100% 1.022

com.ethercis.vehr

Class Tests Errors Failures Skipped Success Rate Time
LauncherTest 1 1 0 0 0% 1.084

com.ethercis.servicemanager.service

Class Tests Errors Failures Skipped Success Rate Time
ServiceClassScannerTest 1 0 0 0 100% 0.311
ServiceHolderSaxFactoryTest 1 0 0 0 100% 0.046

com.ethercis.systemservice

Class Tests Errors Failures Skipped Success Rate Time
SystemServiceTest 1 0 0 0 100% 2.057

com.ethercis.vehr.parser

Class Tests Errors Failures Skipped Success Rate Time
EhrScapeURIParserTest 4 0 1 0 75% 0.231

com.ethercis.servicemanager.exceptions

Class Tests Errors Failures Skipped Success Rate Time
ServiceManagerExceptionTest 1 0 0 0 100% 0.017

com.ethercis.servicemanager.common.property

Class Tests Errors Failures Skipped Success Rate Time
PropStringTest 1 0 0 0 100% 0.007
PropertyTest 1 0 0 0 100% 0.001
PropDoubleTest 1 0 0 0 100% 0.004
PropIntTest 1 0 0 0 100% 0.004
PropLongTest 1 0 0 0 100% 0.024
PropBooleanTest 1 0 0 0 100% 0.001

com.ethercis.vehr.test

Class Tests Errors Failures Skipped Success Rate Time
AccessGateTest 6 6 0 0 0% 0.018
EhrHttpServerTest 9 8 0 0 11.111% 15.081

com.ethercis.servicemanager.cluster

Class Tests Errors Failures Skipped Success Rate Time
ClusterLoaderTest 1 0 0 0 100% 0.238
ContextNodeTest 1 0 0 0 100% 0.019

junit.framework

Class Tests Errors Failures Skipped Success Rate Time
TestSuite$1 1 0 1 0 0% 0.001
TestSuite$1 2 0 2 0 0% 0.005
TestSuite$1 1 0 1 0 0% 0.018

com.ethercis.partyservice

Class Tests Errors Failures Skipped Success Rate Time
PartyIdentifiedServiceTest 1 0 0 0 100% 2.01

Test Cases

[Summary] [Package List] [Test Cases]

ClusterLoaderTest

testInit 0.223

TestSuite$1

warning 0.001
No tests found in com.ethercis.servicemanager.jmx.LowMemoryDetectorTest

MethodNameTest

testMethodName 0.003

FileLocatorTest

testLocator 0.077

StringPairTokenizerTest

testTokenize 0.001

PropStringTest

testString 0.006

IsoDateParserTest

testParser 0.008

Base64Test

testEncode 0

ContextNodeTest

testArgument 0.017

ServiceManagerExceptionTest

testSME 0.015

PropertyTest

testProperty 0

TimeoutTest

testTimeout 10.012

IsoDateJodaTest

testDateJoda 0.081

PropDoubleTest

testPropDoubleTest 0.002

CommandParserTest

testParse 0.052

TimeStampTest

testTimeStampLong 0.341

TestSuite$1

warning 0
Test method isn't public: testToString(com.ethercis.servicemanager.common.TimeStampTest)
warning 0.005
Test method isn't public: testValueOf(com.ethercis.servicemanager.common.TimeStampTest)

PropIntTest

testPropInt 0.002

TestSuite$1

warning 0.018
No tests found in com.ethercis.servicemanager.common.def.SysErrorCodeTest

jcryptTest

testCrypt 0.003

ReplaceVariableTest

testReplace 0.001

ServiceClassScannerTest

testScan 0.301

EncodableDataTest

testEncodable 0

XmlBufferTest

testXmlBuffer 0.002

PropLongTest

testPropLong 0.021

ServiceHolderSaxFactoryTest

testHolder 0.044

PropBooleanTest

testPropBooleanTest 0

ThreadListerTest

testListener 1.021

LogonServiceTest

testUnsecureLogon 0.056
ServiceManagerException errorCode=[resource.configuration] serverSideException=true node=[ehrserver] location=[com.ethercis.logonservice.security.ServiceSecurityManager] message=[#1.0.0 Could not initialize Shiro framework:errorCode=internal.illegalArgument message=#1.0.0 No ini path supplied for Shiro configuration, please set server.security.shiro.inipath : ]
testUnsecureLogon 0.057
testLogonProperties 0.012
ServiceManagerException errorCode=[resource.configuration] serverSideException=true node=[ehrserver] location=[com.ethercis.logonservice.security.ServiceSecurityManager] message=[#1.0.0 Could not initialize Shiro framework:errorCode=internal.illegalArgument message=#1.0.0 No ini path supplied for Shiro configuration, please set server.security.shiro.inipath : ]
testLogonProperties 0.013

CacheKnowledgeServiceTest

_testReload 0.554
ServiceManagerException serverSideException=true node=[ehrserver] location=[CacheKnowledgeService] stackTrace= versionInfo=version=1.0.0,revision=1.0.0,os.name=Linux,os.version=4.4.0-101-generic,java.vm.vendor=Oracle Corporation,java.vm.version=25.151-b12,os.arch=amd64,build.timestamp=@build.timestamp@,build.java.vendor=@build.java.vendor@,build.java.version=@build.java.version@ errorCode description=http://.../doc/requirements/admin.errorcodes.listing.html#internal.illegalArgument
testOETRetrieval 0.006
ServiceManagerException serverSideException=true node=[ehrserver] location=[CacheKnowledgeService] stackTrace= versionInfo=version=1.0.0,revision=1.0.0,os.name=Linux,os.version=4.4.0-101-generic,java.vm.vendor=Oracle Corporation,java.vm.version=25.151-b12,os.arch=amd64,build.timestamp=@build.timestamp@,build.java.vendor=@build.java.vendor@,build.java.version=@build.java.version@ errorCode description=http://.../doc/requirements/admin.errorcodes.listing.html#internal.illegalArgument
testOPTRetrieval 0.002
ServiceManagerException serverSideException=true node=[ehrserver] location=[CacheKnowledgeService] stackTrace= versionInfo=version=1.0.0,revision=1.0.0,os.name=Linux,os.version=4.4.0-101-generic,java.vm.vendor=Oracle Corporation,java.vm.version=25.151-b12,os.arch=amd64,build.timestamp=@build.timestamp@,build.java.vendor=@build.java.vendor@,build.java.version=@build.java.version@ errorCode description=http://.../doc/requirements/admin.errorcodes.listing.html#internal.illegalArgument

ResourceAccessServiceTest

testInitialized 1.492

PartyIdentifiedServiceTest

testRetrieveParty 2.007

SystemServiceTest

testAccess 2.038

AccessGateTest

testAccessGateService 0
testAccessGateService2 0
testMultiCheckPermission2 0.004
testMultiCheckPermission3 0.003
testCheckPermission 0.003
testMultiCheckPermission 0.002

EhrHttpServerTest

testQuery 4.35
testQueryPost 1.845
Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
testCompositionHandlingFlatJson 1.678
Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
testLoginWithHeader 1.432
Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
testCompositionHandling 1.196
Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
testPrescriptionQuery 1.156
Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
testCreateEhr 1.141
Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
testCompositionHandlingCanonical 1.167
Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
testCompositionHandlingOtherContext 1.11
Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use

LauncherTest

testConnectAndDisconnect 1.079
Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use

EhrScapeURIParserTest

testGraphQLQueryParser 0.21
testTemplateQueryParser 0.006
testEhrQueryParser 0.002
testCompositionQueryParser 0.009
expected:<[XML]> but was:<[RAW]>

Failure Details

[Summary] [Package List] [Test Cases]


warning
junit.framework.AssertionFailedError: No tests found in com.ethercis.servicemanager.jmx.LowMemoryDetectorTest
junit.framework.TestSuite$1:100
warning
junit.framework.AssertionFailedError: Test method isn't public: testToString(com.ethercis.servicemanager.common.TimeStampTest)
junit.framework.TestSuite$1:100
warning
junit.framework.AssertionFailedError: Test method isn't public: testValueOf(com.ethercis.servicemanager.common.TimeStampTest)
junit.framework.TestSuite$1:100
warning
junit.framework.AssertionFailedError: No tests found in com.ethercis.servicemanager.common.def.SysErrorCodeTest
junit.framework.TestSuite$1:100
testUnsecureLogon
com.ethercis.servicemanager.exceptions.ServiceManagerException: ServiceManagerException errorCode=[resource.configuration] serverSideException=true node=[ehrserver] location=[com.ethercis.logonservice.security.ServiceSecurityManager] message=[#1.0.0 Could not initialize Shiro framework:errorCode=internal.illegalArgument message=#1.0.0 No ini path supplied for Shiro configuration, please set server.security.shiro.inipath : ]
com.ethercis.logonservice.LogonServiceTest:58
testUnsecureLogon
java.lang.NullPointerException
com.ethercis.logonservice.LogonServiceTest:77
testLogonProperties
com.ethercis.servicemanager.exceptions.ServiceManagerException: ServiceManagerException errorCode=[resource.configuration] serverSideException=true node=[ehrserver] location=[com.ethercis.logonservice.security.ServiceSecurityManager] message=[#1.0.0 Could not initialize Shiro framework:errorCode=internal.illegalArgument message=#1.0.0 No ini path supplied for Shiro configuration, please set server.security.shiro.inipath : ]
com.ethercis.logonservice.LogonServiceTest:58
testLogonProperties
java.lang.NullPointerException
com.ethercis.logonservice.LogonServiceTest:77
_testReload
com.ethercis.servicemanager.exceptions.ServiceManagerException: ServiceManagerException serverSideException=true node=[ehrserver] location=[CacheKnowledgeService] stackTrace= versionInfo=version=1.0.0,revision=1.0.0,os.name=Linux,os.version=4.4.0-101-generic,java.vm.vendor=Oracle Corporation,java.vm.version=25.151-b12,os.arch=amd64,build.timestamp=@build.timestamp@,build.java.vendor=@build.java.vendor@,build.java.version=@build.java.version@ errorCode description=http://.../doc/requirements/admin.errorcodes.listing.html#internal.illegalArgument
com.ethercis.ehr.knowledge.CacheKnowledgeServiceTest:45
testOETRetrieval
com.ethercis.servicemanager.exceptions.ServiceManagerException: ServiceManagerException serverSideException=true node=[ehrserver] location=[CacheKnowledgeService] stackTrace= versionInfo=version=1.0.0,revision=1.0.0,os.name=Linux,os.version=4.4.0-101-generic,java.vm.vendor=Oracle Corporation,java.vm.version=25.151-b12,os.arch=amd64,build.timestamp=@build.timestamp@,build.java.vendor=@build.java.vendor@,build.java.version=@build.java.version@ errorCode description=http://.../doc/requirements/admin.errorcodes.listing.html#internal.illegalArgument
com.ethercis.ehr.knowledge.CacheKnowledgeServiceTest:45
testOPTRetrieval
com.ethercis.servicemanager.exceptions.ServiceManagerException: ServiceManagerException serverSideException=true node=[ehrserver] location=[CacheKnowledgeService] stackTrace= versionInfo=version=1.0.0,revision=1.0.0,os.name=Linux,os.version=4.4.0-101-generic,java.vm.vendor=Oracle Corporation,java.vm.version=25.151-b12,os.arch=amd64,build.timestamp=@build.timestamp@,build.java.vendor=@build.java.vendor@,build.java.version=@build.java.version@ errorCode description=http://.../doc/requirements/admin.errorcodes.listing.html#internal.illegalArgument
com.ethercis.ehr.knowledge.CacheKnowledgeServiceTest:45
testAccessGateService
java.lang.NullPointerException
com.ethercis.vehr.test.AccessGateTest:63
testAccessGateService2
java.lang.NullPointerException
com.ethercis.vehr.test.AccessGateTest:63
testMultiCheckPermission2
java.lang.NullPointerException
com.ethercis.vehr.test.AccessGateTest:63
testMultiCheckPermission3
java.lang.NullPointerException
com.ethercis.vehr.test.AccessGateTest:63
testCheckPermission
java.lang.NullPointerException
com.ethercis.vehr.test.AccessGateTest:63
testMultiCheckPermission
java.lang.NullPointerException
com.ethercis.vehr.test.AccessGateTest:63
testQueryPost
java.lang.IllegalArgumentException: Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
com.ethercis.vehr.test.EhrHttpServerTest:49
testCompositionHandlingFlatJson
java.lang.IllegalArgumentException: Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
com.ethercis.vehr.test.EhrHttpServerTest:49
testLoginWithHeader
java.lang.IllegalArgumentException: Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
com.ethercis.vehr.test.EhrHttpServerTest:49
testCompositionHandling
java.lang.IllegalArgumentException: Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
com.ethercis.vehr.test.EhrHttpServerTest:49
testPrescriptionQuery
java.lang.IllegalArgumentException: Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
com.ethercis.vehr.test.EhrHttpServerTest:49
testCreateEhr
java.lang.IllegalArgumentException: Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
com.ethercis.vehr.test.EhrHttpServerTest:49
testCompositionHandlingCanonical
java.lang.IllegalArgumentException: Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
com.ethercis.vehr.test.EhrHttpServerTest:49
testCompositionHandlingOtherContext
java.lang.IllegalArgumentException: Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
com.ethercis.vehr.test.EhrHttpServerTest:49
testConnectAndDisconnect
java.lang.IllegalArgumentException: Could not bind to network interface (localhost/127.0.0.1:8080), exception:java.net.BindException: Address already in use
com.ethercis.vehr.LauncherTest:22
testCompositionQueryParser
junit.framework.ComparisonFailure: expected:<[XML]> but was:<[RAW]>
com.ethercis.vehr.parser.EhrScapeURIParserTest:157