Skip to content

Commit c689d74

Browse files
chore: explicit API acceptance test changes for dotnet version 10
1 parent 42a7402 commit c689d74

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/TestableIO.System.IO.Abstractions.Api.Tests/Expected/TestableIO.System.IO.Abstractions.TestingHelpers_net10.0.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace System.IO.Abstractions.TestingHelpers
88
System.Collections.Generic.IEnumerable<string> AllDrives { get; }
99
System.Collections.Generic.IEnumerable<string> AllFiles { get; }
1010
System.Collections.Generic.IEnumerable<string> AllPaths { get; }
11+
System.Collections.Concurrent.ConcurrentDictionary<string, System.Collections.Concurrent.ConcurrentDictionary<System.Guid, System.ValueTuple<System.IO.FileAccess, System.IO.FileShare>>> FileHandles { get; }
1112
System.IO.Abstractions.IFileSystem FileSystem { get; }
1213
System.IO.Abstractions.TestingHelpers.PathVerifier PathVerifier { get; }
1314
System.IO.Abstractions.TestingHelpers.StringOperations StringOperations { get; }
@@ -384,7 +385,7 @@ namespace System.IO.Abstractions.TestingHelpers
384385
[System.Serializable]
385386
public class MockFileStream : System.IO.Abstractions.FileSystemStream, System.IO.Abstractions.IFileSystemAclSupport
386387
{
387-
public MockFileStream(System.IO.Abstractions.TestingHelpers.IMockFileDataAccessor mockFileDataAccessor, string path, System.IO.FileMode mode, System.IO.FileAccess access = 3, System.IO.FileOptions options = 0) { }
388+
public MockFileStream(System.IO.Abstractions.TestingHelpers.IMockFileDataAccessor mockFileDataAccessor, string path, System.IO.FileMode mode, System.IO.FileAccess access = 3, System.IO.FileShare share = 1, System.IO.FileOptions options = 0) { }
388389
public override bool CanRead { get; }
389390
public override bool CanWrite { get; }
390391
public static System.IO.Abstractions.FileSystemStream Null { get; }
@@ -440,6 +441,7 @@ namespace System.IO.Abstractions.TestingHelpers
440441
public override System.IO.Abstractions.IDirectoryInfoFactory DirectoryInfo { get; }
441442
public override System.IO.Abstractions.IDriveInfoFactory DriveInfo { get; }
442443
public override System.IO.Abstractions.IFile File { get; }
444+
public System.Collections.Concurrent.ConcurrentDictionary<string, System.Collections.Concurrent.ConcurrentDictionary<System.Guid, System.ValueTuple<System.IO.FileAccess, System.IO.FileShare>>> FileHandles { get; }
443445
public override System.IO.Abstractions.IFileInfoFactory FileInfo { get; }
444446
public override System.IO.Abstractions.IFileStreamFactory FileStream { get; }
445447
public System.IO.Abstractions.IFileSystem FileSystem { get; }
@@ -563,6 +565,7 @@ namespace System.IO.Abstractions.TestingHelpers
563565
{
564566
public PathVerifier(System.IO.Abstractions.TestingHelpers.IMockFileDataAccessor mockFileDataAccessor) { }
565567
public void CheckInvalidPathChars(string path, bool checkAdditional = false) { }
568+
public string FixPath(string path) { }
566569
public bool HasIllegalCharacters(string path, bool checkAdditional) { }
567570
public void IsLegalAbsoluteOrRelative(string path, string paramName) { }
568571
public string NormalizeDriveName(string name) { }

0 commit comments

Comments
 (0)