Tweaks to tests

This commit is contained in:
Wojciech Figat
2023-01-11 11:06:10 +01:00
parent 9281db73a7
commit 3c40c22049
6 changed files with 11 additions and 11 deletions

View File

@@ -38,8 +38,8 @@ jobs:
- name: Test
run: |
Binaries/Editor/Linux/Development/FlaxTests
dotnet Source/Platforms/DotNet/NUnit/nunit3-netcore-console.dll Binaries/Tools/FlaxEngine.Tests.dll
dotnet Source/Platforms/DotNet/NUnit/nunit3-netcore-console.dll Binaries/Tools/Flax.Build.Tests.dll
dotnet Source/Platforms/DotNet/NUnit/nunit3-console.exe Binaries/Tests/FlaxEngine.Tests.dll
dotnet Source/Platforms/DotNet/NUnit/nunit3-console.exe Binaries/Tests/Flax.Build.Tests.dll
- name: Test UseLargeWorlds
run: |
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Development -buildtargets=FlaxTestsTarget -UseLargeWorlds=true
@@ -74,5 +74,5 @@ jobs:
- name: Test
run: |
.\Binaries\Editor\Win64\Development\FlaxTests.exe
dotnet Source\Platforms\DotNet\NUnit\nunit3-netcore-console.dll Binaries\Tools\FlaxEngine.Tests.dll
dotnet Source\Platforms\DotNet\NUnit\nunit3-netcore-console.dll Binaries\Tools\Flax.Build.Tests.dll
.\Source\Platforms\DotNet\NUnit\nunit3-console.exe Binaries\Tests\FlaxEngine.Tests.dll
.\Source\Platforms\DotNet\NUnit\nunit3-console.exe Binaries\Tests\Flax.Build.Tests.dll

View File

@@ -4,7 +4,7 @@
#include "Engine/Core/Types/StringView.h"
#include <ThirdParty/catch2/catch.hpp>
TEST_CASE("String Replace works")
TEST_CASE("String Replace")
{
SECTION("Char, case sensitive")
{
@@ -79,7 +79,7 @@ TEST_CASE("String Replace works")
}
}
TEST_CASE("String Starts/EndsWith works")
TEST_CASE("String Starts/EndsWith")
{
SECTION("StartsWith, case sensitive")
{
@@ -222,7 +222,7 @@ TEST_CASE("String Starts/EndsWith works")
}
}
TEST_CASE("String Compare works")
TEST_CASE("String Compare")
{
SECTION("String")
{

View File

@@ -9,7 +9,7 @@ using Assert = FlaxEngine.Assertions.Assert;
namespace FlaxEngine.Tests
{
[TestFixture]
public class CircularBufferTests
public class TestsCircularBuffer
{
[Test]
public void CircularBufferTestFrontOverwrite()

View File

@@ -7,7 +7,7 @@ using Assert = FlaxEngine.Assertions.Assert;
namespace FlaxEngine.Tests
{
[TestFixture]
public class TextControl
public class TestControl
{
public class SimpleControl : Control
{

View File

@@ -8,7 +8,7 @@ using Assert = FlaxEngine.Assertions.Assert;
namespace FlaxEditor.Tests
{
[TestFixture]
public class HistoryStackTests
public class TestHistoryStack
{
public class HistoryTestObject : IHistoryAction
{

View File

@@ -7,7 +7,7 @@ using Assert = FlaxEngine.Assertions.Assert;
namespace FlaxEditor.Tests
{
[TestFixture]
public class UndoTests
public class TestUndo
{
[Serializable]
public class UndoObject