| 280 | } |
| 281 | |
| 282 | static void CorruptDirs(void* ctx, const char* path, bool isdir) |
| 283 | { |
| 284 | const char* basename = strrchr(path, '/'); |
| 285 | if (isdir && basename && strlen(basename+1) == 2) |
| 286 | { |
| 287 | dmSys::IterateTree(path, false, false, ctx, CorruptFile); |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | TEST_F(dmHttpCacheTest, CorruptContent) |
| 292 | { |
nothing calls this directly
no test coverage detected