Skip to content

Releases: TestableIO/System.IO.Abstractions

v3.0.2

07 Dec 09:37
5366dcf
Compare
Choose a tag to compare
  • Make paths case-sensitive on Unix (#418)
  • Return original path from Mock*Info.ToString() (#406)
  • Made FileSystemWatcher on MockFileSystem mockable (#409)
  • Fix file operations that fail when used with relative paths (#407)
  • Call base.Close() in MockFileStream.Close() (#398)
  • Make MockFile.Delete throw exception when file does not exist. (#387)
  • Stop calling real IO.Path.GetTempPath() when creating a MockFileSystem (#372)
  • Clone binary contents rather than text contents (#378)

v2.2.18-beta

03 Dec 19:18
Compare
Choose a tag to compare
v2.2.18-beta Pre-release
Pre-release
Return original path from Mock*Info.ToString() (#406)

Contributes to #400

v2.2.17-beta

02 Dec 11:11
c34ca37
Compare
Choose a tag to compare
v2.2.17-beta Pre-release
Pre-release
Remove TravisCI badge from README (#416)

v2.2.16-beta

01 Dec 22:00
6df48cd
Compare
Choose a tag to compare
v2.2.16-beta Pre-release
Pre-release
Enable linux configuration in AppVeyor (#415)

* Enable linux configuration in AppVeyor

* Add explicit NuGet restore

* Deploy only from Windows job

* Delete .travis.yml

v2.2.15-beta

01 Dec 18:48
Compare
Choose a tag to compare
v2.2.15-beta Pre-release
Pre-release
Bump nunit from 3.8.1 to 3.11.0 (#412)

Bumps [nunit](https://github.com/nunit/nunit) from 3.8.1 to 3.11.0.
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/master/CHANGES.md)
- [Commits](https://github.com/nunit/nunit/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>

v2.2.14-beta

01 Dec 18:40
Compare
Choose a tag to compare
v2.2.14-beta Pre-release
Pre-release
Bump NUnit3TestAdapter from 3.9.0 to 3.11.2 (#411)

Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.9.0 to 3.11.2.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/commits/3.11.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>

v2.2.13-beta

01 Dec 18:23
Compare
Choose a tag to compare
v2.2.13-beta Pre-release
Pre-release
Bump Microsoft.NET.Test.Sdk from 15.0.0 to 15.9.0 (#413)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 15.0.0 to 15.9.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v15.0.0...v15.9.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>

v2.2.12-beta

01 Dec 14:11
a9208ee
Compare
Choose a tag to compare
v2.2.12-beta Pre-release
Pre-release
Add Dependabot badge to readme (#414)

v2.2.11-beta

01 Dec 10:27
Compare
Choose a tag to compare
v2.2.11-beta Pre-release
Pre-release
Made FileSystemWatcher on MockFileSystem mockable (#409)

* Added set; to MockFileSystem.FileSystemWatcher

* Added FILE_SYSTEM_WATCHER_NOT_IMPLEMENTED_EXCEPTION to StringResources

* Made MockFileSystemWatcherFactory throw NotImplementedException

* Removed MockFileSystemWatcher

* MockFileSystemWatcherFactoryTests now assert exception thrown

* Added MockFileSystem test to assert FileSystemWatcher is assignable

* Elaborated on FILE_SYSTEM_WATCHER_NOT_IMPLEMENTED_EXCEPTION message

* Corrected name of MockFileSystemWatcherFactory test

* Update System.IO.Abstractions.TestingHelpers/Properties/Resources.resx

Co-Authored-By: rkoeninger <rkoeninger@att.net>

v2.2.10-beta

28 Nov 20:57
ec1b673
Compare
Choose a tag to compare
v2.2.10-beta Pre-release
Pre-release
Fix file operations that fail when used with relative paths  (#407)

Root cause for the problems is https://github.com/wleader/System.IO.Abstractions/commit/95ead3a2a3fbe848e34642931f2e5fafc2368c5a#diff-e76db4b13ed41e41943b80f8f1075287 where we started using `Path.GetDirectoryName` to get the parent directory, but unfortunately this method returns an empty string when the path does not contain directory information (e.g. a plain file name).

The changes here make the paths absolute before passing them on to `Path.GetDirectoryName`.

Fixes #404 and #401