Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
422000100%16.86

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
net.sf.snmpadaptor4j46000100%0.609
net.sf.snmpadaptor4j.object71000100%0.454
net.sf.snmpadaptor4j.core.accessor11000100%0.094
net.sf.snmpadaptor4j.api.opennms99000100%8.64
net.sf.snmpadaptor4j.core.mapping91000100%0.719
net.sf.snmpadaptor4j.config3000100%0.078
net.sf.snmpadaptor4j.mbean18000100%0.532
net.sf.snmpadaptor4j.core.trap20000100%4.546
net.sf.snmpadaptor4j.core63000100%1.188

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

net.sf.snmpadaptor4j

ClassTestsErrors FailuresSkippedSuccess RateTime
SnmpAdaptorTest35000100%0.5
SnmpManagerConfigurationTest11000100%0.109

net.sf.snmpadaptor4j.object

ClassTestsErrors FailuresSkippedSuccess RateTime
GenericSnmpTrapTest12000100%0.063
SnmpOidTest38000100%0.188
SnmpTrapDataTest9000100%0.094
SpecificSnmpTrapTest12000100%0.109

net.sf.snmpadaptor4j.core.accessor

ClassTestsErrors FailuresSkippedSuccess RateTime
MBeanAttributeAccessorTest11000100%0.094

net.sf.snmpadaptor4j.api.opennms

ClassTestsErrors FailuresSkippedSuccess RateTime
OpennmsSnmpApiFactoryTest3000100%0.047
OpennmsSnmpDaemonTest43000100%0.546
OpennmsSnmpTrapSenderTest30000100%2.953
OpennmsSupportTest23000100%5.094

net.sf.snmpadaptor4j.core.mapping

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultDataMapTrapMappingTest10000100%0.094
GenericSnmpTrapMappingTest10000100%0.11
MapDataMapTrapMappingTest12000100%0
MBeanAttributeMappingTest13000100%0
SimpleDataMapTrapMappingTest12000100%0.109
SpecificSnmpTrapMappingTest10000100%0.094
UserDataEntryDataMapTrapMappingTest10000100%0.203
XmlMappingParserTest14000100%0.109

net.sf.snmpadaptor4j.config

ClassTestsErrors FailuresSkippedSuccess RateTime
XmlConfigParserTest3000100%0.078

net.sf.snmpadaptor4j.mbean

ClassTestsErrors FailuresSkippedSuccess RateTime
SystemInfoTest18000100%0.532

net.sf.snmpadaptor4j.core.trap

ClassTestsErrors FailuresSkippedSuccess RateTime
SnmpManagersTest6000100%4.5
SnmpTrapBuilderTest14000100%0.046

net.sf.snmpadaptor4j.core

ClassTestsErrors FailuresSkippedSuccess RateTime
JmxListenerTest18000100%0.5
JmxNotificationManagerTest12000100%0.313
JmxSnmpMibTest21000100%0.281
SystemSnmpMibTest12000100%0.094

Test Cases

[Summary] [Package List] [Test Cases]

OpennmsSnmpApiFactoryTest

testNewSnmpDaemon0.016
testNewSnmpTrapSender0.031
testToString0

OpennmsSnmpDaemonTest

testToString0.015
testStartStopWithSNMPv10.016
testStartStopWithSNMPv20.094
testStartStopWithDefaultVersion0
testReStart0
testReStop0
testSnmpAgentSessionError0
testSnmpReceivedPduUnhandled0
testSnmpReceivedPduWithUnableToSendAnyResponse0
testSnmpReceivedPduWithErrTooBigAndUnableToSendError0
testSnmpReceivedPduWithUnableToSendTheResponse0
testSnmpReceivedPduWithErrTooBig0.015
testSnmpReceivedPduWithSnmpException0.094
testSnmpReceivedPduWithOtherException0
testSnmpReceivedPduWithNoResultFound0.203
testSnmpReceivedPduWithResultNonRepeatersFound0
testSnmpReceivedPduWithResult100RepeatersFound0
testSnmpReceivedPduWithResult1RepeaterFound0
testSnmpReceivedGetUnhandled0
testSnmpReceivedGetWithErrTooBig0
testSnmpReceivedGetV1WithSnmpException0
testSnmpReceivedGetV1WithOtherException0
testSnmpReceivedGetV1WithGetNextAndNoResultFound0
testSnmpReceivedGetV1WithGetNextAnd1result0
testSnmpReceivedGetV1WithGetNextAnd2results0
testSnmpReceivedGetV1WithNoGetNextAndNoResultFound0
testSnmpReceivedGetV1WithNoGetNextAnd1result0
testSnmpReceivedGetV1WithNoGetNextAnd2results0
testSnmpReceivedGetV2WithNoResultFound0
testSnmpReceivedGetV2WithResultNonRepeatersFound0
testSnmpReceivedGetV2WithResult100RepeatersFound0
testSnmpReceivedGetV2WithResult1RepeaterFound0
testSnmpReceivedSetWithErrTooBig0
testSnmpReceivedSetWithSnmpException0
testSnmpReceivedSetWithOtherException0
testSnmpReceivedSetWithNoResultFound0.109
testSnmpReceivedSetWith1ResultFound0
testSnmpReceivedSetWith2ResultsFound0
testNewSnmpValueWithNotReadable0
testNewSnmpValueWithGetValueException0
testSetValueWithNotReadable0
testSetValueWithNotWritable0
testSetValueWithSetValueException0

OpennmsSnmpTrapSenderTest

testToString0
testOpenClose0
testReOpening0
testReClosing0
testSendV1WithNoSession0
testSendV1WithNoSource0.11
testSendV1Specific0.187
testSendV1ColdStart0
testSendV1WarmStart0.109
testSendV1LinkDown0.172
testSendV1LinkUp0.188
testSendV1AuthenticationFailure0.172
testSendV1EgpNeighborLoss0.156
testSendV1UnknownGeneric0.109
testSendV1Unknown0.11
testSendV2WithNoSession0.015
testSendV2WithNoSource0.016
testSendV2Specific0.187
testSendV2ColdStart0.188
testSendV2WarmStart0.172
testSendV2LinkDown0.187
testSendV2LinkUp0.188
testSendV2AuthenticationFailure0.187
testSendV2EgpNeighborLoss0.188
testSendV2UnknownGeneric0.125
testSendV2Unknown0.109
testSnmpReceivedPdu0.031
testSnmpInternalError0.016
testSnmpTimeoutError0.016
testGetName0.015

OpennmsSupportTest

testNewSnmpValueWithInteger320.078
testNewSnmpValueWithUnsigned320
testNewSnmpValueWithGauge320
testNewSnmpValueWithCounter320
testNewSnmpValueWithCounter640.297
testNewSnmpValueWithTimeTicks0
testNewSnmpValueWithOctetString0
testNewSnmpValueWithIpAddress4.219
testNewSnmpValueWithObjectIdentifier0.015
testNewSnmpValueWithOpaque0.094
testNewSnmpValueWithUnhandledType0.016
testNewJmxValueWithNull0
testNewJmxValueWithInteger320
testNewJmxValueWithUnsigned320.015
testNewJmxValueWithGauge320.141
testNewJmxValueWithCounter320
testNewJmxValueWithCounter640
testNewJmxValueWithTimeTicks0
testNewJmxValueWithOctetString0.016
testNewJmxValueWithIpAddress0
testNewJmxValueWithObjectIdentifier0
testNewJmxValueWithOpaque0.203
testNewJmxValueWithUnhandledType0

XmlConfigParserTest

testToString0
testNewInstance10.078
testNewInstance20

MBeanAttributeAccessorTest

testToString0
testGetMBeanName0
testGetOid0
testGetSnmpDataType0
testGetJmxDataType0
testGetValue0
testSetValue0
testIsReadable0
testIsWritable0.094
testToStringWithError10
testToStringWithError20

JmxListenerTest

testToString0
testOpenClose0.109
testReOpen0.031
testReClose0
testHandleNotificationWithNoneHandback0.016
testHandleNotificationFromAnotherMBeanServer0
testHandleNotificationWithOtherNotification0
testHandleNotificationWithRegistrationError0
testHandleNotificationWithUnregistrationError0.047
testHandleNotificationWithUnknownType0
testHandleRegistrationNotificationForUnknownMBean0
testHandleRegistrationNotificationWithAnotherClassLoader0.016
testHandleRegistrationNotificationWithoutMappingFile0
testHandleRegistrationNotificationWithoutMap0.031
testHandleRegistrationNotificationWithBaseOidFromMappingFile0.094
testHandleRegistrationNotificationWithBaseOidFromAppContext0.078
testHandleRegistrationNotificationWithMissingBaseOid0.078
testHandleUnregistrationNotification0

JmxNotificationManagerTest

testToString0
testRegisterWithEmptyMappingMap0.11
testRegisterWithException0.094
testRegister0.109
testUnregisterAll0
testUnregisterMBeanWithoutNotificationListener0
testUnregisterWithException0
testUnregister0
testHandleNotificationInDisabledStatus0
testHandleNotificationWithoutTrap0
testHandleNotificationWithException0
testHandleNotification0

JmxSnmpMibTest

testToString0
testUnregisterAllAttributes0.281
testRegisterAttributes0
testUnregisterAttributesNotRegistered0
testUnregisterAttributes0
testCheckDataTypeForInteger320
testCheckDataTypeForUnsigned320
testCheckDataTypeForGauge320
testCheckDataTypeForCounter320
testCheckDataTypeForCounter640
testCheckDataTypeForTimeTicks0
testCheckDataTypeForOctetString0
testCheckDataTypeForIpAddress0
testCheckDataTypeForObjectIdentifier0
testCheckDataTypeForOpaque0
testFindNotFound0
testFindFoundByOtherMib0
testFindFound0
testNext0
testNextWithEndReached0
testNextSet0

DefaultDataMapTrapMappingTest

testToString0
testDefaultDataMapTrapMapping0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0
testEqualsWithItself0
testEqualsWithSameDefaultDataMapTrapMapping0
testEqualsWithDifferentSequenceNumberOid0
testEqualsWithDifferentMessageOid0
testEqualsWithDifferentHasSystemInfo0.094

GenericSnmpTrapMappingTest

testToString0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0
testEqualsWithItself0
testGenericSnmpTrapMapping0
testEqualsWithSameGenericSnmpTrapMapping0
testEqualsWithDifferentSource0
testEqualsWithDifferentDataMap0
testEqualsWithDifferentType0.11

MapDataMapTrapMappingTest

testToString0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0
testEqualsWithItself0
testEqualsWithDifferentSequenceNumberOid0
testEqualsWithDifferentMessageOid0
testEqualsWithDifferentHasSystemInfo0
testMapDataMapTrapMapping0
testAddUserDataEntry0
testEqualsWithSameMapDataMapTrapMapping0
testEqualsWithDifferentUserDataEntry0

MBeanAttributeMappingTest

testToString0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0
testEqualsWithItself0
testMBeanAttributeMapping0
testEqualsWithSameMBeanAttributeMapping0
testEqualsWithDifferentOid0
testEqualsWithDifferentAttributeName0
testEqualsWithDifferentSnmpDataType0
testEqualsWithDifferentJmxDataType0
testEqualsWithDifferentReadable0
testEqualsWithDifferentWritable0

SimpleDataMapTrapMappingTest

testToString0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0
testEqualsWithItself0
testEqualsWithDifferentSequenceNumberOid0
testEqualsWithDifferentMessageOid0
testEqualsWithDifferentHasSystemInfo0.109
testSimpleDataMapTrapMapping0
testEqualsWithSameSimpleDataMapTrapMapping0
testEqualsWithDifferentUserDataType0
testEqualsWithDifferentUserDataOid0

SpecificSnmpTrapMappingTest

testToString0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0.094
testEqualsWithItself0
testEqualsWithDifferentSource0
testEqualsWithDifferentDataMap0
testEqualsWithDifferentType0
testSpecificSnmpTrapMapping0
testEqualsWithSameSpecificSnmpTrapMapping0

UserDataEntryDataMapTrapMappingTest

testToString0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0
testEqualsWithItself0.109
testEqualsWithDifferentType0
testEqualsWithDifferentUserDataOid0
testUserDataEntryDataMapTrapMapping0
testEqualsWithSameUserDataEntryDataMapTrapMapping0.094
testEqualsWithDifferentKey0

XmlMappingParserTest

testFindBaseOidInEmptyFile0
testFindBaseOidForUnsuccessful0.094
testFindBaseOidWithSpecificRoot0
testFindBaseOidWithUnknownSpecificRoot10
testFindBaseOidWithUnknownSpecificRoot20.015
testFindBaseOidWithDefaultRoot0
testFindBaseOidWithMainDefaultRoot0
testNewMBeanAttributeMappingList0
testNewSnmpTrapMappingMapInEmptyFile0
testNewSnmpTrapMappingMapWithoutVariableBindings0
testNewSnmpTrapMappingMapWithoutUserData0
testNewSnmpTrapMappingMapWithoutSequenceNumberAndMessage0
testNewSnmpTrapMappingMap0
testToString10

SystemSnmpMibTest

testToString0
testFindNotFound0
testFindFound0
testNext0
testNextWithEndReached0
testNextSet0
testInitSysObjectIDSetWithNoneRootOid0
testInitSysObjectIDSetWithOneRootOid0.094
testInitSysObjectIDSet0
testGetSnmpDataTypeForUnknownAttribute0
testGetJmxDataTypeForUnknownAttribute0
testGetValueForUnknownAttribute0

SnmpManagersTest

testToString0
testInitialize0
testSendAndClose3.484
testSendWithException0.047
testCloseWithException0.016
testCloseWithDoubleCheckedLocking0.953

SnmpTrapBuilderTest

testToString0
testGetMappingMap0
testNewGenericTrap0
testNewSpecificTrap0
testNewMissingTrap0
testNewDefaultDataMap0.015
testNewDataMapWithSimpleUserDataAsNull0
testNewDataMapWithSimpleUserDataAsMap0.016
testNewDataMapWithSimpleUserData0
testNewDataMapWithMapUserDataAsNull0
testNewDataMapWithMapUserDataAsNoMap0
testNewDataMapWithMapUserDataAsEmpty0.015
testNewDataMapWithMapUserData10
testNewDataMapWithMapUserData20

SystemInfoTest

testToString0
testSystemInfoWithNoneParameter0
testSystemInfoWithMinimumParameters0
testSystemInfoWithAllParameters0
testSystemInfoWithAllParametersOfEmptyStrings0
testSetSysName0
testSetSysNameWithNull0.016
testSetSysNameWithEmptyString0.078
testSetSysDescr0
testSetSysDescrWithNull0
testSetSysDescrWithEmptyString0
testSetSysLocation0
testSetSysLocationWithNull0
testSetSysLocationWithEmptyString0
testSetSysContact0
testSetSysContactWithNull0
testSetSysContactWithEmptyString0
testGetSysUpTime0.438

GenericSnmpTrapTest

testToString0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0
testEqualsWithItself0
testEqualsWithDifferentSource0
testEqualsWithDifferentDataMap0
testEqualsWithDifferentType0.047
testSnmpTrapGeneric0
testTraceTo0
testEqualsWithSameGenericSnmpTrap0.016
testEqualsWithDifferentTimeStamp0

SnmpOidTest

testToString0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0.016
testEqualsWithItself0
testEqualsWithDifferentOid0
testNewInstanceWithStringValueAndNodeNumber0.063
testNewInstanceWithStringValue0
testNewInstanceWithNumericSequenceAndIndex0
testNewInstanceWithNumericSequence0
testEqualsWithSameOid0
testEqualsWithOidInArray0
testEqualsWithOidOutsideArray0
testEqualsWithChildOid0
testEqualsWithNonChildOid0
testEqualsWithoutIndexWithNull0
testEqualsWithoutIndexWithItself0
testEqualsWithoutIndexWithSameOid0
testEqualsWithoutIndexWithDifferentOid0
testEqualsWithoutIndexWithOidInArray0
testEqualsWithoutIndexWithOidOutsideArray0
testEqualsWithoutIndexWithChildOid0
testEqualsWithoutIndexWithNonChildOid0
testIsRootOfWithNull0
testIsRootOfWithItself0
testIsRootOfWithSameOid0
testIsRootOfWithDifferentOid0.109
testIsRootOfWithOidInArray0
testIsRootOfWithOidOutsideArray0
testIsRootOfWithChildOid0
testIsRootOfWithNonChildOid0
testCompareToWithEqualOid0
testCompareToWithSmallerOid10
testCompareToWithSmallerOid20
testCompareToWithSmallerOid30
testCompareToWithLargestOid10
testCompareToWithLargestOid20
testCompareToWithLargestOid30

SnmpTrapDataTest

testToString0
testHashCode0
testEqualsWithNull0.094
testEqualsWithAnotherObject0
testEqualsWithItself0
testEqualsWithDifferentType0
testSnmpTrapData0
testEqualsWithSameSnmpTrapData0
testEqualsWithDifferentValue0

SpecificSnmpTrapTest

testToString0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0
testEqualsWithItself0.109
testEqualsWithDifferentSource0
testEqualsWithDifferentDataMap0
testEqualsWithDifferentType0
testTraceTo0
testEqualsWithDifferentTimeStamp0
testSnmpTrapSpecific0
testEqualsWithSameSpecificSnmpTrap0

SnmpAdaptorTest

testToString0
testSnmpAdaptorWithMinimumParameters0.094
testSnmpAdaptorWithSnmpAppContext0
testSnmpAdaptorWithUrl0
testSnmpAdaptorWithUrlAndSystemInfo0
testSnmpAdaptorWithAllParameters0
testAddAppContext0
testRemoveAppContext0
testSetListenerAddressWithoutChanging0
testSetListenerAddressWithChanging0
testSetListenerAddressWithException0.109
testSetListenerPortWithoutChanging0
testSetListenerPortWithChanging0
testSetListenerPortWithException0
testSetListenerSnmpVersionWithoutChanging0
testSetListenerSnmpVersionWithChanging0
testSetListenerSnmpVersionWithException0
testSetListenerSnmpVersionWithMinimumOverlimit0
testSetListenerSnmpVersionWithMaximumOverlimit0
testSetListenerReadCommunityWithoutChanging0
testSetListenerReadCommunityWithChanging0
testSetListenerReadCommunityWithException0
testSetListenerWriteCommunityWithoutChanging0.094
testSetListenerWriteCommunityWithChanging0
testSetListenerWriteCommunityWithException0
testStartSuccessfully0.109
testStartFailure0
testStopSuccessfully0
testStopFailure0
testIsStarted0
testFormatAttributeWithNullValue0.094
testFormatAttributeWithEmptyString0
testFormatAttribute0
testPreRegister0
testPreDeregister0

SnmpManagerConfigurationTest

testToString0
testHashCode0
testEqualsWithNull0
testEqualsWithAnotherObject0
testEqualsWithItself0
testSnmpManager0
testEqualsWithSameManager0
testEqualsWithDifferentAddress0
testEqualsWithDifferentPort0.109
testEqualsWithDifferentVersion0
testEqualsWithDifferentCommunity0