19 lines
297 B
Go
19 lines
297 B
Go
package status
|
|
|
|
import "testing"
|
|
|
|
func TestGet(t *testing.T) {
|
|
|
|
// only test for panics
|
|
CurrentSecurityLevel()
|
|
SelectedSecurityLevel()
|
|
ThreatLevel()
|
|
PortmasterStatus()
|
|
Gate17Status()
|
|
option := ConfigIsActive("invalid")
|
|
option(0)
|
|
option = ConfigIsActiveConcurrent("invalid")
|
|
option(0)
|
|
|
|
}
|