Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix (and test) for #429 #430

Merged
merged 2 commits into from
Dec 19, 2018
Merged

Fix (and test) for #429 #430

merged 2 commits into from
Dec 19, 2018

Conversation

wexman
Copy link
Contributor

@wexman wexman commented Dec 19, 2018

No description provided.

@fgreinacher
Copy link
Contributor

Thanks a lot!


Technically the test is wrong here (because the test assembly is targeting the testing helpers, not the wrappers). But we don't have any other place for these kinds of tests, so it's fine as-is (at least for now).

@fgreinacher fgreinacher merged commit 4f397f8 into TestableIO:master Dec 19, 2018
@wexman
Copy link
Contributor Author

wexman commented Dec 20, 2018

Technically the test is wrong here (because the test assembly is targeting the testing helpers, not the wrappers). But we don't have any other place for these kinds of tests, so it's fine as-is (at least for now).

I figured that, but would leave that up to you ;-)

@fgreinacher fgreinacher mentioned this pull request Jan 5, 2019
fgreinacher added a commit that referenced this pull request Jan 5, 2019
- Do not throw exception when calling DirectoryInfoWrapper.Parent for the root directory (#430) by @wexman
- Fix MockDirectoryInfo GetFiles for UNC paths caused by bug in StringExtensions.NormalizeSlashes (#422) by @DeveloperGuo
- Pass IFileSystem into FileWrapper instead of FileSystem to allow replacement file systems to be used (#432) by @kirbatious
- Make sure FileNotFound exceptions contain path and proper message (#427) by @fgreinacher
- Do not delete directories that start with the same path (#433) by @updateaman
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