Skip to content

fixed url

fixed url #84

GitHub Actions / Unit Test Report succeeded Jan 10, 2024 in 1s

Unit Test Report ✅

Tests passed successfully

✅ Services/Netmon.SNMPPolling/TestResults/test-results.trx

34 tests were completed in 2s with 34 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Netmon.SNMPPolling.SNMP.UnitTests.Security.PrivacyProviderTests 12✅ 21ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Converter.Component.MIBCpuConverterTests 3✅ 32ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Converter.Component.MIBDiskConverterTests 3✅ 7ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Converter.Component.MIBInterfaceConverterTests 2✅ 22ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Converter.Component.MIBMemoryConverterTests 3✅ 5ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Converter.Device.MIBDeviceConverterTests 2✅ 11ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.HostResources.HrDeviceTests 1✅ 23ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.HostResources.HrStorageTests 1✅ 5ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.If.InterfaceTests 1✅ 7ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.If.InterfaceXTests 1✅ 5ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.System.SystemMIBTests 1✅ 4ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.UCDavis.CpuLoadTests 1✅ 2ms
Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Result.SNMPResultTests 3✅ 3ms

✅ Netmon.SNMPPolling.SNMP.UnitTests.Security.PrivacyProviderTests

✅ GetPrivacyProvider_ShouldReturnAES192PrivacyProvider_WhenAES192ProtocolIsSelected
✅ GetPrivacyProvider_ShouldReturnAESPrivacyProvider_WhenAESProtocolIsSelected(SHA256,AES)
✅ GetPrivacyProvider_ShouldReturnAESPrivacyProvider_WhenAESProtocolIsSelected(SHA256,AES192)
✅ GetPrivacyProvider_ShouldReturnAESPrivacyProvider_WhenAESProtocolIsSelected(SHA256,AES256)
✅ GetPrivacyProvider_ShouldReturnAESPrivacyProvider_WhenAESProtocolIsSelected(SHA384,AES)
✅ GetPrivacyProvider_ShouldReturnAESPrivacyProvider_WhenAESProtocolIsSelected(SHA384,AES192)
✅ GetPrivacyProvider_ShouldReturnAESPrivacyProvider_WhenAESProtocolIsSelected(SHA384,AES256)
✅ GetPrivacyProvider_ShouldReturnAESPrivacyProvider_WhenAESProtocolIsSelected(SHA512,AES)
✅ GetPrivacyProvider_ShouldReturnAESPrivacyProvider_WhenAESProtocolIsSelected(SHA512,AES192)
✅ GetPrivacyProvider_ShouldReturnAESPrivacyProvider_WhenAESProtocolIsSelected(SHA512,AES256)
✅ GetPrivacyProvider_ShouldThrowUnknownAuthProtocolException_WhenUnknownAuthProtocolIsSelected
✅ GetPrivacyProvider_ShouldThrowUnknownPrivacyProtocolException_WhenUnknownPrivacyProtocolIsSelected

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Converter.Component.MIBCpuConverterTests

✅ ConvertMIBsToComponent_ShouldReturnCpuWithCoresAndMetrics_WhenHostResourcesMIBExists
✅ ConvertMIBsToComponent_ShouldReturnCpuWithMetrics_WhenUCDavisMIBExists
✅ ConvertMIBsToComponent_ShouldReturnEmptyList_WhenNoHostResourcesMIB

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Converter.Component.MIBDiskConverterTests

✅ ConvertMIBsToComponent_ShouldReturnDisksWithMetrics_WhenHostResourcesMIBExists
✅ ConvertMIBsToComponent_ShouldReturnEmptyList_WhenNoHostResourcesMIB
✅ ConvertMIBsToComponent_ShouldSkipNonFixedDisks_WhenHostResourcesMIBExists

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Converter.Component.MIBInterfaceConverterTests

✅ ConvertMIBsToComponent_ShouldReturnEmptyList_WhenNoIfMIB
✅ ConvertMIBsToComponent_ShouldReturnInterfacesWithMetrics_WhenIfMIBExists

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Converter.Component.MIBMemoryConverterTests

✅ ConvertMIBsToComponent_ShouldReturnEmptyList_WhenNoHostResourcesMIB
✅ ConvertMIBsToComponent_ShouldReturnMemoryWithMetrics_WhenHostResourcesMIBExists
✅ ConvertMIBsToComponent_ShouldSkipNonRamStorage_WhenHostResourcesMIBExists

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Converter.Device.MIBDeviceConverterTests

✅ ConvertMIBsToDevice_ShouldReturnDeviceWithConnectionInfo_WhenSystemMIBExists
✅ ConvertMIBsToDevice_ShouldReturnDeviceWithDefaultConnectionInfo_WhenSystemMIBDoesNotExist

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.HostResources.HrDeviceTests

✅ HrDeviceDeserializer_ShouldReturnHrDevice_WhenValidISNMPResult

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.HostResources.HrStorageTests

✅ HrStorageTableDeserializer_ShouldReturnHrStorageTable_WhenValidISNMPResult

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.If.InterfaceTests

✅ IfTableDeserializer_ShouldReturnIfTable_WhenValidISNMPResult

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.If.InterfaceXTests

✅ IfXTableDeserializer_ShouldReturnIfTable_WhenValidISNMPResult

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.System.SystemMIBTests

✅ SystemMIB_ShouldReturnSystemMIB_WhenValidISNMPResult

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.MIB.UCDavis.CpuLoadTests

✅ CpuLoadTableDeserializer_ShouldReturnCpuLoadTable_WhenValidISNMPResult

✅ Netmon.SNMPPolling.SNMP.UnitTests.SNMP.Result.SNMPResultTests

✅ GetEntries_GivenOID_FiltersAndGroupsCorrectly(System.Collections.Generic.List`1[Lextm.SharpSnmpLib.Variable],"1.3.6.1.2",3)
✅ GetTable_GivenOID_FiltersCorrectly(System.Collections.Generic.List`1[Lextm.SharpSnmpLib.Variable],"1.3.6.1.2",3)
✅ Variables_Set_GetsCorrectVariables(System.Collections.Generic.List`1[Lextm.SharpSnmpLib.Variable])