From a4e2f6753c6c2612444847fd12f1e973a86a4aa4 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 20 May 2020 13:12:31 +0300 Subject: Fixed test SetUps and TearDowns. Did tests for Inventory and MobTile (Service/Mobs). Did some minor changes to the program. --- MundusTests/ServiceTests/Tiles/Items/ItemControllerTests.cs | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'MundusTests/ServiceTests/Tiles/Items') diff --git a/MundusTests/ServiceTests/Tiles/Items/ItemControllerTests.cs b/MundusTests/ServiceTests/Tiles/Items/ItemControllerTests.cs index 1ccc228..497ccf3 100644 --- a/MundusTests/ServiceTests/Tiles/Items/ItemControllerTests.cs +++ b/MundusTests/ServiceTests/Tiles/Items/ItemControllerTests.cs @@ -10,19 +10,6 @@ using Mundus.Service.Tiles.Mobs; namespace MundusTests.ServiceTests.Tiles.Items { [TestFixture] public static class ItemControllerTests { - [OneTimeSetUp] - public static void SetUp() { - Application.Init(); - DataBaseContexts.CreateInstances(); - WI.CreateInstances(); - WI.WNewGame.OnBtnGenerateClicked(null, null); - } - - [OneTimeTearDown] - public static void TearDown() { - Application.Quit(); - } - [Test] [TestCase(InventoryPlace.Accessories, 1)] [TestCase(InventoryPlace.Hotbar, 4)] -- cgit v1.2.3