FlagDuplicates

CA1510
Complete
This commit is contained in:
2024-11-18 16:58:26 -07:00
parent aaefffd3d2
commit 8ff877156d
20 changed files with 726 additions and 100 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 MET08DDUPSFS6420 : EAFLoggingUnitTesting
@ -52,7 +52,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__MoveMatchingFiles()
public void Production__v2_57_0__MET08DDUPSFS6420__MoveMatchingFiles()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -65,7 +65,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer()
public void Production__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -78,7 +78,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__IQSSi()
public void Production__v2_57_0__MET08DDUPSFS6420__IQSSi()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -91,7 +91,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsight()
public void Production__v2_57_0__MET08DDUPSFS6420__OpenInsight()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -104,7 +104,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments()
public void Production__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -117,7 +117,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__APC()
public void Production__v2_57_0__MET08DDUPSFS6420__APC()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -130,7 +130,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__SPaCe()
public void Production__v2_57_0__MET08DDUPSFS6420__SPaCe()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -143,7 +143,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__Processed()
public void Production__v2_57_0__MET08DDUPSFS6420__Processed()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -156,7 +156,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__Archive()
public void Production__v2_57_0__MET08DDUPSFS6420__Archive()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -169,7 +169,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__Dummy()
public void Production__v2_57_0__MET08DDUPSFS6420__Dummy()
{
string check = "637400762709163000.zip";
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 TENCOR1 : EAFLoggingUnitTesting
@ -52,7 +52,7 @@ public class TENCOR1 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__TENCOR1__pcl()
public void Production__v2_57_0__TENCOR1__pcl()
{
string check = "*.pcl";
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 TENCOR2 : EAFLoggingUnitTesting
@ -52,7 +52,7 @@ public class TENCOR2 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__TENCOR2__pcl()
public void Production__v2_57_0__TENCOR2__pcl()
{
string check = "*.pcl";
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 TENCOR3 : EAFLoggingUnitTesting
@ -52,7 +52,7 @@ public class TENCOR3 : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__TENCOR3__pcl()
public void Production__v2_57_0__TENCOR3__pcl()
{
string check = "*.pcl";
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 MET08DDUPSFS6420
@ -15,13 +15,13 @@ public class MET08DDUPSFS6420
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.MET08DDUPSFS6420 _MET08DDUPSFS6420;
private static CreateSelfDescription.Production.v2_57_0.MET08DDUPSFS6420 _MET08DDUPSFS6420;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.MET08DDUPSFS6420.ClassInitialize(testContext);
_MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_57_0.MET08DDUPSFS6420.EAFLoggingUnitTesting;
CreateSelfDescription.Production.v2_57_0.MET08DDUPSFS6420.ClassInitialize(testContext);
_MET08DDUPSFS6420 = CreateSelfDescription.Production.v2_57_0.MET08DDUPSFS6420.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
@ -35,24 +35,24 @@ public class MET08DDUPSFS6420
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__MoveMatchingFiles();
public void Production__v2_57_0__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__MoveMatchingFiles();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer();
public void Production__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer637810124350899080__Normal()
public void Production__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer637810124350899080__Normal()
{
string check = "*.pdsf";
bool validatePDSF = false;
MethodBase methodBase = new StackFrame().GetMethod();
_MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer();
_MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer();
string[] variables = _MET08DDUPSFS6420.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _MET08DDUPSFS6420.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
@ -64,23 +64,23 @@ public class MET08DDUPSFS6420
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__IQSSi();
public void Production__v2_57_0__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__IQSSi();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsight();
public void Production__v2_57_0__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__OpenInsight();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsight638052163299572098__IqsSql()
public void Production__v2_57_0__MET08DDUPSFS6420__OpenInsight638052163299572098__IqsSql()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
_MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsight();
_MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__OpenInsight();
string[] variables = _MET08DDUPSFS6420.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
IFileRead fileRead = _MET08DDUPSFS6420.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
@ -92,17 +92,17 @@ public class MET08DDUPSFS6420
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments();
public void Production__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments638519735942138814__HeaderId()
public void Production__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments638519735942138814__HeaderId()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
_MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments();
_MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments();
string[] variables = _MET08DDUPSFS6420.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
IFileRead fileRead = _MET08DDUPSFS6420.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
@ -114,31 +114,31 @@ public class MET08DDUPSFS6420
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__APC();
public void Production__v2_57_0__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__APC();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__SPaCe();
public void Production__v2_57_0__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__SPaCe();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__Processed();
public void Production__v2_57_0__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__Processed();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__Archive();
public void Production__v2_57_0__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__Archive();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__Dummy();
public void Production__v2_57_0__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Production__v2_57_0__MET08DDUPSFS6420__Dummy();
}
#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 TENCOR1
@ -15,13 +15,13 @@ public class TENCOR1
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.TENCOR1 _TENCOR1;
private static CreateSelfDescription.Production.v2_57_0.TENCOR1 _TENCOR1;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.TENCOR1.ClassInitialize(testContext);
_TENCOR1 = CreateSelfDescription.Staging.v2_57_0.TENCOR1.EAFLoggingUnitTesting;
CreateSelfDescription.Production.v2_57_0.TENCOR1.ClassInitialize(testContext);
_TENCOR1 = CreateSelfDescription.Production.v2_57_0.TENCOR1.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
@ -35,18 +35,18 @@ public class TENCOR1
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__TENCOR1__pcl() => _TENCOR1.Staging__v2_57_0__TENCOR1__pcl();
public void Production__v2_57_0__TENCOR1__pcl() => _TENCOR1.Production__v2_57_0__TENCOR1__pcl();
#if DEBUG
#if (!DEBUG)
[Ignore]
#endif
[TestMethod]
[ExpectedException(typeof(MissingMethodException))]
public void Staging__v2_57_0__TENCOR1__pcl637955518212649513__Normal()
public void Production__v2_57_0__TENCOR1__pcl637955518212649513__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_TENCOR1.Staging__v2_57_0__TENCOR1__pcl();
_TENCOR1.Production__v2_57_0__TENCOR1__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _TENCOR1.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _TENCOR1.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);

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 TENCOR2
@ -15,13 +15,13 @@ public class TENCOR2
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.TENCOR2 _TENCOR2;
private static CreateSelfDescription.Production.v2_57_0.TENCOR2 _TENCOR2;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.TENCOR2.ClassInitialize(testContext);
_TENCOR2 = CreateSelfDescription.Staging.v2_57_0.TENCOR2.EAFLoggingUnitTesting;
CreateSelfDescription.Production.v2_57_0.TENCOR2.ClassInitialize(testContext);
_TENCOR2 = CreateSelfDescription.Production.v2_57_0.TENCOR2.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
@ -35,18 +35,18 @@ public class TENCOR2
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__TENCOR2__pcl() => _TENCOR2.Staging__v2_57_0__TENCOR2__pcl();
public void Production__v2_57_0__TENCOR2__pcl() => _TENCOR2.Production__v2_57_0__TENCOR2__pcl();
#if DEBUG
[Ignore]
#endif
[TestMethod]
[ExpectedException(typeof(MissingMethodException))]
public void Staging__v2_57_0__TENCOR2__pcl637955534973701250__Normal()
public void Production__v2_57_0__TENCOR2__pcl637955534973701250__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_TENCOR2.Staging__v2_57_0__TENCOR2__pcl();
_TENCOR2.Production__v2_57_0__TENCOR2__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _TENCOR2.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _TENCOR2.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);

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 TENCOR3
@ -15,13 +15,13 @@ public class TENCOR3
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_57_0.TENCOR3 _TENCOR3;
private static CreateSelfDescription.Production.v2_57_0.TENCOR3 _TENCOR3;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_57_0.TENCOR3.ClassInitialize(testContext);
_TENCOR3 = CreateSelfDescription.Staging.v2_57_0.TENCOR3.EAFLoggingUnitTesting;
CreateSelfDescription.Production.v2_57_0.TENCOR3.ClassInitialize(testContext);
_TENCOR3 = CreateSelfDescription.Production.v2_57_0.TENCOR3.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
@ -35,18 +35,18 @@ public class TENCOR3
[Ignore]
#endif
[TestMethod]
public void Staging__v2_57_0__TENCOR3__pcl() => _TENCOR3.Staging__v2_57_0__TENCOR3__pcl();
public void Production__v2_57_0__TENCOR3__pcl() => _TENCOR3.Production__v2_57_0__TENCOR3__pcl();
#if DEBUG
[Ignore]
#endif
[TestMethod]
[ExpectedException(typeof(MissingMethodException))]
public void Staging__v2_57_0__TENCOR3__pcl637955520360305921__Normal()
public void Production__v2_57_0__TENCOR3__pcl637955520360305921__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_TENCOR3.Staging__v2_57_0__TENCOR3__pcl();
_TENCOR3.Production__v2_57_0__TENCOR3__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _TENCOR3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _TENCOR3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);

View File

@ -58,7 +58,7 @@ public class MET08DDUPSFS6420 : LoggingUnitTesting, IDisposable
[Ignore]
#endif
[TestMethod]
public void Staging()
public void Production()
{
MethodBase methodBase = new StackFrame().GetMethod();
StringBuilder results = new();
@ -66,12 +66,12 @@ public class MET08DDUPSFS6420 : LoggingUnitTesting, IDisposable
{
new("MET08DDUPSFS6420", "v2.57.0"),
};
string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2";
string production = "http://messa08ec.infineon.com:9003/CellInstanceServiceV2";
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
foreach ((string cellInstanceName, string cellInstanceVersionName) in collection)
{
cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{staging}/{cellInstanceName}/{cellInstanceVersionName}/configuration");
cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{production}/{cellInstanceName}/{cellInstanceVersionName}/configuration");
_ = results.AppendLine($"{cellInstanceName}\t{cellInstanceVersionName}\t{cellInstanceVersion.EdaConnection.PortNumber}");
}
string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber";

View File

@ -204,7 +204,7 @@ public class PCL : LoggingUnitTesting, IDisposable
[Ignore]
#endif
[TestMethod]
public void Staging()
public void Production()
{
MethodBase methodBase = new StackFrame().GetMethod();
StringBuilder results = new();
@ -217,12 +217,12 @@ public class PCL : LoggingUnitTesting, IDisposable
new("TENCOR2-EQPT", "v2.12.3"),
new("TENCOR3-EQPT", "v2.12.3"),
};
string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2";
string production = "http://messa08ec.infineon.com:9003/CellInstanceServiceV2";
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
foreach ((string cellInstanceName, string cellInstanceVersionName) in collection)
{
cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{staging}/{cellInstanceName}/{cellInstanceVersionName}/configuration");
cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{production}/{cellInstanceName}/{cellInstanceVersionName}/configuration");
_ = results.AppendLine($"{cellInstanceName}\t{cellInstanceVersionName}\t{cellInstanceVersion.EdaConnection.PortNumber}");
}
string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber";