A game about forced loneliness, made by TACStudios
1using System; 2using NUnit.Framework; 3using NUnit.Framework.Interfaces; 4using UnityEngine.TestTools.Logging; 5 6namespace UnityEngine.TestTools.TestRunner 7{ 8 internal class UnexpectedLogMessageException : ResultStateException 9 { 10 public LogMatch LogEvent; 11 12 public UnexpectedLogMessageException(LogMatch log) 13 : base(BuildMessage(log)) 14 { 15 LogEvent = log; 16 } 17 18 private static string BuildMessage(LogMatch log) 19 { 20 return string.Format("Expected log did not appear: {0}", log); 21 } 22 23 public override ResultState ResultState 24 { 25 get { return ResultState.Failure; } 26 } 27 28 public override string StackTrace { get { return null; } } 29 } 30}