MCPcopy
hub / github.com/helm/helm / TestLoadDir

Function TestLoadDir

internal/chart/v3/loader/load_test.go:39–52  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

37)
38
39func TestLoadDir(t *testing.T) {
40 l, err := Loader("testdata/frobnitz")
41 if err != nil {
42 t.Fatalf("Failed to load testdata: %s", err)
43 }
44 c, err := l.Load()
45 if err != nil {
46 t.Fatalf("Failed to load testdata: %s", err)
47 }
48 verifyFrobnitz(t, c)
49 verifyChart(t, c)
50 verifyDependencies(t, c)
51 verifyDependenciesLock(t, c)
52}
53
54func TestLoadDirWithDevNull(t *testing.T) {
55 if runtime.GOOS == "windows" {

Callers

nothing calls this directly

Calls 7

FatalfMethod · 0.80
LoaderFunction · 0.70
verifyFrobnitzFunction · 0.70
verifyChartFunction · 0.70
verifyDependenciesFunction · 0.70
verifyDependenciesLockFunction · 0.70
LoadMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…