Lines Matching refs:stat
30 calls func(stat status.StatusOutput)
97 stat := NewStatusOutput(smart, "", false, false)
98 tt.calls(stat)
99 stat.Flush()
108 stat := NewStatusOutput(simple, "", false, false)
109 tt.calls(stat)
110 stat.Flush()
119 stat := NewStatusOutput(smart, "", true, false)
120 tt.calls(stat)
121 stat.Flush()
133 stat status.StatusOutput member
136 func newRunner(stat status.StatusOutput, totalActions int) *runner {
139 stat: stat,
146 r.stat.StartAction(action, r.counts)
152 r.stat.FinishAction(result, r.counts)
157 r.stat.FinishAction(result, r.counts)
160 r.stat.StartAction(action, r.counts)
172 func twoActions(stat status.StatusOutput) {
173 runner := newRunner(stat, 2)
180 func twoParallelActions(stat status.StatusOutput) {
181 runner := newRunner(stat, 2)
188 func actionsWithOutput(stat status.StatusOutput) {
191 runner := newRunner(stat, 3)
200 func actionsWithOutputWithoutNewline(stat status.StatusOutput) {
203 runner := newRunner(stat, 3)
212 func actionsWithError(stat status.StatusOutput) {
216 runner := newRunner(stat, 3)
225 func actionWithEmptyDescription(stat status.StatusOutput) {
229 runner := newRunner(stat, 1)
234 func actionsWithMessages(stat status.StatusOutput) {
235 runner := newRunner(stat, 2)
240 stat.Message(status.VerboseLvl, "verbose")
241 stat.Message(status.StatusLvl, "status")
242 stat.Message(status.PrintLvl, "print")
243 stat.Message(status.ErrorLvl, "error")
249 func actionWithLongDescription(stat status.StatusOutput) {
253 runner := newRunner(stat, 2)
260 func actionWithOuptutWithAnsiCodes(stat status.StatusOutput) {
263 runner := newRunner(stat, 1)
272 stat := NewStatusOutput(smart, "", false, false)
273 smartStat := stat.(*smartStatusOutput)
276 runner := newRunner(stat, 2)
288 stat.Flush()