(w io.WriteCloser)
| 19 | } |
| 20 | |
| 21 | func (f *xmlFormatter) Reset(w io.WriteCloser) error { |
| 22 | f.c = w |
| 23 | io.WriteString(w, xml.Header) |
| 24 | f.enc = xml.NewEncoder(w) |
| 25 | return nil |
| 26 | } |
| 27 | |
| 28 | func (f *xmlFormatter) Format(r *Result) error { |
| 29 | var j junitTestsuite |
no outgoing calls