The statstest package contains a single stats.Handler implementation
that records its measures for inspection. It also implements
stats.Flusher so tests can inspect number of times Flush was
invoked.
Also removes replaces custom test handlers with the one from the new
statstest package.
The
statstest
package contains a singlestats.Handler
implementation that records its measures for inspection. It also implementsstats.Flusher
so tests can inspect number of timesFlush
was invoked.Also removes replaces custom test handlers with the one from the new
statstest
package.