From 17612c08da93c75d4c941a643bc7602c18f351d8 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Sat, 23 Feb 2019 20:15:36 +0200 Subject: Implemented auto DTO generation. Implemented mapping of DTO <=> Observables. Organization of unit tests. Removed DELETED from ADDRESS & CONTACT. --- .../Tango.UnitTesting/Core/TemporaryManager_TST.cs | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Software/Visual_Studio/Tango.UnitTesting/Core/TemporaryManager_TST.cs (limited to 'Software/Visual_Studio/Tango.UnitTesting/Core') diff --git a/Software/Visual_Studio/Tango.UnitTesting/Core/TemporaryManager_TST.cs b/Software/Visual_Studio/Tango.UnitTesting/Core/TemporaryManager_TST.cs new file mode 100644 index 000000000..b017b4e11 --- /dev/null +++ b/Software/Visual_Studio/Tango.UnitTesting/Core/TemporaryManager_TST.cs @@ -0,0 +1,34 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using Tango.Core.IO; + +namespace Tango.UnitTesting.Core +{ + [TestClass] + [TestCategory("Temporary Files & Folders")] + public class TemporaryManager_TST + { + [TestMethod] + public void Create_Temporary_Folder_And_Files_Display_And_Delete() + { + TemporaryManager manager = TemporaryManager.Default; + + var folder = manager.CreateFolder(); + + folder.Display(); + + Thread.Sleep(1000); + + for (int i = 0; i < 10; i++) + { + var file = folder.CreateFile(); + Thread.Sleep(1000); + } + } + } +} -- cgit v1.3.1