ILogScope.cs 737 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. namespace UnityEngine.TestTools.Logging
  4. {
  5. internal interface ILogScope : IDisposable
  6. {
  7. Queue<LogMatch> ExpectedLogs { get; set; }
  8. List<LogEvent> AllLogs { get; }
  9. List<LogEvent> FailingLogs { get; }
  10. bool IgnoreFailingMessages { get; set; }
  11. bool IsNUnitException { get; }
  12. bool IsNUnitSuccessException { get; }
  13. bool IsNUnitInconclusiveException { get; }
  14. bool IsNUnitIgnoreException { get; }
  15. string NUnitExceptionMessage { get; }
  16. void AddLog(string message, string stacktrace, LogType type);
  17. bool AnyFailingLogs();
  18. void ProcessExpectedLogs();
  19. void NoUnexpectedReceived();
  20. }
  21. }