diff --git a/Source/Engine/Tests/TestCircularBuffer.cs b/Source/Engine/Tests/TestCircularBuffer.cs index b7ed7d626..c30164a69 100644 --- a/Source/Engine/Tests/TestCircularBuffer.cs +++ b/Source/Engine/Tests/TestCircularBuffer.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using System; using System.Collections; using FlaxEngine.Collections; @@ -525,3 +526,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestColor.cs b/Source/Engine/Tests/TestColor.cs index e952eb596..89d207bf2 100644 --- a/Source/Engine/Tests/TestColor.cs +++ b/Source/Engine/Tests/TestColor.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using NUnit.Framework; namespace FlaxEngine.Tests @@ -38,3 +39,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestContainerControl.cs b/Source/Engine/Tests/TestContainerControl.cs index bfb479359..10f337725 100644 --- a/Source/Engine/Tests/TestContainerControl.cs +++ b/Source/Engine/Tests/TestContainerControl.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using FlaxEngine.GUI; using NUnit.Framework; using Assert = FlaxEngine.Assertions.Assert; @@ -54,3 +55,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestControl.cs b/Source/Engine/Tests/TestControl.cs index b76787b0a..30b665f34 100644 --- a/Source/Engine/Tests/TestControl.cs +++ b/Source/Engine/Tests/TestControl.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using FlaxEngine.GUI; using NUnit.Framework; using Assert = FlaxEngine.Assertions.Assert; @@ -110,3 +111,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestEditorUtils.cs b/Source/Engine/Tests/TestEditorUtils.cs index 8793a4f1f..bd8d5837b 100644 --- a/Source/Engine/Tests/TestEditorUtils.cs +++ b/Source/Engine/Tests/TestEditorUtils.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using System; using System.Globalization; using NUnit.Framework; @@ -62,3 +63,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestFloatR10G10B10A2.cs b/Source/Engine/Tests/TestFloatR10G10B10A2.cs index f44848e0f..270482b90 100644 --- a/Source/Engine/Tests/TestFloatR10G10B10A2.cs +++ b/Source/Engine/Tests/TestFloatR10G10B10A2.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using NUnit.Framework; namespace FlaxEngine.Tests @@ -20,3 +21,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestFloatR11G11B10.cs b/Source/Engine/Tests/TestFloatR11G11B10.cs index f7761d134..93e9c1507 100644 --- a/Source/Engine/Tests/TestFloatR11G11B10.cs +++ b/Source/Engine/Tests/TestFloatR11G11B10.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using NUnit.Framework; namespace FlaxEngine.Tests @@ -20,3 +21,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestHistoryStack.cs b/Source/Engine/Tests/TestHistoryStack.cs index a285f8b8c..99be9b21c 100644 --- a/Source/Engine/Tests/TestHistoryStack.cs +++ b/Source/Engine/Tests/TestHistoryStack.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using System; using FlaxEditor.History; using NUnit.Framework; @@ -136,3 +137,4 @@ namespace FlaxEditor.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestHtmlParser.cs b/Source/Engine/Tests/TestHtmlParser.cs index 147d07a42..bf77d0125 100644 --- a/Source/Engine/Tests/TestHtmlParser.cs +++ b/Source/Engine/Tests/TestHtmlParser.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using System.Collections.Generic; using FlaxEngine.Utilities; using NUnit.Framework; @@ -116,3 +117,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestModulusOperator.cs b/Source/Engine/Tests/TestModulusOperator.cs index de67edd30..6ef34d6d4 100644 --- a/Source/Engine/Tests/TestModulusOperator.cs +++ b/Source/Engine/Tests/TestModulusOperator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. + +#if FLAX_TESTS using NUnit.Framework; namespace FlaxEngine.Tests @@ -54,3 +57,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestPropertyNameUI.cs b/Source/Engine/Tests/TestPropertyNameUI.cs index e51905ff2..d9aff3ea1 100644 --- a/Source/Engine/Tests/TestPropertyNameUI.cs +++ b/Source/Engine/Tests/TestPropertyNameUI.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using FlaxEditor.Utilities; using NUnit.Framework; @@ -28,3 +29,4 @@ namespace FlaxEditor.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestQuaternion.cs b/Source/Engine/Tests/TestQuaternion.cs index 41e784afe..a5a199ab3 100644 --- a/Source/Engine/Tests/TestQuaternion.cs +++ b/Source/Engine/Tests/TestQuaternion.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using NUnit.Framework; namespace FlaxEngine.Tests @@ -36,3 +37,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestQueryFilterHelper.cs b/Source/Engine/Tests/TestQueryFilterHelper.cs index fe5ac15e2..03459ef77 100644 --- a/Source/Engine/Tests/TestQueryFilterHelper.cs +++ b/Source/Engine/Tests/TestQueryFilterHelper.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using FlaxEditor.Utilities; using NUnit.Framework; @@ -80,3 +81,4 @@ namespace FlaxEditor.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestSceneGraph.cs b/Source/Engine/Tests/TestSceneGraph.cs index 0484901ce..447e66955 100644 --- a/Source/Engine/Tests/TestSceneGraph.cs +++ b/Source/Engine/Tests/TestSceneGraph.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using System; using System.Collections.Generic; using FlaxEditor.SceneGraph; @@ -130,3 +131,4 @@ namespace FlaxEditor.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestScripting.cs b/Source/Engine/Tests/TestScripting.cs index 48dae37e3..529ea4f14 100644 --- a/Source/Engine/Tests/TestScripting.cs +++ b/Source/Engine/Tests/TestScripting.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using System; using System.Reflection; using System.Runtime.InteropServices; @@ -171,3 +172,4 @@ namespace FlaxEngine } } } +#endif diff --git a/Source/Engine/Tests/TestSerialization.cs b/Source/Engine/Tests/TestSerialization.cs index 3c57c6888..6e6c33e84 100644 --- a/Source/Engine/Tests/TestSerialization.cs +++ b/Source/Engine/Tests/TestSerialization.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using System; using FlaxEngine.Json; using NUnit.Framework; @@ -150,3 +151,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestStringUtils.cs b/Source/Engine/Tests/TestStringUtils.cs index c741210dc..92c2f62d0 100644 --- a/Source/Engine/Tests/TestStringUtils.cs +++ b/Source/Engine/Tests/TestStringUtils.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using NUnit.Framework; namespace FlaxEngine.Tests @@ -24,3 +25,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestSurface.cs b/Source/Engine/Tests/TestSurface.cs index ed4e269c8..1412aeab3 100644 --- a/Source/Engine/Tests/TestSurface.cs +++ b/Source/Engine/Tests/TestSurface.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using System.Linq; using FlaxEditor.Surface; using NUnit.Framework; @@ -56,3 +57,4 @@ namespace FlaxEditor.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestTransform.cs b/Source/Engine/Tests/TestTransform.cs index b4d20023c..59238615d 100644 --- a/Source/Engine/Tests/TestTransform.cs +++ b/Source/Engine/Tests/TestTransform.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using System; using FlaxEngine.Utilities; using NUnit.Framework; @@ -171,3 +172,4 @@ namespace FlaxEngine.Tests } } } +#endif diff --git a/Source/Engine/Tests/TestUndo.cs b/Source/Engine/Tests/TestUndo.cs index 87cec99f0..7dc4d858d 100644 --- a/Source/Engine/Tests/TestUndo.cs +++ b/Source/Engine/Tests/TestUndo.cs @@ -1,5 +1,6 @@ // Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. +#if FLAX_TESTS using System; using NUnit.Framework; using Assert = FlaxEngine.Assertions.Assert; @@ -404,3 +405,4 @@ namespace FlaxEditor.Tests } } } +#endif