Class NetcodeLogAssert
Implements
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class NetcodeLogAssert : IDisposable
Constructors
NetcodeLogAssert(bool, bool)
Declaration
public NetcodeLogAssert(bool ignorFailingMessages = false, bool resetOnTearDown = true)
Parameters
Methods
AddLog(string, string, LogType)
Declaration
public void AddLog(string message, string stacktrace, LogType type)
Parameters
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
HasLogBeenReceived(LogType, string)
Declaration
public bool HasLogBeenReceived(LogType type, string message)
Parameters
Returns
Type | Description |
---|---|
bool |
LogWasNotReceived(LogType, string)
Declaration
public void LogWasNotReceived(LogType type, string message)
Parameters
LogWasNotReceived(LogType, Regex)
Declaration
public void LogWasNotReceived(LogType type, Regex messageRegex)
Parameters
LogWasReceived(LogType, string)
Declaration
public void LogWasReceived(LogType type, string message)
Parameters
LogWasReceived(LogType, Regex)
Declaration
public void LogWasReceived(LogType type, Regex messageRegex)
Parameters
OnTearDown()
Declaration
[UnityTearDownAttribute]
public void OnTearDown()
Reset()
Declaration
public void Reset()