FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Verify/src/Verify.NUnit/VerifyBase_File.cs at main · VerifyTests/Verify · GitHub
VerifyTests
/
Verify
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
190
Star
3.5k
Code
Issues
0
Pull requests
1
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
Verify
/
src
/
Verify.NUnit
/
VerifyBase_File.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (37 loc) · 1.42 KB
Breadcrumbs
Verify
/
src
/
Verify.NUnit
/
VerifyBase_File.cs
Copy path
File metadata and controls
40 lines (37 loc) · 1.42 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
namespace
VerifyNUnit
;
public
partial
class
VerifyBase
{
/// <summary>
/// Verifies the contents of <paramref name="path" />.
/// </summary>
[
Pure
]
public
SettingsTask
VerifyFile
(
string
path
,
VerifySettings
?
settings
=
null
,
object
?
info
=
null
,
[
CallerLineNumber
]
int
lineNumber
=
0
)
=>
Verifier
.
VerifyFile
(
path
,
settings
??
this
.
settings
,
info
,
sourceFile
:
sourceFile
,
lineNumber
:
lineNumber
)
;
/// <summary>
/// Verifies the contents of files.
/// </summary>
[
Pure
]
public
SettingsTask
VerifyFiles
(
IEnumerable
<
string
>
paths
,
VerifySettings
?
settings
=
null
,
object
?
info
=
null
,
FileScrubber
?
fileScrubber
=
null
,
[
CallerLineNumber
]
int
lineNumber
=
0
)
=>
Verifier
.
VerifyFiles
(
paths
,
settings
??
this
.
settings
,
info
,
fileScrubber
,
sourceFile
,
lineNumber
)
;
/// <summary>
/// Verifies the contents of <paramref name="path" />.
/// Differs from passing <see cref="FileInfo" /> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
[
Pure
]
[
OverloadResolutionPriority
(
1
)
]
public
SettingsTask
VerifyFile
(
FileInfo
path
,
VerifySettings
?
settings
=
null
,
object
?
info
=
null
,
[
CallerLineNumber
]
int
lineNumber
=
0
)
=>
Verifier
.
VerifyFile
(
path
,
settings
??
this
.
settings
,
info
,
sourceFile
:
sourceFile
,
lineNumber
:
lineNumber
)
;
}
Back
|
FazBrowse Home
|
New Git URL