(t *testing.T, assertFunc assertFunc)
| 26 | } |
| 27 | |
| 28 | func newAssertingConsumer(t *testing.T, assertFunc assertFunc) consumer.Traces { |
| 29 | return &testConsumer{ |
| 30 | t: t, |
| 31 | assertFunc: assertFunc, |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | func (tc *testConsumer) ConsumeTraces(ctx context.Context, _ ptrace.Traces) error { |
| 36 | tc.assertFunc(tc.t, ctx) |
no outgoing calls
no test coverage detected