MCPcopy Index your code
hub / github.com/docker/cli / TestGetDefaultContextStorageInfo

Function TestGetDefaultContextStorageInfo

cli/command/defaultcontextstore_test.go:134–139  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

132}
133
134func TestGetDefaultContextStorageInfo(t *testing.T) {
135 s := testStore(t, testDefaultMetadata(), store.ContextTLSData{})
136 result := s.GetStorageInfo(DefaultContextName)
137 assert.Equal(t, "<IN MEMORY>", result.MetadataPath)
138 assert.Equal(t, "<IN MEMORY>", result.TLSPath)
139}
140
141func TestGetDefaultContextMetadata(t *testing.T) {
142 meta := testDefaultMetadata()

Callers

nothing calls this directly

Calls 3

testStoreFunction · 0.85
testDefaultMetadataFunction · 0.85
GetStorageInfoMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…