docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Message

    Inheritance
    object
    Message
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Unity.TestProtocol
    Assembly: solution.dll
    Syntax
    public sealed class Message

    Constructors

    Name Description
    Message(IDictionary)
    Message(string, string)

    Fields

    Name Description
    BeginPhase
    CompletePhase
    EndPhase
    ImmediatePhase
    kProtocolVersion

    Properties

    Name Description
    this[string]
    data
    messageType
    phase

    Methods

    Name Description
    AddError(Exception)
    AddError(string)
    End()

    Should only be used with begin-end message types, such as: Action, TestSuite, TestSession, ProcessInfo, TestGroup.

    End(Exception)

    Should only be used with begin-end message types, such as: Action, TestSuite, TestSession, ProcessInfo, TestGroup.

    GetBool(string)
    GetDefaultMessageTypeValue(Type)
    GetErrors()
    GetInt(string)
    GetLong(string)
    GetString(string)
    HasErrors()
    HasField(string)
    Is(string)
    IsEndMessageFor(Message)
    MergeWith(Message)

    Extension Methods

    Check.IsActionBeginMessage(Message)
    Check.IsActionBeginMessage(Message, string)
    Check.IsActionCompletedWithError(Message)
    Check.IsActionEndMessage(Message)
    Check.IsActionEndMessage(Message, string)
    Check.IsActionMessage(Message)
    Check.IsBeginMessage(Message)
    Check.IsCompleteMessage(Message)
    Check.IsDurationEqualTo(Message, long)
    Check.IsEndMessage(Message)
    Check.IsImmediate(Message)
    Check.IsSuiteFailedMessage(Message)
    Check.IsTestFailedMessage(Message)
    Check.IsTestFinish(Message)
    Check.IsTestFinish(Message, TestStateEnum)
    Check.IsTestStart(Message)
    Check.IsTestSuiteEnd(Message)
    Check.IsTestSuiteStart(Message)
    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)