Пример #1
0
        public void TestThatTeamCityErrorMessageIsProperlyFormatted()
        {
            _tcServiceMessageLogger.Error(MESSAGE, "");
            var returnedMessage = GetMessages().Single();

            Assert.That(returnedMessage, Is.EqualTo(string.Format("##teamcity[message text='{0}' errorDetails='' status='{1}']", MESSAGE, TeamCityMessageStatus.ERROR)));
        }
Пример #2
0
 public static void Error(string message, params object[] formatArgs)
 {
     InternalLogger.Error(message, null, formatArgs);
 }
Пример #3
0
 public static void Error(string message, params object[] formatArgs)
 {
     _log.Error(message, null, formatArgs);
 }