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