This commit is contained in:
Mister_Nebula 2021-02-13 09:07:39 +00:00
parent 80d77763b4
commit 32f931c440
4 changed files with 5 additions and 6 deletions

View File

@ -14,4 +14,4 @@ namespace QSB.Utility
public static bool IsInUnitTest { get; private set; } public static bool IsInUnitTest { get; private set; }
} }
} }

View File

@ -1,9 +1,9 @@
using System; using Microsoft.VisualStudio.TestTools.UnitTesting;
using QSB.Events;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using QSB.Events;
namespace QSBTests namespace QSBTests
{ {

View File

@ -1,5 +1,4 @@
using System.Reflection; using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
[assembly: AssemblyTitle("QSBTests")] [assembly: AssemblyTitle("QSBTests")]

View File

@ -7,7 +7,7 @@ namespace QSBTests
public class UtilityTests public class UtilityTests
{ {
[TestMethod] [TestMethod]
public void IsInUnitTest() public void IsInUnitTest()
=> Assert.IsTrue(UnitTestDetector.IsInUnitTest, "UnitTestDetector is not working."); => Assert.IsTrue(UnitTestDetector.IsInUnitTest, "UnitTestDetector is not working.");
} }
} }