(t *testing.T)
| 96 | } |
| 97 | |
| 98 | func 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. |
no test coverage detected