Exemple #1
0
        public void TestThatTeamCityWarnMessageIsProperlyFormatted()
        {
            _tcServiceMessageLogger.Warn(MESSAGE);
            var returnedMessage = GetMessages().Single();

            Assert.That(returnedMessage, Is.EqualTo(string.Format("##teamcity[message text='{0}' errorDetails='' status='{1}']", MESSAGE, TeamCityMessageStatus.WARNING)));
        }
Exemple #2
0
 public static void Warn(string message, params object[] formatArgs)
 {
     InternalLogger.Warn(message, formatArgs);
 }
Exemple #3
0
 public static void Warn(string message, params object[] formatArgs)
 {
     _log.Warn(message, formatArgs);
 }