Condition relational (==, !=, <, <=, > or >=) expression.
Inheritance: NLog.Conditions.ConditionExpression
 public void UnsupportedRelationalOperatorTest2()
 {
     var cond = new ConditionRelationalExpression("true", "true", (ConditionRelationalOperator)(-1));
     cond.ToString();
 }
Beispiel #2
0
 public void UnsupportedRelationalOperatorTest2()
 {
     var cond = new ConditionRelationalExpression("true", "true", (ConditionRelationalOperator)(-1));
     Assert.Throws<NotSupportedException>(() => cond.ToString());
 }
 public void UnsupportedRelationalOperatorTest()
 {
     var cond = new ConditionRelationalExpression("true", "true", (ConditionRelationalOperator)(-1));
     cond.Evaluate(LogEventInfo.CreateNullEvent());
 }
Beispiel #4
0
 public void UnsupportedRelationalOperatorTest()
 {
     var cond = new ConditionRelationalExpression("true", "true", (ConditionRelationalOperator)(-1));
     Assert.Throws<ConditionEvaluationException>(() => cond.Evaluate(LogEventInfo.CreateNullEvent()));
 }