Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
143 0 0 0 100% 35.056

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.github.mk23.jmxproxy.conf.tests 1 0 0 0 100% 0.413
com.github.mk23.jmxproxy.util.tests 36 0 0 0 100% 0.05
com.github.mk23.jmxproxy.tests 33 0 0 0 100% 31.576
com.github.mk23.jmxproxy.jmx.tests 26 0 0 0 100% 2.572
com.github.mk23.jmxproxy.core.tests 47 0 0 0 100% 0.445

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

com.github.mk23.jmxproxy.conf.tests

Class Tests Errors Failures Skipped Success Rate Time
AppConfigTest 1 0 0 0 100% 0.413

com.github.mk23.jmxproxy.util.tests

Class Tests Errors Failures Skipped Success Rate Time
HistoryTest 36 0 0 0 100% 0.05

com.github.mk23.jmxproxy.tests

Class Tests Errors Failures Skipped Success Rate Time
JMXProxyResourceTest 27 0 0 0 100% 21.244
JMXProxyApplicationTest 6 0 0 0 100% 10.332

com.github.mk23.jmxproxy.jmx.tests

Class Tests Errors Failures Skipped Success Rate Time
TimeoutRMISocketFactoryTest 5 0 0 0 100% 0.985
ConnectionManagerTest 6 0 0 0 100% 1.554
ConnectionCredentialsTest 15 0 0 0 100% 0.033

com.github.mk23.jmxproxy.core.tests

Class Tests Errors Failures Skipped Success Rate Time
HostTest 11 0 0 0 100% 0.076
MBeanTest 16 0 0 0 100% 0.191
AttributeTest 20 0 0 0 100% 0.178

Test Cases

[Summary] [Package List] [Test Cases]

JMXProxyResourceTest

checkInvalidAuthFormEmptyMBean 2.703
checkInvalidAuthGet 0.285
checkValidAuthFormHost 1.021
checkInvalidAuthFormMBean 0.413
checkInvalidAuthJsonNullAttribute 0.526
checkValidAuthJsonMBean 0.696
checkValidAuthFormAttribute 0.42
checkInvalidAuthFormNullHost 0.371
checkValidAuthJsonAttribute 0.497
checkInvalidAuthFormEmptyHost 0.241
checkInvalidAuthJsonEmptyHost 0.284
checkInvalidAuthFormHost 0.294
checkInvalidAuthJsonMBean 0.312
checkInvalidAuthJsonNullHost 0.253
checkInvalidAuthFormNullAttribute 0.247
checkValidAuthJsonHost 0.354
checkInvalidAuthFormAttribute 0.148
checkInvalidAuthJsonAttribute 0.172
checkCycledAuthFormAttributePreserveHistory 5.314
checkInvalidAuthJsonEmptyMBean 0.099
checkInvalidAuthJsonHost 0.133
checkValidAuthFormMBean 0.256
checkCycledAuthJsonAttributePreserveHistory 5.236
checkInvalidAuthFormNullMBean 0.117
checkInvalidAuthFormEmptyAttribute 0.12
checkInvalidAuthJsonEmptyAttribute 0.109
checkInvalidAuthJsonNullMBean 0.104

JMXProxyApplicationTest

checkMainValidConfig 6.452
checkApplication 1.373
checkMinificationJS 0.75
checkMinificationCSS 0.621
checkHealthStatusFail 0.638
checkHealthStatusPass 0.486

TimeoutRMISocketFactoryTest

checkClientValidHostValidPort 0.453
checkServerValidPort 0.002
checkClientValidHostInvalidPort 0.017
checkClientInvalidHostValidPort 0.505
checkServerInvalidPort 0

ConnectionManagerTest

checkValidHostAnonymousAuthDisallowed 1.04
checkValidHostValidAuthSwitch 0.3
checkValidHostNullAuth 0.016
checkValidHostValidAuth 0.178
checkValidHostInvalidAuth 0.007
checkValidHostNoAuth 0.008

ConnectionCredentialsTest

checkAnonymousHashCode 0.011
checkAnonymousNotEqualsNull 0.001
checkAuthenticatedNotEqualsInvalid 0.001
checkAuthenticatedEnabled 0
checkAuthenticatedEquals 0
checkAuthenticatedHashCode 0.001
checkAnonymousNotEquals 0.001
checkAnonymousEquals 0.001
checkAuthenticatedNotEqualsBoth 0.001
checkAuthenticatedNotEqualsNull 0.002
checkAuthenticatedNotEqualsPass 0.001
checkAuthenticatedNotEqualsUser 0
checkAnonymousEnabledBoth 0.003
checkAnonymousEnabledPass 0.001
checkAnonymousEnabledUser 0.001

HostTest

checkAddDefaultMBeanBare 0.042
checkAddDefaultMBeanFull 0.003
checkAddDefaultMBeanList 0.012
checkAddExplicitMBeanBare 0.002
checkAddExplicitMBeanFull 0.002
checkAddExplicitMBeanList 0.001
checkRemoveMBean 0.001
checkDuplicateMBean 0
checkMissingMBean 0
checkEmptyHost 0.001
checkEmptyHostMBeanList 0.001

MBeanTest

checkAddMultiAttributeHistoryFullLimit 0.088
checkAddMultiDefaultAttributeHistoryFull 0.004
checkAddMultiExplicitAttributeHistoryFull 0.005
checkAddAttributeExists 0.056
checkEmptyMBean 0.001
checkMissingAttribute 0
checkAddMultiAttributeHistoryBare 0.005
checkAddMultiAttributeHistoryFull 0.003
checkNonexistingAttribute 0.002
checkAddMultiDefaultAttributeBare 0.005
checkAddMultiDefaultAttributeFull 0.002
checkAddSingleDefaultAttributeBare 0.002
checkAddSingleDefaultAttributeFull 0.001
checkAddSingleDefaultAttributeList 0.004
checkAddMultiAttributeHistoryBareLimit 0.002
checkEmptyMBeanAttributeList 0.002

AttributeTest

checkJsonStringInteger 0.069
checkNegativeInt 0.001
checkJsonStringNested 0.055
checkJsonStringString 0.004
checkBoxedDoubleArray 0.002
checkBoolean 0.001
checkBoxedBooleanArray 0.002
checkListListInteger 0.004
checkBoxedIntegerArray 0.003
checkBigInt 0.001
checkDouble 0.003
checkNull 0.001
checkNegativeBigInt 0.001
checkNegativeDouble 0.001
checkString 0.004
checkListInteger 0.003
checkStringArray 0.002
checkInt 0.001
checkListListString 0.003
checkListString 0.002

HistoryTest

check2Single 0.009
check4ArrayFull 0.003
check4ArrayZero 0.001
check3ArrayFull 0
check3ArrayZero 0.001
check2ArrayOne 0
check2ArrayTen 0.001
check2ArrayTwo 0
check100ArrayFull 0.001
check100ArrayZero 0
check2ArrayFull 0
check2ArrayZero 0
check1ArrayFull 0
check1ArrayZero 0
check3Single 0
check0ArrayFull 0
check0ArrayZero 0
check4ArrayOne 0
check4ArrayTen 0.001
check4ArrayTwo 0
check4Single 0
check1ArrayOne 0
check1ArrayTen 0
check1ArrayTwo 0
check0Single 0
check100ArrayOne 0.002
check100ArrayTen 0
check100ArrayTwo 0.001
check3ArrayOne 0
check3ArrayTen 0
check3ArrayTwo 0.001
check1Single 0.002
check100Single 0
check0ArrayOne 0
check0ArrayTen 0
check0ArrayTwo 0

AppConfigTest

checkValidConfiguration 0.411