暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IErrorCallbacks.cs 613B

123456789101112131415161718
  1. using System;
  2. namespace UnityEditor.TestTools.TestRunner.Api
  3. {
  4. /// <summary>
  5. /// An extended version of the <see cref="ICallbacks"/>, which get invoked if the test run fails due to a build error or if any <see cref="UnityEngine.TestTools.IPrebuildSetup"/> has a failure.
  6. /// </summary>
  7. public interface IErrorCallbacks : ICallbacks
  8. {
  9. /// <summary>
  10. /// Method invoked on failure.
  11. /// </summary>
  12. /// <param name="message">
  13. /// The error message detailing the reason for the run to fail.
  14. /// </param>
  15. void OnError(string message);
  16. }
  17. }