func testExist(t *testing.T, name string, toExist bool) { if tests.TestExistAndRun(name, "actions", 1, toExist, false) { t.Fail() } }
func testExistAndRun(t *testing.T, servName string, containerNumber int, toExist, toRun bool) { if tests.TestExistAndRun(servName, "services", containerNumber, toExist, toRun) { tests.IfExit(nil) } }
func testExistAndRun(t *testing.T, servName string, containerNumber int, toExist, toRun bool) { if err := tests.TestExistAndRun(servName, "service", containerNumber, toExist, toRun); err != nil { fatal(t, nil) } }
func testExistAndRun(t *testing.T, chainName string, toExist, toRun bool) { if err := tests.TestExistAndRun(chainName, "chain", 1, toExist, toRun); err != nil { tests.IfExit(nil) } }
func testExistAndRun(t *testing.T, chainName string, toExist, toRun bool) { if tests.TestExistAndRun(chainName, "chains", 1, toExist, toRun) { tests.IfExit(nil) //error thrown in func (logger.Errorln) } }
func testExist(t *testing.T, name string, toExist bool) { if err := tests.TestExistAndRun(name, "data", 1, toExist, false); err != nil { t.Fail() } }