コード例 #1
0
 public void LoggingDownBase()
 {
     //can't use because of a bug in mono with 2.6.2,
     //https://bugs.launchpad.net/nunitv2/+bug/1076932
     if (BuildInfo.IsDebug && TestContext.CurrentContext.Result.State == TestState.Success)
     {
         ExceptionVerification.AssertNoUnexpectedLogs();
     }
 }
コード例 #2
0
        public void LoggingDownBase()
        {
            //can't use because of a bug in mono with 2.6.2,
            //https://bugs.launchpad.net/nunitv2/+bug/1076932
            if (BuildInfo.IsDebug && TestContext.CurrentContext.Result.Outcome == ResultState.Success)
            {
                ExceptionVerification.AssertNoUnexpectedLogs();
            }

            TestLogger.Info("--- End: {0} ---", TestContext.CurrentContext.Test.FullName);
        }