From a826032bc93b0ea9380b2005a414eb7ced51b037 Mon Sep 17 00:00:00 2001 From: Ivan Mogilko Date: Tue, 24 Oct 2023 05:11:22 +0300 Subject: [PATCH] Editor.Tests: fixed incorrect number of args in Room.SerializesToXml --- Editor/AGS.Editor.Tests/Types/RoomTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Editor/AGS.Editor.Tests/Types/RoomTests.cs b/Editor/AGS.Editor.Tests/Types/RoomTests.cs index fea970b5b1c..5c8f2f2113f 100644 --- a/Editor/AGS.Editor.Tests/Types/RoomTests.cs +++ b/Editor/AGS.Editor.Tests/Types/RoomTests.cs @@ -175,8 +175,8 @@ public void GetsMaskScaleThrowsExceptionWithIllegalMask() Assert.Throws(() => _room.GetMaskScale(RoomAreaMaskType.None)); } - [TestCase(1, 2, 1174750494, 320, 240, 5, true, false, 1, 1, 2, 3, 4, 2, "description1")] - [TestCase(2, 1, 1174750495, 640, 480, 4, false, true, 0, 2, 3, 4, 5, 3, "description2")] + [TestCase(1, 2, 1174750494, 320, 240, 5, false, 1, 1, 2, 3, 4, 2, "description1")] + [TestCase(2, 1, 1174750495, 640, 480, 4, true, 0, 2, 3, 4, 5, 3, "description2")] public void DeserializesFromXml(int maskResolution, int backgroundCount, int gameId, int width, int height, int backgroundAnimationDelay, bool showPlayerCharacter, int playerCharacterView, int leftEdgeX, int rightEdgeX, @@ -252,8 +252,8 @@ public void DeserializesFromXml(int maskResolution, int backgroundCount, int gam File.Delete("TestScript.asc"); } - [TestCase(1, 2, 1174750494, 320, 240, 5, true, false, 1, 1, 2, 3, 4, 2, "description1")] - [TestCase(2, 1, 1174750495, 640, 480, 4, false, true, 0, 2, 3, 4, 5, 3, "description2")] + [TestCase(1, 2, 1174750494, 320, 240, 5, false, 1, 1, 2, 3, 4, 2, "description1")] + [TestCase(2, 1, 1174750495, 640, 480, 4, true, 0, 2, 3, 4, 5, 3, "description2")] public void SerializesToXml(int maskResolution, int backgroundCount, int gameId, int width, int height, int backgroundAnimationDelay, bool showPlayerCharacter, int playerCharacterView, int leftEdgeX, int rightEdgeX,