Add additional functions to the status package
This commit is contained in:
@@ -5,12 +5,14 @@ import "testing"
|
||||
func TestGet(t *testing.T) {
|
||||
|
||||
// only test for panics
|
||||
GetCurrentSecurityLevel()
|
||||
GetSelectedSecurityLevel()
|
||||
GetThreatLevel()
|
||||
GetPortmasterStatus()
|
||||
GetGate17Status()
|
||||
option := GetConfigByLevel("invalid")
|
||||
option()
|
||||
CurrentSecurityLevel()
|
||||
SelectedSecurityLevel()
|
||||
ThreatLevel()
|
||||
PortmasterStatus()
|
||||
Gate17Status()
|
||||
option := ConfigIsActive("invalid")
|
||||
option(0)
|
||||
option = ConfigIsActiveConcurrent("invalid")
|
||||
option(0)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user