Big changes
This commit is contained in:
@@ -16,18 +16,9 @@ GOVERNMENT.
|
||||
UNPUBLISHED WORK - COPYRIGHT RAYTHEON COMPANY.
|
||||
-------------------------------------------------------------------------*/
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
|
||||
using NLog;
|
||||
using ProgramLib;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using ProgramGui.Model;
|
||||
using System.Collections.Generic;
|
||||
using ProgramGui;
|
||||
using ProgramGui.ViewModel;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using ProgramGui.View;
|
||||
|
||||
namespace UnitTests
|
||||
{
|
||||
@@ -47,6 +38,7 @@ namespace UnitTests
|
||||
try
|
||||
{
|
||||
ProgramLib.Program.Instance("partNumber", "SerialNumber", false);
|
||||
ProgramLib.Program.Instance().InitializeDioMeasurementManager();
|
||||
ProgramLib.Program.Instance().InitializePowerSupplyMeasurementManager();
|
||||
ProgramLib.Program.Instance().InitializeGuiManager();
|
||||
ProgramLib.Program.Instance().InitializeSupportThreads();
|
||||
@@ -67,7 +59,24 @@ namespace UnitTests
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Error(ex.Message + "\n" + ex.StackTrace);
|
||||
_logger.Error(ex.Message + "\r\n" + ex.StackTrace);
|
||||
}
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void SttoTest()
|
||||
{
|
||||
try
|
||||
{
|
||||
ProgramLib.Program.Instance("partNumber", "SerialNumber", false);
|
||||
ProgramLib.Program.Instance().InitializeSwitchMeasurementManager();
|
||||
ProgramLib.Program.Instance().InitializeGuiManager();
|
||||
|
||||
ProgramLib.Program.Instance().Perform_GMA_ATP_001_UUT_STTO();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Error(ex.Message + "\r\n" + ex.StackTrace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user