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

Release v3.0 #419

Merged
merged 24 commits into from
Dec 7, 2018
Merged

Release v3.0 #419

merged 24 commits into from
Dec 7, 2018

Conversation

fgreinacher
Copy link
Contributor

No description provided.

muthumalla and others added 24 commits October 23, 2018 20:31
Fixes #375

When copying a file, TextContents (and underlying a TextReader) was used to copy a file rather than the actual byte[] Contents. This caused an issue when the bytes could not be read using the default UTF8 encoding.
- Calculate version number dynamically
- Support pushing prerelease versions on NuGet
- Reduce downstream maintenance efforts by fixing the version number to MAJOR.0.0.0
- Create GitHub releases for everything that's pushed to NuGet
Expires every 12 months
#372)

* Stop calling real IO.Path.GetTempPath() when creating a MockFileSystem

* Ensure current directory of MockFileSystem exists on creation

* fix failing test on linux

Fixes #350
Root cause for the problems is wleader@95ead3a#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
* 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>
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](microsoft/vstest@v15.0.0...v15.9.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
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>
* Enable linux configuration in AppVeyor

* Add explicit NuGet restore

* Deploy only from Windows job

* Delete .travis.yml
* Deploy only from release branch

* Adapt version.json for deploy from release branch

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update appveyor.yml

* Add link to create release PR
Bumps [Moq](https://github.com/moq/moq4) from 4.10.0 to 4.10.1.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](devlooped/moq@v4.10.0...v4.10.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Fixes #321
Fixes #395
Fixes #405

* Added StringComparer to MockFileSystem, used in Mock* classes

* Removed drive letter ToUpper in MockDriveInfo

* Labelled tests as being Windows/Unix specific based on case sensitivity

* Corrected UnixOnly test to check for null

* Adjusted *Specifics wording

* Fixed MockDirectory.GetParent to correctly identify and return '/' root

* Fixed MockDirectory.GetFiles to handle un-normalized slashes

* Made NormalizeSlashes handle UNC paths

* Moved Exists check in MockDirectory.GetFiles into GetFilesInternal after path normalization

* Made MockDirectory.GetLogicalDrives return drive letters in upper case instead of lower case

* Fixed GetLogicalDrives test

* De-triplicated check for Directory.Exists(DirName(FullPath(p)))

* Added StringOperations, used throughout Mock* classes

Cleaned up MockFileExistsTests, MockFileSystemTests

* Removed WindowsSpecifics.EmptyInvalidPathChars

Removed WindowsOnly label from the one that that used this reason

* Made MockDirectory_GetParent_ShouldThr... WindowsOnly again

because of Windows' stricter path rules

* Combined private CheckDirectoryExists and VerifyDir... in MockFile

* Cleanup, review change, in MockFileExistsTests
@fgreinacher fgreinacher merged commit 5366dcf into release Dec 7, 2018
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.

10 participants