(t *testing.T)
| 54 | } |
| 55 | |
| 56 | func TestStaticStreamer(t *testing.T) { |
| 57 | var blobs []*blob.Blob |
| 58 | var want []blob.SizedRef |
| 59 | for i := 0; i < 5; i++ { |
| 60 | tb := &test.Blob{Contents: strconv.Itoa(i)} |
| 61 | b := tb.Blob() |
| 62 | blobs = append(blobs, b) |
| 63 | want = append(want, b.SizedRef()) |
| 64 | } |
| 65 | bs := staticStreamer(blobs) |
| 66 | storagetest.TestStreamer(t, bs, storagetest.WantSizedRefs(want)) |
| 67 | } |
| 68 | |
| 69 | func TestMultiStreamer(t *testing.T) { |
| 70 | var streamers []blobserver.BlobStreamer |
nothing calls this directly
no test coverage detected