Skip to content

Conversation

@rkoeninger
Copy link
Contributor

Fixes #329

  • Removed existing MockFileSystemWatcher as it doesn't do anything, isn't used and it would be confusing if client code attempted to test with it.
  • Made MockFileSystemWatcherFactory just throw NotImplementedException to make it clear there is no built-in MockFileSystemWatcher.
  • Made MockFileSystem.FileSystemWatcher (of type IFileSystemWatcherFactory) set-able so client code can provide its own mock implementation of FileSystemWatcherBase.
  • Added/Updated tests.

@rkoeninger
Copy link
Contributor Author

@fgreinacher @jpreese @robkeim thoughts?

@robkeim
Copy link
Contributor

robkeim commented Nov 30, 2018

@rkoeninger this change seems straight forward to me, I added one minor nit.

@fgreinacher
Copy link
Contributor

I’ll have a look today or tomorrow!

@fgreinacher
Copy link
Contributor

One minor suggestion, otherwise this looks great!

Co-Authored-By: rkoeninger <rkoeninger@att.net>
@fgreinacher
Copy link
Contributor

Thanks @rkoeninger

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.

3 participants