mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
28 lines
671 B
C#
28 lines
671 B
C#
using NUnit.Framework;
|
|
using NUnit.Framework.Interfaces;
|
|
|
|
namespace UnityEngine.TestTools.TestRunner
|
|
{
|
|
internal class UnityTestTimeoutException : ResultStateException
|
|
{
|
|
public UnityTestTimeoutException(int timeout)
|
|
: base(BuildMessage(timeout))
|
|
{
|
|
}
|
|
|
|
private static string BuildMessage(int timeout)
|
|
{
|
|
return string.Format("Timeout value of {0}ms was exceeded", timeout);
|
|
}
|
|
|
|
public override ResultState ResultState
|
|
{
|
|
get { return ResultState.Failure; }
|
|
}
|
|
|
|
public override string StackTrace
|
|
{
|
|
get { return ""; }
|
|
}
|
|
}
|
|
}
|