TSV like PDSF ready to test

This commit is contained in:
2025-01-14 13:13:56 -07:00
parent 0c786f1f31
commit 29dd3c3559
19 changed files with 2408 additions and 104 deletions

View File

@ -7,7 +7,7 @@ using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_57_0;
namespace Adaptation._Tests.CreateSelfDescription.Production.v2_57_0;
[TestClass]
public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
@ -52,7 +52,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__MoveMatchingFiles()
public void Production__v2_57_0__MET08DDUPSP1TBI__MoveMatchingFiles()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -65,7 +65,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewer()
public void Production__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewer()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -78,7 +78,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__IQSSi()
public void Production__v2_57_0__MET08DDUPSP1TBI__IQSSi()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -91,7 +91,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsight()
public void Production__v2_57_0__MET08DDUPSP1TBI__OpenInsight()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -104,7 +104,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments()
public void Production__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -117,7 +117,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__APC()
public void Production__v2_57_0__MET08DDUPSP1TBI__APC()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -130,7 +130,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__SPaCe()
public void Production__v2_57_0__MET08DDUPSP1TBI__SPaCe()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -143,7 +143,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__Processed()
public void Production__v2_57_0__MET08DDUPSP1TBI__Processed()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -156,7 +156,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__Archive()
public void Production__v2_57_0__MET08DDUPSP1TBI__Archive()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -169,7 +169,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__Dummy()
public void Production__v2_57_0__MET08DDUPSP1TBI__Dummy()
{
string check = "637400748000000000.zip";
MethodBase methodBase = new StackFrame().GetMethod();
@ -182,7 +182,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__TIBCO()
public void Production__v2_57_0__MET08DDUPSP1TBI__TIBCO()
{
string check = "*.idc";
MethodBase methodBase = new StackFrame().GetMethod();

View File

@ -6,7 +6,7 @@ using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_57_0;
namespace Adaptation._Tests.CreateSelfDescription.Production.v2_57_0;
[TestClass]
public class SP101_EQPT : EAFLoggingUnitTesting
@ -56,7 +56,7 @@ public class SP101_EQPT : EAFLoggingUnitTesting
[Ignore]
[TestMethod]
public void Staging__v2_57_0__SP101_EQPT__MoveAllFiles()
public void Production__v2_57_0__SP101_EQPT__MoveAllFiles()
{
string check = "*";
MethodBase methodBase = new StackFrame().GetMethod();

View File

@ -7,7 +7,7 @@ using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_57_0;
namespace Adaptation._Tests.CreateSelfDescription.Production.v2_57_0;
[TestClass]
public class SP101 : EAFLoggingUnitTesting
@ -52,7 +52,7 @@ public class SP101 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__SP101__txt()
public void Production__v2_57_0__SP101__txt()
{
string check = "*.txt";
MethodBase methodBase = new StackFrame().GetMethod();

View File

@ -6,7 +6,7 @@ using System;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_57_0;
namespace Adaptation._Tests.Extract.Production.v2_57_0;
[TestClass]
public class MET08DDUPSP1TBI
@ -15,13 +15,13 @@ public class MET08DDUPSP1TBI
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.MET08DDUPSP1TBI _MET08DDUPSP1TBI;
private static CreateSelfDescription.Production.v2_57_0.MET08DDUPSP1TBI _MET08DDUPSP1TBI;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.MET08DDUPSP1TBI.ClassInitialize(testContext);
_MET08DDUPSP1TBI = CreateSelfDescription.Staging.v2_57_0.MET08DDUPSP1TBI.EAFLoggingUnitTesting;
CreateSelfDescription.Production.v2_57_0.MET08DDUPSP1TBI.ClassInitialize(testContext);
_MET08DDUPSP1TBI = CreateSelfDescription.Production.v2_57_0.MET08DDUPSP1TBI.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
@ -35,18 +35,18 @@ public class MET08DDUPSP1TBI
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__MoveMatchingFiles() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__MoveMatchingFiles();
public void Production__v2_57_0__MET08DDUPSP1TBI__MoveMatchingFiles() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__MoveMatchingFiles();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__MoveMatchingFiles637955319879801344__Normal()
public void Production__v2_57_0__MET08DDUPSP1TBI__MoveMatchingFiles637955319879801344__Normal()
{
string check = "*.pdsf";
bool validatePDSF = false;
MethodBase methodBase = new StackFrame().GetMethod();
_MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__MoveMatchingFiles();
_MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__MoveMatchingFiles();
string[] variables = _MET08DDUPSP1TBI.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _MET08DDUPSP1TBI.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
@ -58,29 +58,29 @@ public class MET08DDUPSP1TBI
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewer() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewer();
public void Production__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewer() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewer();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__IQSSi() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__IQSSi();
public void Production__v2_57_0__MET08DDUPSP1TBI__IQSSi() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__IQSSi();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsight() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsight();
public void Production__v2_57_0__MET08DDUPSP1TBI__OpenInsight() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__OpenInsight();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsight638052814829645888__IqsSql()
public void Production__v2_57_0__MET08DDUPSP1TBI__OpenInsight638052814829645888__IqsSql()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
_MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsight();
_MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__OpenInsight();
string[] variables = _MET08DDUPSP1TBI.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
IFileRead fileRead = _MET08DDUPSP1TBI.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
@ -92,51 +92,51 @@ public class MET08DDUPSP1TBI
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments();
public void Production__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__APC() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__APC();
public void Production__v2_57_0__MET08DDUPSP1TBI__APC() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__APC();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__SPaCe() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__SPaCe();
public void Production__v2_57_0__MET08DDUPSP1TBI__SPaCe() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__SPaCe();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__Processed() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__Processed();
public void Production__v2_57_0__MET08DDUPSP1TBI__Processed() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__Processed();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__Archive() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__Archive();
public void Production__v2_57_0__MET08DDUPSP1TBI__Archive() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__Archive();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__Dummy() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__Dummy();
public void Production__v2_57_0__MET08DDUPSP1TBI__Dummy() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__Dummy();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__TIBCO() => _MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__TIBCO();
public void Production__v2_57_0__MET08DDUPSP1TBI__TIBCO() => _MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__TIBCO();
[Ignore]
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSP1TBI__TIBCO638217888620242702__Normal()
public void Production__v2_57_0__MET08DDUPSP1TBI__TIBCO638217888620242702__Normal()
{
string check = "*.idc";
MethodBase methodBase = new StackFrame().GetMethod();
_MET08DDUPSP1TBI.Staging__v2_57_0__MET08DDUPSP1TBI__TIBCO();
_MET08DDUPSP1TBI.Production__v2_57_0__MET08DDUPSP1TBI__TIBCO();
string[] variables = _MET08DDUPSP1TBI.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
_ = _MET08DDUPSP1TBI.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
for (int i = 0; i < int.MaxValue; i++)

View File

@ -0,0 +1,27 @@
#if true
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Adaptation._Tests.Extract.Production.v2_57_0;
[TestClass]
public class SP101_EQPT
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Production.v2_57_0.SP101_EQPT _SP101_EQPT;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Production.v2_57_0.SP101_EQPT.ClassInitialize(testContext);
_SP101_EQPT = CreateSelfDescription.Production.v2_57_0.SP101_EQPT.EAFLoggingUnitTesting;
}
[Ignore]
[TestMethod]
public void Production__v2_57_0__SP101_EQPT__MoveAllFiles() => _SP101_EQPT.Production__v2_57_0__SP101_EQPT__MoveAllFiles();
}
#endif

View File

@ -6,7 +6,7 @@ using System;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_57_0;
namespace Adaptation._Tests.Extract.Production.v2_57_0;
[TestClass]
public class SP101
@ -15,13 +15,13 @@ public class SP101
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.SP101 _SP101;
private static CreateSelfDescription.Production.v2_57_0.SP101 _SP101;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.SP101.ClassInitialize(testContext);
_SP101 = CreateSelfDescription.Staging.v2_57_0.SP101.EAFLoggingUnitTesting;
CreateSelfDescription.Production.v2_57_0.SP101.ClassInitialize(testContext);
_SP101 = CreateSelfDescription.Production.v2_57_0.SP101.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
@ -35,17 +35,17 @@ public class SP101
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__SP101__txt() => _SP101.Staging__v2_57_0__SP101__txt();
public void Production__v2_57_0__SP101__txt() => _SP101.Production__v2_57_0__SP101__txt();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__SP101__txt637955319879801344__Normal()
public void Production__v2_57_0__SP101__txt637955319879801344__Normal()
{
string check = "*.txt";
bool validatePDSF = false;
_SP101.Staging__v2_57_0__SP101__txt();
_SP101.Production__v2_57_0__SP101__txt();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _SP101.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _SP101.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);

View File

@ -1,27 +0,0 @@
#if true
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Adaptation._Tests.Extract.Staging.v2_57_0;
[TestClass]
public class SP101_EQPT
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.SP101_EQPT _SP101_EQPT;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.SP101_EQPT.ClassInitialize(testContext);
_SP101_EQPT = CreateSelfDescription.Staging.v2_57_0.SP101_EQPT.EAFLoggingUnitTesting;
}
[Ignore]
[TestMethod]
public void Staging__v2_57_0__SP101_EQPT__MoveAllFiles() => _SP101_EQPT.Staging__v2_57_0__SP101_EQPT__MoveAllFiles();
}
#endif

View File

@ -152,6 +152,7 @@ public class Job : LoggingUnitTesting, IDisposable
NonThrowTryCatch();
}
[Ignore]
[TestMethod]
public void TestJobD()
{