()
| 71 | } |
| 72 | |
| 73 | func newTestStorage() *testStorage { |
| 74 | sto := &storage{ |
| 75 | index: sorted.NewMemoryKeyValue(), |
| 76 | smallMeta: &metaBlobHeap{}, |
| 77 | identity: testIdentity, |
| 78 | } |
| 79 | ts := &testStorage{ |
| 80 | sto: sto, |
| 81 | blobs: new(test.Fetcher), |
| 82 | meta: new(test.Fetcher), |
| 83 | } |
| 84 | sto.blobs = ts.blobs |
| 85 | sto.meta = ts.meta |
| 86 | return ts |
| 87 | } |
| 88 | |
| 89 | func TestStorage(t *testing.T) { |
| 90 | storagetest.TestOpt(t, storagetest.Opts{ |
no test coverage detected