(c *C)
| 201 | } |
| 202 | |
| 203 | func (s *ControlFileSuite) BenchmarkReadStanza(c *C) { |
| 204 | for i := 0; i < c.N; i++ { |
| 205 | reader := bytes.NewBufferString(controlFile) |
| 206 | r := NewControlFileReader(reader, false, false) |
| 207 | for { |
| 208 | s, e := r.ReadStanza() |
| 209 | if s == nil && e == nil { |
| 210 | break |
| 211 | } |
| 212 | } |
| 213 | } |
| 214 | } |
nothing calls this directly
no test coverage detected