Searched defs:testJSONFilter (Results 1 – 2 of 2) sorted by relevance
31 type testJSONFilter struct { struct32 w io.Writer // Underlying writer33 variant string // Add ":variant" to Package field35 lineBuf bytes.Buffer // Buffer for incomplete lines38 func (f *testJSONFilter) Write(b []byte) (int, error) {66 func (f *testJSONFilter) Flush() {74 func (f *testJSONFilter) process(line []byte) {
74 func checkJSONFilterWith(t *testing.T, want string, write func(*testJSONFilter)) {