I thought I would fiddle around with exercising PhysicalFileSystem and MemoryFileSystem for a bit. These are the tests cases I came up with. I discovered that each MemoryFileSystem.CreateFile() call was creating a new entry in GetEntities(), so I added a fix to ensure that each file only gets listed once regardless of how many times it is created to better emulate real filesystems.
I thought I would fiddle around with exercising
PhysicalFileSystem
andMemoryFileSystem
for a bit. These are the tests cases I came up with. I discovered that eachMemoryFileSystem.CreateFile()
call was creating a new entry inGetEntities()
, so I added a fix to ensure that each file only gets listed once regardless of how many times it is created to better emulate real filesystems.