Lines Matching refs:c
21 func (c *counterOutput) StartAction(action *Action, counts Counts) {
22 *c = counterOutput(counts)
24 func (c *counterOutput) FinishAction(result ActionResult, counts Counts) {
25 *c = counterOutput(counts)
27 func (c counterOutput) Message(level MsgLevel, msg string) {}
28 func (c counterOutput) Flush() {}
30 func (c counterOutput) Write(p []byte) (int, error) {
35 func (c counterOutput) Expect(t *testing.T, counts Counts) {
36 if Counts(c) == counts {
41 if c.TotalActions != counts.TotalActions {
42 t.Errorf("Expected %d total edges, but got %d", counts.TotalActions, c.TotalActions)
44 if c.RunningActions != counts.RunningActions {
45 t.Errorf("Expected %d running edges, but got %d", counts.RunningActions, c.RunningActions)
47 if c.StartedActions != counts.StartedActions {
48 t.Errorf("Expected %d started edges, but got %d", counts.StartedActions, c.StartedActions)
50 if c.FinishedActions != counts.FinishedActions {
51 t.Errorf("Expected %d finished edges, but got %d", counts.FinishedActions, c.FinishedActions)