Home | History | Annotate | Download | only in test2json

Lines Matching full:converter

48 // A converter holds the state of a test-to-JSON conversion.
50 // and the converter writes JSON output to w.
51 type converter struct {
55 start time.Time // time converter started
87 // NewConverter returns a "test to json" converter.
98 // The mode flag adjusts the behavior of the converter.
104 c := new(converter)
105 *c = converter{
124 // Write writes the test input to the converter.
125 func (c *converter) Write(b []byte) (int, error) {
156 func (c *converter) handleInputLine(line []byte) {
267 func (c *converter) flushReport(depth int) {
279 func (c *converter) Close() error {
295 func (c *converter) writeOutputEvent(out []byte) {
304 func (c *converter) writeEvent(e *event) {