docs.unity.cn
    Show / Hide Table of Contents

    Interface IErrorCallbacks

    An extended version of the ICallbacks, which get invoked if the test run fails due to a build error or if any IPrebuildSetup has a failure.

    Inherited Members
    ICallbacks.RunStarted(ITestAdaptor)
    ICallbacks.RunFinished(ITestResultAdaptor)
    ICallbacks.TestStarted(ITestAdaptor)
    ICallbacks.TestFinished(ITestResultAdaptor)
    Namespace: UnityEditor.TestTools.TestRunner.Api
    Syntax
    public interface IErrorCallbacks : ICallbacks

    Methods

    OnError(String)

    Method invoked on failure.

    Declaration
    void OnError(string message)
    Parameters
    Type Name Description
    String message

    The error message detailing the reason for the run to fail.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Monday, November 14, 2022
    Terms of use