| 163 | } |
| 164 | |
| 165 | type fakeCollector struct { |
| 166 | t testing.TB |
| 167 | calls chan map[netlogtype.Connection]netlogtype.Counts |
| 168 | stats chan *proto.Stats |
| 169 | } |
| 170 | |
| 171 | func (f *fakeCollector) Collect(ctx context.Context, networkStats map[netlogtype.Connection]netlogtype.Counts) *proto.Stats { |
| 172 | select { |
nothing calls this directly
no outgoing calls
no test coverage detected