AssertionFailed() private method

private AssertionFailed ( string msg ) : void
msg string
return void
示例#1
0
 public void Assert(bool condition, string msg)
 {
     if (!condition)
     {
         AssertBreak();
         _driver.AssertionFailed(msg);
     }
 }
示例#2
0
 public void Assert(bool condition, string message)
 {
     if (!condition)
     {
         AssertBreak(message);
         _driver.AssertionFailed(message);
     }
 }