MCPcopy
hub / github.com/containerd/containerd / TestContent

Function TestContent

core/metadata/content_test.go:84–95  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

82}
83
84func TestContent(t *testing.T) {
85 testsuite.ContentSuite(t, "metadata", createContentStoreWithPolicy())
86 testsuite.ContentCrossNSSharedSuite(t, "metadata", createContentStoreWithPolicy())
87 testsuite.ContentCrossNSIsolatedSuite(
88 t, "metadata", createContentStoreWithPolicy([]DBOpt{
89 WithPolicyIsolated,
90 }...))
91 testsuite.ContentSharedNSIsolatedSuite(
92 t, "metadata", createContentStoreWithPolicy([]DBOpt{
93 WithPolicyIsolated,
94 }...))
95}
96
97func TestContentLeased(t *testing.T) {
98 ctx, db := testDB(t)

Callers

nothing calls this directly

Calls 5

ContentSuiteFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…