Improve status module

This commit is contained in:
Daniel
2019-01-29 16:20:06 +01:00
parent e8b5cedc9d
commit 321f3feec5
13 changed files with 342 additions and 107 deletions

View File

@@ -5,10 +5,9 @@ import "testing"
func TestSet(t *testing.T) {
// only test for panics
SetCurrentSecurityLevel(0)
SetSelectedSecurityLevel(0)
SetThreatLevel(0)
SetPortmasterStatus(0)
SetGate17Status(0)
// TODO: write real tests
setSelectedSecurityLevel(0)
SetPortmasterStatus(0, "")
SetGate17Status(0, "")
}