1 instantiation of FileInfoAssertions
Microsoft.NET.TestFramework (1)
Assertions\FileInfoExtensions.cs (1)
10return new FileInfoAssertions(file);
15 references to FileInfoAssertions
Microsoft.NET.TestFramework (15)
Assertions\FileInfoAssertions.cs (14)
21public AndConstraint<FileInfoAssertions> Exist(string because = "", params object[] reasonArgs) 24return new AndConstraint<FileInfoAssertions>(this); 27public AndConstraint<FileInfoAssertions> NotExist(string because = "", params object[] reasonArgs) 30return new AndConstraint<FileInfoAssertions>(this); 33public AndWhichConstraint<FileInfoAssertions, DateTimeOffset> HaveLastWriteTimeUtc(string because = "", params object[] reasonArgs) 36return new AndWhichConstraint<FileInfoAssertions, DateTimeOffset>(this, lastWriteTimeUtc); 39public AndConstraint<FileInfoAssertions> HashEquals(string expectedSha) 46return new AndConstraint<FileInfoAssertions>(this); 49public AndConstraint<FileInfoAssertions> Contain(string expectedContent) 53return new AndConstraint<FileInfoAssertions>(this); 59public AndConstraint<FileInfoAssertions> Match([StringSyntax(StringSyntaxAttribute.Regex)] string pattern) 65return new AndConstraint<FileInfoAssertions>(this); 68public AndConstraint<FileInfoAssertions> NotContain(string expectedContent) 72return new AndConstraint<FileInfoAssertions>(this);
Assertions\FileInfoExtensions.cs (1)
8public static FileInfoAssertions Should(this FileInfo file)