GlobalGameJame/Library/PackageCache/com.unity.test-framework@1.1.9/UnityEngine.TestRunner/Assertions/LogScope/ILogScope.cs
JonatanRek bea2dce063 Initial
test
2020-01-31 16:10:04 +01:00

23 lines
737 B
C#

using System;
using System.Collections.Generic;
namespace UnityEngine.TestTools.Logging
{
internal interface ILogScope : IDisposable
{
Queue<LogMatch> ExpectedLogs { get; set; }
List<LogEvent> AllLogs { get; }
List<LogEvent> FailingLogs { get; }
bool IgnoreFailingMessages { get; set; }
bool IsNUnitException { get; }
bool IsNUnitSuccessException { get; }
bool IsNUnitInconclusiveException { get; }
bool IsNUnitIgnoreException { get; }
string NUnitExceptionMessage { get; }
void AddLog(string message, string stacktrace, LogType type);
bool AnyFailingLogs();
void ProcessExpectedLogs();
void NoUnexpectedReceived();
}
}