A game about forced loneliness, made by TACStudios
1using System;
2using NUnit.Framework;
3using NUnit.Framework.Interfaces;
4
5namespace UnityEngine.TestTools.TestRunner
6{
7 internal class UnityTestTimeoutException : ResultStateException
8 {
9 public UnityTestTimeoutException(int timeout)
10 : base(BuildMessage(timeout))
11 {
12 }
13
14 private static string BuildMessage(int timeout)
15 {
16 return string.Format("Timeout value of {0} ms was exceeded. If this is intended, increase the timeout value using a TimeoutAttribute.", timeout);
17 }
18
19 public override ResultState ResultState
20 {
21 get { return ResultState.Failure; }
22 }
23
24 public override string StackTrace
25 {
26 get { return ""; }
27 }
28 }
29}