aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.UnitTesting/CodeGeneration_TST.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-01-09 16:41:18 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-01-09 16:41:18 +0200
commita15947f35cc602d26cf3f51a5c76b6ada939ea12 (patch)
tree0dbd6c979324bb0714f5dd16df05f9290dac867d /Software/Visual_Studio/Tango.UnitTesting/CodeGeneration_TST.cs
parentaeebb8d47e1d78b50d9ae5afd9df6eaf9765ed87 (diff)
downloadTango-a15947f35cc602d26cf3f51a5c76b6ada939ea12.tar.gz
Tango-a15947f35cc602d26cf3f51a5c76b6ada939ea12.zip
Implemented job upload using JobDescriptionFile.
Diffstat (limited to 'Software/Visual_Studio/Tango.UnitTesting/CodeGeneration_TST.cs')
-rw-r--r--Software/Visual_Studio/Tango.UnitTesting/CodeGeneration_TST.cs43
1 files changed, 0 insertions, 43 deletions
diff --git a/Software/Visual_Studio/Tango.UnitTesting/CodeGeneration_TST.cs b/Software/Visual_Studio/Tango.UnitTesting/CodeGeneration_TST.cs
deleted file mode 100644
index fc80d5593..000000000
--- a/Software/Visual_Studio/Tango.UnitTesting/CodeGeneration_TST.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using System;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Tango.DAL.Remote.DB;
-using Tango.BL.Entities;
-using Tango.Settings;
-using System.Linq;
-using System.Collections.Generic;
-using Tango.DBObservablesGenerator.CLI;
-
-namespace Tango.UnitTesting
-{
- [TestClass]
- [TestCategory("Code Generation")]
- public class CodeGeneration_TST
- {
- [TestMethod]
- public void Generate_DAL_Observable_Entities()
- {
- String tempPath = Helper.GetTempFolderPath();
-
- ObservablesGenerator generator = new ObservablesGenerator();
- generator.GenerateCSharp(tempPath);
-
- Helper.ShowInExplorer(tempPath);
- }
-
- [TestMethod]
- public void Load_Observable_Machines()
- {
- //using (RemoteDB db = new RemoteDB(SettingsManager.Default.DataBase.SQLServerAddress, false))
- //{
- // List<Machine> machines = db.MACHINES.ToList().Select(x => new Machine(x)).ToList();
-
- // foreach (var machine in machines)
- // {
- // machine.SerialNumber = "1111";
- // machine.Organization.Address.AddressString = "HOW HOW HOW";
- // machine.Save();
- // }
- //}
- }
- }
-}