Exemplo n.º 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)));
        }
Exemplo n.º 2
0
 public static void Error(string message, params object[] formatArgs)
 {
     InternalLogger.Error(message, null, formatArgs);
 }
Exemplo n.º 3
0
 public static void Error(string message, params object[] formatArgs)
 {
     _log.Error(message, null, formatArgs);
 }