(t *testing.T, ref types.ImageReference, cache types.BlobInfoCache, layers []testBlob, config *testBlob)
| 379 | } |
| 380 | |
| 381 | func createImage(t *testing.T, ref types.ImageReference, cache types.BlobInfoCache, |
| 382 | layers []testBlob, config *testBlob) { |
| 383 | dest, unparsedToplevel := createUncommittedImageDest(t, ref, cache, layers, config) |
| 384 | err := dest.Commit(context.Background(), unparsedToplevel) |
| 385 | require.NoError(t, err) |
| 386 | err = dest.Close() |
| 387 | require.NoError(t, err) |
| 388 | } |
| 389 | |
| 390 | func TestWriteRead(t *testing.T) { |
| 391 | ensureTestCanCreateImages(t) |
no test coverage detected
searching dependent graphs…