diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5039323d3..62f0ae293 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: reporttypes: "Cobertura" - name: Publish coverage report to Codacy uses: codacy/codacy-coverage-reporter-action@master - if: github.repository == 'System-IO-Abstractions/System.IO.Abstractions' && github.event_name == 'push' + if: github.repository == 'TestableIO/System.IO.Abstractions' && github.event_name == 'push' with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} coverage-reports: coverage-report/Cobertura.xml diff --git a/Directory.Build.props b/Directory.Build.props index 4c0dbaeb9..2361e3692 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,7 +7,7 @@ $(MSBuildThisFileDirectory)StrongName.snk 9.0 testing - https://github.com/System-IO-Abstractions/System.IO.Abstractions + https://github.com/TestableIO/System.IO.Abstractions MIT README.md $(DefineConstants);FEATURE_FILE_SYSTEM_ACL_EXTENSIONS diff --git a/README.md b/README.md index 744565d43..ed3d3db13 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -![System.IO.Abstractions](https://socialify.git.ci/System-IO-Abstractions/System.IO.Abstractions/image?description=1&font=Source%20Code%20Pro&forks=1&issues=1&pattern=Charlie%20Brown&pulls=1&stargazers=1&theme=Dark) +![System.IO.Abstractions](https://socialify.git.ci/TestableIO/System.IO.Abstractions/image?description=1&font=Source%20Code%20Pro&forks=1&issues=1&pattern=Charlie%20Brown&pulls=1&stargazers=1&theme=Dark) [![NuGet](https://img.shields.io/nuget/v/System.IO.Abstractions.svg)](https://www.nuget.org/packages/System.IO.Abstractions) -![Continuous Integration](https://github.com/System-IO-Abstractions/System.IO.Abstractions/workflows/Continuous%20Integration/badge.svg) -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2e777fa545c94767acccd6345b1ed9b7)](https://app.codacy.com/gh/System-IO-Abstractions/System.IO.Abstractions?utm_source=github.com&utm_medium=referral&utm_content=System-IO-Abstractions/System.IO.Abstractions&utm_campaign=Badge_Grade_Dashboard) +![Continuous Integration](https://github.com/TestableIO/System.IO.Abstractions/workflows/Continuous%20Integration/badge.svg) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2e777fa545c94767acccd6345b1ed9b7)](https://app.codacy.com/gh/TestableIO/System.IO.Abstractions?utm_source=github.com&utm_medium=referral&utm_content=TestableIO/System.IO.Abstractions&utm_campaign=Badge_Grade_Dashboard) [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/) -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSystem-IO-Abstractions%2FSystem.IO.Abstractions.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FSystem-IO-Abstractions%2FSystem.IO.Abstractions?ref=badge_shield) +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FTestableIO%2FSystem.IO.Abstractions.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FTestableIO%2FSystem.IO.Abstractions?ref=badge_shield) At the core of the library is `IFileSystem` and `FileSystem`. Instead of calling methods like `File.ReadAllText` directly, use `IFileSystem.File.ReadAllText`. We have exactly the same API, except that ours is injectable and testable. diff --git a/benchmarks/System.IO.Abstractions.Benchmarks/System.IO.Abstractions.Benchmarks.csproj b/benchmarks/System.IO.Abstractions.Benchmarks/System.IO.Abstractions.Benchmarks.csproj index 4a6c5bca0..3ebdc874d 100644 --- a/benchmarks/System.IO.Abstractions.Benchmarks/System.IO.Abstractions.Benchmarks.csproj +++ b/benchmarks/System.IO.Abstractions.Benchmarks/System.IO.Abstractions.Benchmarks.csproj @@ -4,7 +4,7 @@ System.IO.Abstractions.Benchmarks Bencharmks comparisons. net5.0;netcoreapp3.1;net461 - https://github.com/System-IO-Abstractions/System.IO.Abstractions + https://github.com/TestableIO/System.IO.Abstractions MIT testing false diff --git a/src/System.IO.Abstractions.TestingHelpers/MockFileSystem.cs b/src/System.IO.Abstractions.TestingHelpers/MockFileSystem.cs index 3d821a30e..eff56ad73 100644 --- a/src/System.IO.Abstractions.TestingHelpers/MockFileSystem.cs +++ b/src/System.IO.Abstractions.TestingHelpers/MockFileSystem.cs @@ -198,7 +198,7 @@ public void AddDirectory(string path) /* * Although CreateDirectory(@"\\server\share\") is not going to work in real code, we allow it here for the purposes of setting up test doubles. - * See PR https://github.com/System-IO-Abstractions/System.IO.Abstractions/pull/90 for conversation + * See PR https://github.com/TestableIO/System.IO.Abstractions/pull/90 for conversation */ } diff --git a/src/System.IO.Abstractions.TestingHelpers/Properties/Resources.resx b/src/System.IO.Abstractions.TestingHelpers/Properties/Resources.resx index ff4ec9a7f..95ebf03e4 100644 --- a/src/System.IO.Abstractions.TestingHelpers/Properties/Resources.resx +++ b/src/System.IO.Abstractions.TestingHelpers/Properties/Resources.resx @@ -127,7 +127,7 @@ Illegal characters in path. - This test helper hasn't been implemented yet. They are implemented on an as-needed basis. As it seems like you need it, now would be a great time to send us a pull request over at https://github.com/System-IO-Abstractions/System.IO.Abstractions. You know, because it's open source and all. + This test helper hasn't been implemented yet. They are implemented on an as-needed basis. As it seems like you need it, now would be a great time to send us a pull request over at https://github.com/TestableIO/System.IO.Abstractions. You know, because it's open source and all. The path is not of a legal form. diff --git a/tests/System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamTests.cs b/tests/System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamTests.cs index ba6589cfd..3e87fed44 100644 --- a/tests/System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamTests.cs +++ b/tests/System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamTests.cs @@ -31,7 +31,7 @@ public void MockFileStream_Flush_WritesByteToFile() public void MockFileStream_Dispose_ShouldNotResurrectFile() { // path in this test case is a subject to Directory.GetParent(path) Linux issue - // https://github.com/System-IO-Abstractions/System.IO.Abstractions/issues/395 + // https://github.com/TestableIO/System.IO.Abstractions/issues/395 var fileSystem = new MockFileSystem(); var path = XFS.Path("C:\\some_folder\\test"); var directory = fileSystem.Path.GetDirectoryName(path);