Summary
Provides static methods to express conditions
that must be met for the test to succeed. If
any test fails, a warning is issued.
- Namespace
- TCLite
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["Warn"]
class Type type-node
Syntax
public class Warn
Methods
Name | Value | Summary |
---|---|---|
Equals |
bool |
DO NOT USE!
The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
static
|
If |
void |
Asserts that a condition is true. If the condition is false, a warning is issued.
static
|
If |
void |
Asserts that a condition is true. If the condition is false, a warning is issued.
static
|
If |
void |
Asserts that a condition is false. If the condition is true a warning is issued.
static
|
If |
void |
Asserts that a condition is false. If the condition is true a warning is issued.
static
|
If |
void |
Apply a constraint to an actual value, succeeding if the constraint
fails and issuing a warning on failure.
static
|
If |
void |
Apply a constraint to an actual value, succeeding if the constraint
fails and issuing a warning on success.
static
|
If |
void |
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and issuing a warning on failure.
static
|
If |
void |
Apply a constraint to an actual value, succeeding if the constraint
fails and issuing a warning if it succeeds.
static
|
ReferenceEquals |
void |
DO NOT USE!
The ReferenceEquals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
static
|
Unless |
void |
Asserts that a condition is true. If the condition is false, a warning is issued.
static
|
Unless |
void |
Asserts that a condition is true. If the condition is false, a warning is issued.
static
|
Unless |
void |
Asserts that a condition is true. If the condition is false, a warning is issued.
static
|
Unless |
void |
Asserts that a condition is true. If the condition is false, a warning is issued.
static
|
Unless |
void |
Asserts that a condition is true. If the condition is false, a warning is issued.
static
|
Unless |
void |
Asserts that the code represented by a delegate throws an exception
that satisfies the constraint provided.
static
|
Unless |
void |
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and issuing a warning on failure.
static
|
Unless |
void |
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and issuing a warning on failure.
static
|
Unless |
void |
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and issuing a warning on failure.
static
|
Unless |
void |
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and issuing a warning on failure.
static
|