FileOrDirectoryExistsConstraint is used to determine if a file or directory exists
More...
|
FileOrDirectoryExistsConstraint | IgnoreDirectories [get] |
| If true, the constraint will only check if files exist, not directories More...
|
|
FileOrDirectoryExistsConstraint | IgnoreFiles [get] |
| If true, the constraint will only check if directories exist, not files More...
|
|
override string | Description [get] |
| The Description of what this constraint tests, for use in messages and in the ConstraintResult. More...
|
|
string | ErrorSubstring [get] |
|
string | DisplayName [get, protected set] |
| The display name of this Constraint for use by ToString(). The default value is the name of the constraint with trailing "Constraint" removed. Derived classes may set this to another name in their constructors. More...
|
|
virtual string | Description [get, protected set] |
| The Description of what this constraint tests, for use in messages and in the ConstraintResult. More...
|
|
object[] | Arguments [get, private set] |
| Arguments provided to this Constraint, for use in formatting the description. More...
|
|
ConstraintBuilder | Builder [get, set] |
| The ConstraintBuilder holding this constraint More...
|
|
ConstraintExpression | And [get] |
| Returns a ConstraintExpression by appending And to the current constraint. More...
|
|
ConstraintExpression | With [get] |
| Returns a ConstraintExpression by appending And to the current constraint. More...
|
|
ConstraintExpression | Or [get] |
| Returns a ConstraintExpression by appending Or to the current constraint. More...
|
|
string | DisplayName [get] |
| The display name of this Constraint for use by ToString(). More...
|
|
string | Description [get] |
| The Description of what this constraint tests, for use in messages and in the ConstraintResult. More...
|
|
object[] | Arguments [get] |
| Arguments provided to this Constraint, for use in formatting the description. More...
|
|
ConstraintBuilder | Builder [get, set] |
| The ConstraintBuilder holding this constraint More...
|
|
FileOrDirectoryExistsConstraint is used to determine if a file or directory exists
NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint.FileOrDirectoryExistsConstraint |
( |
| ) |
|
|
inline |
NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint.FileOrDirectoryExistsConstraint |
( |
bool |
ignoreDirectories | ) |
|
|
inline |
Initializes a new instance of the FileOrDirectoryExistsConstraint class that will only check files if ignoreDirectories is true.
- Parameters
-
ignoreDirectories | if set to true [ignore directories]. |
override ConstraintResult NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint.ApplyTo< TActual > |
( |
TActual |
actual | ) |
|
|
inlinevirtual |
ConstraintResult NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint.CheckString< TActual > |
( |
TActual |
actual | ) |
|
|
inlineprivate |
bool NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint._ignoreDirectories |
|
private |
bool NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint._ignoreFiles |
|
private |
override string NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint.Description |
|
get |
The Description of what this constraint tests, for use in messages and in the ConstraintResult.
string NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint.ErrorSubstring |
|
getprivate |
The documentation for this class was generated from the following file: