aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.UnitTesting/Core
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-02-23 20:15:36 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-02-23 20:15:36 +0200
commit17612c08da93c75d4c941a643bc7602c18f351d8 (patch)
tree7fb879ef52d5460149b199f752279c3889cb5271 /Software/Visual_Studio/Tango.UnitTesting/Core
parentd7c8a8e9a6320ade6098e0d8e182c7ada4e30a97 (diff)
downloadTango-17612c08da93c75d4c941a643bc7602c18f351d8.tar.gz
Tango-17612c08da93c75d4c941a643bc7602c18f351d8.zip
Implemented auto DTO generation.
Implemented mapping of DTO <=> Observables. Organization of unit tests. Removed DELETED from ADDRESS & CONTACT.
Diffstat (limited to 'Software/Visual_Studio/Tango.UnitTesting/Core')
-rw-r--r--Software/Visual_Studio/Tango.UnitTesting/Core/TemporaryManager_TST.cs34
1 files changed, 34 insertions, 0 deletions
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);
+ }
+ }
+ }
+}