docs.unity3d.com
    Show / Hide Table of Contents

    Class NetcodeLogAssert

    Inheritance
    Object
    NetcodeLogAssert
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Netcode.RuntimeTests
    Syntax
    public class NetcodeLogAssert : IDisposable

    Constructors

    NetcodeLogAssert(Boolean, Boolean)

    Declaration
    public NetcodeLogAssert(bool ignorFailingMessages = false, bool resetOnTearDown = true)
    Parameters
    Type Name Description
    Boolean ignorFailingMessages
    Boolean 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()
    Implements
    IDisposable.Dispose()

    HasLogBeenReceived(LogType, String)

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

    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()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023