func TestRunJobAfterCheckSomeFalse(t *testing.T) { testAfterCheck( t, [][]error{{nil}, {buddha.CheckFalse("dummy false"), buddha.CheckFalse("dummy false")}}, []int{1, DefaultFailures}, DefaultFailures, ) }
func TestRunJobBeforeCheckFalse(t *testing.T) { testBeforeCheck( t, [][]error{{buddha.CheckFalse("dummy false"), buddha.CheckFalse("dummy false")}}, []int{DefaultFailures}, DefaultFailures, false, ) }
func TestRunJobAfterCheckFalseThenTrue(t *testing.T) { testAfterCheck( t, [][]error{{buddha.CheckFalse("dummy false"), nil}}, []int{DefaultFailures}, DefaultFailures, ) }
func TestRunJobSomeUnecessary(t *testing.T) { testNecessityCheck( t, [][]error{{nil}, {buddha.CheckFalse("dummy false")}}, []int{1, 1}, DefaultFailures, true, ) }