diff --git a/Directory.Build.props b/Directory.Build.props index 09c954aab..ef8e8964e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -11,9 +11,9 @@ MIT README.md $(DefineConstants);FEATURE_FILE_SYSTEM_ACL_EXTENSIONS - $(DefineConstants);FEATURE_ASYNC_FILE;FEATURE_ENUMERATION_OPTIONS;FEATURE_ADVANCED_PATH_OPERATIONS;FEATURE_PATH_JOIN_WITH_SPAN;FEATURE_SPAN - $(DefineConstants);FEATURE_FILE_MOVE_WITH_OVERWRITE;FEATURE_SUPPORTED_OS_ATTRIBUTE;FEATURE_FILE_SYSTEM_WATCHER_FILTERS;FEATURE_ENDS_IN_DIRECTORY_SEPARATOR;FEATURE_PATH_JOIN_WITH_PARAMS;FEATURE_PATH_JOIN_WITH_FOUR_PATHS;FEATURE_FILE_SYSTEM_INFO_LINK_TARGET;FEATURE_CREATE_SYMBOLIC_LINK;FEATURE_FILESTREAM_OPTIONS - $(DefineConstants);FEATURE_PATH_EXISTS;FEATURE_FILE_SYSTEM_WATCHER_WAIT_WITH_TIMESPAN;FEATURE_FILE_ATTRIBUTES_VIA_HANDLE;FEATURE_CREATE_TEMP_SUBDIRECTORY;FEATURE_READ_LINES_ASYNC;FEATURE_UNIX_FILE_MODE + $(DefineConstants);FEATURE_ASYNC_FILE;FEATURE_ENUMERATION_OPTIONS;FEATURE_ADVANCED_PATH_OPERATIONS;FEATURE_PATH_JOIN_WITH_SPAN;FEATURE_SPAN + $(DefineConstants);FEATURE_FILE_MOVE_WITH_OVERWRITE;FEATURE_SUPPORTED_OS_ATTRIBUTE;FEATURE_FILE_SYSTEM_WATCHER_FILTERS;FEATURE_ENDS_IN_DIRECTORY_SEPARATOR;FEATURE_PATH_JOIN_WITH_PARAMS;FEATURE_PATH_JOIN_WITH_FOUR_PATHS;FEATURE_FILE_SYSTEM_INFO_LINK_TARGET;FEATURE_CREATE_SYMBOLIC_LINK;FEATURE_FILESTREAM_OPTIONS + $(DefineConstants);FEATURE_PATH_EXISTS;FEATURE_FILE_SYSTEM_WATCHER_WAIT_WITH_TIMESPAN;FEATURE_FILE_ATTRIBUTES_VIA_HANDLE;FEATURE_CREATE_TEMP_SUBDIRECTORY;FEATURE_READ_LINES_ASYNC;FEATURE_UNIX_FILE_MODE $(DefineConstants);FEATURE_PATH_SPAN;FEATURE_FILE_SPAN $(DefineConstants);FEATURE_SERIALIZABLE diff --git a/src/System.IO.Abstractions.TestingHelpers/System.IO.Abstractions.TestingHelpers.csproj b/src/System.IO.Abstractions.TestingHelpers/System.IO.Abstractions.TestingHelpers.csproj index 37357b9d4..84bab6d7e 100644 --- a/src/System.IO.Abstractions.TestingHelpers/System.IO.Abstractions.TestingHelpers.csproj +++ b/src/System.IO.Abstractions.TestingHelpers/System.IO.Abstractions.TestingHelpers.csproj @@ -3,7 +3,7 @@ System.IO.Abstractions.TestingHelpers System.IO.Abstractions.TestingHelpers A set of pre-built mocks to help when testing file system interactions. - net9.0;net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0;net462 + net9.0;net8.0;net6.0;netstandard2.1;netstandard2.0;net462 icon_256x256.png diff --git a/src/System.IO.Abstractions/System.IO.Abstractions.csproj b/src/System.IO.Abstractions/System.IO.Abstractions.csproj index f00d92d67..ca68871f3 100644 --- a/src/System.IO.Abstractions/System.IO.Abstractions.csproj +++ b/src/System.IO.Abstractions/System.IO.Abstractions.csproj @@ -3,7 +3,7 @@ System.IO.Abstractions System.IO.Abstractions A set of abstractions to help make file system interactions testable. - net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0;net462 + net8.0;net6.0;netstandard2.1;netstandard2.0;net462 icon_256x256.png diff --git a/src/TestableIO.System.IO.Abstractions.TestingHelpers/TestableIO.System.IO.Abstractions.TestingHelpers.csproj b/src/TestableIO.System.IO.Abstractions.TestingHelpers/TestableIO.System.IO.Abstractions.TestingHelpers.csproj index f6b1bf41c..60955347d 100644 --- a/src/TestableIO.System.IO.Abstractions.TestingHelpers/TestableIO.System.IO.Abstractions.TestingHelpers.csproj +++ b/src/TestableIO.System.IO.Abstractions.TestingHelpers/TestableIO.System.IO.Abstractions.TestingHelpers.csproj @@ -3,7 +3,7 @@ TestableIO.System.IO.Abstractions.TestingHelpers System.IO.Abstractions.TestingHelpers A set of pre-built mocks to help when testing file system interactions. - net9.0;net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0;net462 + net9.0;net8.0;net6.0;netstandard2.1;netstandard2.0;net462 icon_256x256.png diff --git a/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj b/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj index 06b22589d..e929acf0c 100644 --- a/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj +++ b/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj @@ -3,7 +3,7 @@ TestableIO.System.IO.Abstractions.Wrappers System.IO.Abstractions A set of abstractions to help make file system interactions testable. - net9.0;net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0;net462 + net9.0;net8.0;net6.0;netstandard2.1;netstandard2.0;net462 icon_256x256.png diff --git a/src/TestableIO.System.IO.Abstractions/TestableIO.System.IO.Abstractions.csproj b/src/TestableIO.System.IO.Abstractions/TestableIO.System.IO.Abstractions.csproj index a688bfb58..bf11eeb41 100644 --- a/src/TestableIO.System.IO.Abstractions/TestableIO.System.IO.Abstractions.csproj +++ b/src/TestableIO.System.IO.Abstractions/TestableIO.System.IO.Abstractions.csproj @@ -3,7 +3,7 @@ TestableIO.System.IO.Abstractions System.IO.Abstractions A set of abstractions to help make file system interactions testable. - net9.0;net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0;net462 + net9.0;net8.0;net6.0;netstandard2.1;netstandard2.0;net462 icon_256x256.png enable preview diff --git a/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj b/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj index 14c930142..61f1b5edd 100644 --- a/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj +++ b/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj @@ -1,6 +1,6 @@  - net9.0;net8.0;net7.0;net6.0 + net9.0;net8.0;net6.0 $(TargetFrameworks);net462 The unit tests for our pre-built mocks System.IO.Abstractions.TestingHelpers.Tests diff --git a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs index 6e3014aeb..5c7d602dc 100644 --- a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs +++ b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/ApiParityTests.cs @@ -109,8 +109,6 @@ public ApiDiff(IEnumerable extraMembers, IEnumerable missingMemb private const string snapshotSuffix = ".NET Framework 4.6.2"; #elif NET6_0 private const string snapshotSuffix = ".NET 6.0"; -#elif NET7_0 - private const string snapshotSuffix = ".NET 7.0"; #elif NET8_0 private const string snapshotSuffix = ".NET 8.0"; #elif NET9_0 diff --git a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj index b096c95cd..1f930c60d 100644 --- a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj +++ b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/TestableIO.System.IO.Abstractions.Wrappers.Tests.csproj @@ -1,6 +1,6 @@  - net9.0;net8.0;net7.0;net6.0 + net9.0;net8.0;net6.0 $(TargetFrameworks);net462 The unit tests for our the core abstractions System.IO.Abstractions.Tests diff --git a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.DirectoryInfo_.NET 7.0.snap b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.DirectoryInfo_.NET 7.0.snap deleted file mode 100644 index c986824b9..000000000 --- a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.DirectoryInfo_.NET 7.0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ExtraMembers": [], - "MissingMembers": [ - "System.Object GetLifetimeService()", - "System.Object InitializeLifetimeService()", - "Void .ctor(System.String)", - "Void GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)" - ] -} diff --git a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.Directory_.NET 7.0.snap b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.Directory_.NET 7.0.snap deleted file mode 100644 index 7cb3b9523..000000000 --- a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.Directory_.NET 7.0.snap +++ /dev/null @@ -1,4 +0,0 @@ -{ - "ExtraMembers": [], - "MissingMembers": [] -} diff --git a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.DriveInfo_.NET 7.0.snap b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.DriveInfo_.NET 7.0.snap deleted file mode 100644 index 8c885b472..000000000 --- a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.DriveInfo_.NET 7.0.snap +++ /dev/null @@ -1,7 +0,0 @@ -{ - "ExtraMembers": [], - "MissingMembers": [ - "System.IO.Abstractions.IDriveInfo[] GetDrives()", - "Void .ctor(System.String)" - ] -} diff --git a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.FileInfo_.NET 7.0.snap b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.FileInfo_.NET 7.0.snap deleted file mode 100644 index c986824b9..000000000 --- a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.FileInfo_.NET 7.0.snap +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ExtraMembers": [], - "MissingMembers": [ - "System.Object GetLifetimeService()", - "System.Object InitializeLifetimeService()", - "Void .ctor(System.String)", - "Void GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)" - ] -} diff --git a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.FileSystemWatcher_.NET 7.0.snap b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.FileSystemWatcher_.NET 7.0.snap deleted file mode 100644 index cfd946350..000000000 --- a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.FileSystemWatcher_.NET 7.0.snap +++ /dev/null @@ -1,15 +0,0 @@ -{ - "ExtraMembers": [ - "Void Dispose(Boolean)" - ], - "MissingMembers": [ - "System.EventHandler Disposed", - "System.Object GetLifetimeService()", - "System.Object InitializeLifetimeService()", - "Void .ctor()", - "Void .ctor(System.String)", - "Void .ctor(System.String, System.String)", - "Void add_Disposed(System.EventHandler)", - "Void remove_Disposed(System.EventHandler)" - ] -} diff --git a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.FileVersionInfo_.NET 7.0.snap b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.FileVersionInfo_.NET 7.0.snap deleted file mode 100644 index 7cb3b9523..000000000 --- a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.FileVersionInfo_.NET 7.0.snap +++ /dev/null @@ -1,4 +0,0 @@ -{ - "ExtraMembers": [], - "MissingMembers": [] -} diff --git a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.File_.NET 7.0.snap b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.File_.NET 7.0.snap deleted file mode 100644 index ce42363ab..000000000 --- a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.File_.NET 7.0.snap +++ /dev/null @@ -1,6 +0,0 @@ -{ - "ExtraMembers": [], - "MissingMembers": [ - "Microsoft.Win32.SafeHandles.SafeFileHandle OpenHandle(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, System.IO.FileOptions, Int64)" - ] -} diff --git a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.Path_.NET 7.0.snap b/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.Path_.NET 7.0.snap deleted file mode 100644 index d83d023ac..000000000 --- a/tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/__snapshots__/ApiParityTests.Path_.NET 7.0.snap +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ExtraMembers": [ - "Char get_AltDirectorySeparatorChar()", - "Char get_DirectorySeparatorChar()", - "Char get_PathSeparator()", - "Char get_VolumeSeparatorChar()", - "Char[] get_InvalidPathChars()" - ], - "MissingMembers": [] -} diff --git a/version.json b/version.json index 260cb4a2d..065ac88f4 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "21.3", + "version": "22.0", "assemblyVersion": { "precision": "major" },