Incorrect LastAccessTime & LastWriteTime for directory #839
Labels
area: testinghelpers
Issues that address the testing helpers
state: ready to pick
Issues that are ready for being worked on
type: bug
Issues that describe misbehaving functionality
Describe the bug
Mock file system is not storing LastAccessTime & LastWriteTime properties for directories
To Reproduce
Expected behavior
variable
thisShouldBeTrue
should be true.Additional context
class
MockFileSystem
should have methodAddDirectory(string path, MockDirectoryInfo mock)
so i can set directory attributes same way as in methodAddFile
.MockDirectoryInfo
is derived fromMockFileInfo
but with no content (only default ctor) and with attribute FileAttributes.Directory.The text was updated successfully, but these errors were encountered: