aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.UnitTesting/CodeGeneration_TST.cs
diff options
context:
space:
mode:
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();
- // }
- //}
- }
- }
-}