System.IO.Abstractions icon indicating copy to clipboard operation
System.IO.Abstractions copied to clipboard

fix: #736 - MoveTo implementation for MockDirectoryInfo under TestingHelpers

Open afroze9 opened this issue 3 years ago • 1 comments

Fix for issue #736. Made changes to the MockDirectoryInfo under System.IO.Abstractions.TestingHelpers. MoveTo now updates the directoryName when moving the directory to the destination folder.

This should also fix the following methods (if they are called after MoveTo is called):

  • Delete
  • GetAccessControl
  • GetDirectories
  • SetAccessControl
  • GetMockFileDataForWrite

afroze9 avatar Jul 06 '22 17:07 afroze9

Thanks, I'll have a look by by the end of this week!

fgreinacher avatar Jul 07 '22 15:07 fgreinacher

Superseded by #972

fgreinacher avatar Apr 18 '23 12:04 fgreinacher