179 lines
7.1 KiB
C#
179 lines
7.1 KiB
C#
#if true
|
|
using Adaptation._Tests.Shared;
|
|
using Adaptation.Shared;
|
|
using Adaptation.Shared.Methods;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using System;
|
|
using System.Diagnostics;
|
|
using System.Reflection;
|
|
|
|
namespace Adaptation._Tests.Extract.Production.v2_59_0;
|
|
|
|
[TestClass]
|
|
public class MET08RESIMAPCDE
|
|
{
|
|
|
|
#pragma warning disable CA2254
|
|
#pragma warning disable IDE0060
|
|
|
|
private static CreateSelfDescription.Production.v2_59_0.MET08RESIMAPCDE _MET08RESIMAPCDE;
|
|
|
|
[ClassInitialize]
|
|
public static void ClassInitialize(TestContext testContext)
|
|
{
|
|
CreateSelfDescription.Production.v2_59_0.MET08RESIMAPCDE.ClassInitialize(testContext);
|
|
_MET08RESIMAPCDE = CreateSelfDescription.Production.v2_59_0.MET08RESIMAPCDE.EAFLoggingUnitTesting;
|
|
}
|
|
|
|
private static void NonThrowTryCatch()
|
|
{
|
|
try
|
|
{ throw new Exception(); }
|
|
catch (Exception) { }
|
|
}
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__MoveMatchingFiles() => _MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__MoveMatchingFiles();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__MoveMatchingFiles637953064190000000__Normal()
|
|
{
|
|
DateTime dateTime;
|
|
string check = "*";
|
|
bool validatePDSF = false;
|
|
_MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__MoveMatchingFiles();
|
|
MethodBase methodBase = new StackFrame().GetMethod();
|
|
Assert.IsFalse(string.IsNullOrEmpty(_MET08RESIMAPCDE.AdaptationTesting.TestContext.FullyQualifiedTestClassName));
|
|
string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
|
|
IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
|
Logistics logistics = new(fileRead);
|
|
_ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
|
|
dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty);
|
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
|
dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38");
|
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
|
}
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer() => _MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer638127615724700306__NewColumn()
|
|
{
|
|
string check = "*.pdsf";
|
|
MethodBase methodBase = new StackFrame().GetMethod();
|
|
_MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer();
|
|
string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
|
|
IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
|
Logistics logistics = new(fileRead);
|
|
_ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
|
}
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__IQSSi() => _MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__IQSSi();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__OpenInsight() => _MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__OpenInsight();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__OpenInsight638054501710000000__IqsSql()
|
|
{
|
|
string check = "*.pdsf";
|
|
MethodBase methodBase = new StackFrame().GetMethod();
|
|
_MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__OpenInsight();
|
|
string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
|
|
IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
|
Logistics logistics = new(fileRead);
|
|
_ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
|
}
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__OpenInsight638116271690000000__IqsSql()
|
|
{
|
|
string check = "*.pdsf";
|
|
MethodBase methodBase = new StackFrame().GetMethod();
|
|
_MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__OpenInsight();
|
|
string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
|
|
IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
|
Logistics logistics = new(fileRead);
|
|
_ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
|
}
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__OpenInsight638159693274771954__IqsSqlButSplit()
|
|
{
|
|
string check = "*.pdsf";
|
|
MethodBase methodBase = new StackFrame().GetMethod();
|
|
_MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__OpenInsight();
|
|
string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
|
|
IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
|
Logistics logistics = new(fileRead);
|
|
_ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
|
NonThrowTryCatch();
|
|
}
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() => _MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__APC() => _MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__APC();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__SPaCe() => _MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__SPaCe();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__Processed() => _MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__Processed();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__Archive() => _MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__Archive();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Production__v2_59_0__MET08RESIMAPCDE__Dummy();
|
|
|
|
}
|
|
#endif |