MCPcopy Create free account
hub / github.com/openclaw/gogcli / defaultLayoutForTest

Function defaultLayoutForTest

internal/cmd/cmd_testutil_test.go:119–127  ·  view source on GitHub ↗
(t *testing.T, kinds ...config.PathKind)

Source from the content-addressed store, hash-verified

117}
118
119func defaultLayoutForTest(t *testing.T, kinds ...config.PathKind) config.Layout {
120 t.Helper()
121
122 layout, err := config.NewSystemResolver("").Resolve(kinds...)
123 if err != nil {
124 t.Fatalf("resolve test layout: %v", err)
125 }
126 return layout
127}
128
129func defaultCredentialsStoreForTest(t *testing.T) *config.ClientCredentialsStore {
130 t.Helper()

Calls 2

NewSystemResolverFunction · 0.92
ResolveMethod · 0.45

Tested by

no test coverage detected