MCPcopy Create free account
hub / github.com/prometheus/procfs / TestNetDevSNMP6

Function TestNetDevSNMP6

net_dev_snmp6_test.go:21–35  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

19)
20
21func TestNetDevSNMP6(t *testing.T) {
22 fs, err := NewFS(procTestFixtures)
23 if err != nil {
24 t.Fatal(err)
25 }
26
27 netDevSNMP6, err := fs.NetDevSNMP6()
28 if err != nil {
29 t.Fatal(err)
30 }
31
32 if err := validateNetDevSNMP6(netDevSNMP6); err != nil {
33 t.Error(err.Error())
34 }
35}
36
37func TestProcNetDevSNMP6(t *testing.T) {
38 p, err := getProcFixtures(t).Proc(26231)

Callers

nothing calls this directly

Calls 3

NetDevSNMP6Method · 0.95
validateNetDevSNMP6Function · 0.85
NewFSFunction · 0.70

Tested by

no test coverage detected