Skip to content

Adapted some Directory methods in TestingHelpers#78

Merged
tathamoddie merged 1 commit intoTestableIO:masterfrom
manne:directory
Mar 24, 2014
Merged

Adapted some Directory methods in TestingHelpers#78
tathamoddie merged 1 commit intoTestableIO:masterfrom
manne:directory

Conversation

@manne
Copy link
Copy Markdown
Contributor

@manne manne commented Mar 24, 2014

adapted MockFileSystem.AddFile

  • it now uses MockFileSystem.AddDirectory

adapted MockDirectory.CreateDirectory

  • added vaildation of parameters
  • removed recursion

adapted MockDirectory.GetParent

  • needed because it did not return the proper values

adapted MockFileSystem.AddDirectory

  • because with the other changes it would end in an infinite loop

added/adapted tests for these changes

adapted MockDirectory.CreateDirectory
tathamoddie added a commit that referenced this pull request Mar 24, 2014
Adapted some Directory methods in TestingHelpers
@tathamoddie tathamoddie merged commit a44f978 into TestableIO:master Mar 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants