Skip to content

Commit

Permalink
test deviceClassOID
Browse files Browse the repository at this point in the history
  • Loading branch information
babos77 committed Aug 26, 2021
1 parent e225bba commit 0fec2ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/communicator/deviceclass/group_properties_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestDeviceClassOID_readOID(t *testing.T) {
}
}

// TestDeviceClassOID_readOIDSkipEmpty tests deviceClassOID.readOid(...) without indices and skipEmpty = true
// TestDeviceClassOID_readOID_skipEmpty tests deviceClassOID.readOid(...) without indices and skipEmpty = true
func TestDeviceClassOID_readOID_skipEmpty(t *testing.T) {
var snmpClient mocks.SNMPClient
ctx := network.NewContextWithDeviceConnection(context.Background(), &network.RequestDeviceConnection{
Expand Down Expand Up @@ -83,7 +83,7 @@ func TestDeviceClassOID_readOID_skipEmpty(t *testing.T) {
}
}

// TestDeviceClassOID_readOIDWithIndices tests deviceClassOID.readOid(...) with indices and skipEmpty = false
// TestDeviceClassOID_readOID_withIndices tests deviceClassOID.readOid(...) with indices and skipEmpty = false
func TestDeviceClassOID_readOID_withIndices(t *testing.T) {
var snmpClient mocks.SNMPClient
ctx := network.NewContextWithDeviceConnection(context.Background(), &network.RequestDeviceConnection{
Expand Down Expand Up @@ -122,7 +122,7 @@ func TestDeviceClassOID_readOID_withIndices(t *testing.T) {
}
}

// TestDeviceClassOID_readOIDWithIndicesSkipEmpty tests deviceClassOID.readOid(...) with indices and skipEmpty = true
// TestDeviceClassOID_readOID_withIndicesSkipEmpty tests deviceClassOID.readOid(...) with indices and skipEmpty = true
func TestDeviceClassOID_readOID_withIndicesSkipEmpty(t *testing.T) {
var snmpClient mocks.SNMPClient
ctx := network.NewContextWithDeviceConnection(context.Background(), &network.RequestDeviceConnection{
Expand Down

0 comments on commit 0fec2ec

Please sign in to comment.