From e80356f57c272efafbb3d782eb49c4e20281463b Mon Sep 17 00:00:00 2001 From: Jon Manning Date: Fri, 15 Mar 2024 16:23:26 +1100 Subject: [PATCH] Deliberately add test failures --- Tests/Editor/UnityLocalisationTests.cs | 7 +++++++ Tests/Runtime/DialogueRunnerTests/DialogueRunnerTests.cs | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/Tests/Editor/UnityLocalisationTests.cs b/Tests/Editor/UnityLocalisationTests.cs index 5827b370..72bf7eac 100644 --- a/Tests/Editor/UnityLocalisationTests.cs +++ b/Tests/Editor/UnityLocalisationTests.cs @@ -163,6 +163,13 @@ public void UnityLocalisation_ImplicitStringsImportedCorrectly() } } + + [Test] + public void TestFailing() + { + Assert.Fail("This Edit-Mode test failed."); + } + [Test] public void UnityLocalisation_FormerImplictLinesAreRemovedFromStringTables() { diff --git a/Tests/Runtime/DialogueRunnerTests/DialogueRunnerTests.cs b/Tests/Runtime/DialogueRunnerTests/DialogueRunnerTests.cs index 18c80669..fb43284f 100644 --- a/Tests/Runtime/DialogueRunnerTests/DialogueRunnerTests.cs +++ b/Tests/Runtime/DialogueRunnerTests/DialogueRunnerTests.cs @@ -248,6 +248,15 @@ public IEnumerator DialogueRunner_CanAccessInitialValues() yield return null; } + + + [Test] + public void TestFailing() + { + Assert.Fail("This Play-Mode test failed."); + } + + [UnityTest] public IEnumerator DialogueRunner_CanAccessNodeNames() {