(t *testing.T)
| 22 | } |
| 23 | |
| 24 | func TestBatchingChannel(t *testing.T) { |
| 25 | ch := NewBatchingChannel(Infinity) |
| 26 | testBatches(t, ch) |
| 27 | |
| 28 | ch = NewBatchingChannel(2) |
| 29 | testBatches(t, ch) |
| 30 | |
| 31 | ch = NewBatchingChannel(1) |
| 32 | testChannelConcurrentAccessors(t, "batching channel", ch) |
| 33 | } |
| 34 | |
| 35 | func TestBatchingChannelCap(t *testing.T) { |
| 36 | ch := NewBatchingChannel(Infinity) |
nothing calls this directly
no test coverage detected
searching dependent graphs…