MCPcopy
hub / github.com/redspread/spread / testTempFileInput

Function testTempFileInput

pkg/input/dir/input_test.go:98–105  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

96}
97
98func testTempFileInput(t *testing.T) *FileInput {
99 dir := testTempDir(t)
100 input, err := NewFileInput(dir)
101 if err != nil {
102 t.Error(err)
103 }
104 return input
105}
106
107// testWriteRandomObjects randomly generates Kubernetes objects and writes them in the specified path.
108// The created objects are returned with Type information clean. If object count is < 0, a random number will be used.

Callers 2

TestInputPodFunction · 0.85
TestInputRCAndPodFunction · 0.85

Calls 2

testTempDirFunction · 0.85
NewFileInputFunction · 0.85

Tested by

no test coverage detected