docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetcodeLogAssert

    Inheritance
    object
    NetcodeLogAssert
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Netcode.RuntimeTests
    Assembly: Unity.Netcode.TestHelpers.Runtime.dll
    Syntax
    public class NetcodeLogAssert : IDisposable

    Constructors

    NetcodeLogAssert(bool, bool)

    Declaration
    public NetcodeLogAssert(bool ignorFailingMessages = false, bool resetOnTearDown = true)
    Parameters
    Type Name Description
    bool ignorFailingMessages
    bool resetOnTearDown

    Methods

    AddLog(string, string, LogType)

    Declaration
    public void AddLog(string message, string stacktrace, LogType type)
    Parameters
    Type Name Description
    string message
    string stacktrace
    LogType type

    Dispose()

    Declaration
    public void Dispose()

    HasLogBeenReceived(LogType, string)

    Declaration
    public bool HasLogBeenReceived(LogType type, string message)
    Parameters
    Type Name Description
    LogType type
    string message
    Returns
    Type Description
    bool

    LogWasNotReceived(LogType, string)

    Declaration
    public void LogWasNotReceived(LogType type, string message)
    Parameters
    Type Name Description
    LogType type
    string message

    LogWasNotReceived(LogType, Regex)

    Declaration
    public void LogWasNotReceived(LogType type, Regex messageRegex)
    Parameters
    Type Name Description
    LogType type
    Regex messageRegex

    LogWasReceived(LogType, string)

    Declaration
    public void LogWasReceived(LogType type, string message)
    Parameters
    Type Name Description
    LogType type
    string message

    LogWasReceived(LogType, Regex)

    Declaration
    public void LogWasReceived(LogType type, Regex messageRegex)
    Parameters
    Type Name Description
    LogType type
    Regex messageRegex

    OnTearDown()

    Declaration
    public void OnTearDown()

    Reset()

    Declaration
    public void Reset()

    Implements

    IDisposable
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)