(t *testing.T)
| 161 | } |
| 162 | |
| 163 | func TestDataFile_Err_Path(t *testing.T) { |
| 164 | fm := NewFileManager(FileIO, 1024, 0.5, 256*MB) |
| 165 | defer func() { _ = fm.Close() }() |
| 166 | filePath5 := ":/tmp/foo5" |
| 167 | df, err := fm.GetDataFile(filePath5, entry.Size()) |
| 168 | if err == nil && df != nil { |
| 169 | t.Error("err TestDataFile_All open") |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | func TestDataFile_Crc_Err(t *testing.T) { |
| 174 | fm := NewFileManager(FileIO, 1024, 0.5, 256*MB) |
nothing calls this directly
no test coverage detected