Beispiel #1
0
 public static string ProduceErrorMsg(string sMsg)
 {
     return(ConventionSupport.ErrorMsgPrefix +
            ConventionSupport.GetCurrentMethodName( ) +
            sMsg +
            ConventionSupport.NewLine);
 }
 public static bool IsFalse(bool bConditon)
 {
     if ((!(bConditon != false)))
     {
         Debug.WriteLine("AssertFailed");
         ConventionSupport.GetCurrentMethodName( );
     }
     return(bConditon);
 }
            public static bool AreEqual(bool bConditon)
            {
                if (bConditon != true)
                {
                    Debug.WriteLine("AssertFailed");
                    ConventionSupport.GetCurrentMethodName( );
                }

                return(bConditon);
            }
 private static void ErrorDump()
 {
     ConventionSupport.GetCurrentMethodName( );
 }