Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 4, 2015
Commits on Nov 3, 2015
  1. @martindevans

    Fixed #136

    martindevans committed
     - Problem was simply "EnumerateFileSystemInfos(string searchPattern, SearchOption searchOption)" calling out to GetDirectories instead of GetFileSystemInfos
     - Modified a test to call this method (and fail). Test passes with this fix
    Signed-off-by: Martin Evans <>
Commits on Oct 19, 2015
  1. Merge pull request #129 from tillig/patch-1

    Mock File.Exists and Directory.Exists only work on respective entities
Commits on Jul 20, 2015
  1. Merge pull request #135 from borismod/master

    Directory.EnumerateDirectories ignore case on directory #134
Commits on Jul 19, 2015
  1. @borismod

    Test Move_DirectoryExistsWithDifferentCase_DirectorySuccessfullyMoved…

    borismod committed
    … changed to be less specific
Commits on Jul 8, 2015
  1. @borismod
Commits on May 19, 2015
  1. @tillig
  2. @tillig

    FileExists no longer checks directories

    tillig committed
    FileExists shouldn't return true if it's called with a directory path.
Commits on May 18, 2015
  1. @martindevans

    Implemented EnumerateStuff methods on MockDirectoryInfo:

    martindevans committed with
     - EnumerateDirectories()
     - EnumerateDirectories(string)
     - EnumerateDirectories(string, SearchOption)
     - EnumerateFiles()
     - EnumerateFiles(string)
     - EnumerateFiles(string, SearchOption)
     - EnumerateFileSystemInfos()
     - EnumerateFileSystemInfos(string)
     - EnumerateFileSystemInfos(string, SearchOption)
    Every one of these is simply a call to the equivalent GetStuff method and immediately returning the result with no extra work. I have *replaced* the implementation of Enumerate files so that it calls out to GetFiles, the previous implementation seemed to be broken - as far as I can tell it would always return *all* files!
    Added test coverage for most of these methods, which essentially just consisted of copying and pasting the appropriate GetStuff method and modifying it to call EnumerateStuff instead. Changed the MockDirectoryInfo_EnumerateFiles_ShouldReturnAllFiles test method so that it has some additional files (i.e. ones which should *not* be returned).
    Signed-off-by: Martin Evans <>
Commits on Mar 18, 2015
  1. @manne
Commits on Mar 11, 2015
  1. Merge pull request #121 from distantcam/master

    Fixed #83 - Changed stream flushing to not re-add the file if it doesn't exist.
  2. @distantcam
  3. @distantcam
  4. Merge pull request #120 from Lyynx/hackify

    Implemented WriteAllLines with input parameter IEnumerable<string>
  5. @Lythix
  6. @Lythix
  7. Merge pull request #114 from asarium/master

    Add EnumerateDirectories testing support
  8. Merge pull request #116 from srasch/SplitTests

    split MockFileTests into some smaller TestClasses
Commits on Mar 4, 2015
  1. @manne

    Merge pull request #118 from manne/dir

    manne committed
    File.GetAttributes an UNC folder returns correct value. Fixes #117
  2. @manne
Commits on Feb 24, 2015
  1. @asarium
  2. @srasch
Commits on Feb 23, 2015
  1. Merge pull request #115 from JonCanning/master

    Support for DirectoryInfo.EnumerateFiles()
  2. @JonCanning
Commits on Feb 21, 2015
  1. @asarium
Commits on Feb 20, 2015
  1. Merge pull request #112 from srasch/MatchExceptions

    Match exceptions
  2. @srasch
  3. @srasch
Commits on Feb 19, 2015
  1. @srasch

    remove invalid tests

    srasch committed
  2. Merge pull request #111 from srasch/ExtendPathCombine

    add overloads for Path.Combine
  3. @srasch

    add overloads for Path.Combine

    srasch committed
Commits on Feb 14, 2015
  1. @manne

    Merge pull request #110 from manne/dotnet_4_0

    manne committed
    Added new members of .NET 4.0
  2. @manne
  3. @manne

    added new methods for Directory

    manne committed
Something went wrong with that request. Please try again.