test

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2021 License: LGPL-2.1 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEquals

func AssertEquals(tb testing.TB, expected, actual interface{})

AssertEquals will return a fatal error if expected argument is equal to actual argument

func AssertNoError

func AssertNoError(tb testing.TB, err error)

AssertNoError will return a fatal error if error passed as argument is not null.

func AssertNotEquals

func AssertNotEquals(tb testing.TB, expected, actual interface{})

AssertNotEquals will return a fatal error if expected argument is different from actual argument

func SNMPGet

func SNMPGet(tb testing.TB, oid string) string

SNMPGet executes snmpget command and checks for errors. If successful, the output string is returned.

func SNMPGetBulk

func SNMPGetBulk(tb testing.TB, oid string, nonRepeaters, maxRepetitions int) string

SNMPGetBulk executes snmpbulkget command and checks for errors. If successful, the output string is returned.

func SNMPGetNext

func SNMPGetNext(tb testing.TB, oid string) string

SNMPGetNext executes snmpgetnext command and checks for errors. If successful, the output string is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL