MET08DDUPSFS6420 - v2.43.4 - MethodBaseName

This commit is contained in:
2022-08-08 16:27:52 -07:00
parent b5244f1166
commit f8ca86e5a0
50 changed files with 1334 additions and 354 deletions

View File

@ -15,15 +15,16 @@ public class TENCOR1 : EAFLoggingUnitTesting
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static TENCOR1 EAFLoggingUnitTesting { get; private set; }
public TENCOR1() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
public TENCOR1() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public TENCOR1(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
public TENCOR1(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
@ -47,6 +48,9 @@ public class TENCOR1 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_36_3__TENCOR1__MET08DDUPSFS6420()
{

View File

@ -15,15 +15,18 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static MET08DDUPSFS6420 EAFLoggingUnitTesting { get; private set; }
public MET08DDUPSFS6420() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
static MET08DDUPSFS6420() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
public MET08DDUPSFS6420() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public MET08DDUPSFS6420(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
public MET08DDUPSFS6420(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
@ -47,6 +50,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420()
{
@ -57,6 +63,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_()
{
@ -67,6 +76,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420__()
{
@ -77,6 +89,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420___()
{
@ -87,6 +102,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420____()
{
@ -97,6 +115,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_____()
{
@ -107,6 +128,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420______()
{
@ -117,6 +141,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_______()
{
@ -127,6 +154,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420________()
{
@ -137,6 +167,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_________()
{
@ -147,6 +180,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420__________()
{

View File

@ -14,15 +14,16 @@ public class TENCOR1 : EAFLoggingUnitTesting
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static TENCOR1 EAFLoggingUnitTesting { get; private set; }
public TENCOR1() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
public TENCOR1() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public TENCOR1(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
public TENCOR1(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
@ -46,6 +47,9 @@ public class TENCOR1 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__TENCOR1__()
{

View File

@ -14,15 +14,16 @@ public class TENCOR2 : EAFLoggingUnitTesting
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static TENCOR2 EAFLoggingUnitTesting { get; private set; }
public TENCOR2() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
public TENCOR2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public TENCOR2(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
public TENCOR2(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
@ -46,6 +47,9 @@ public class TENCOR2 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__TENCOR2__()
{

View File

@ -15,15 +15,16 @@ public class TENCOR3_EQPT : EAFLoggingUnitTesting
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static TENCOR3_EQPT EAFLoggingUnitTesting { get; private set; }
public TENCOR3_EQPT() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
public TENCOR3_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public TENCOR3_EQPT(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
public TENCOR3_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
@ -47,6 +48,9 @@ public class TENCOR3_EQPT : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__TENCOR3_EQPT__DownloadRsMFile()
{

View File

@ -15,15 +15,16 @@ public class TENCOR3 : EAFLoggingUnitTesting
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static TENCOR3 EAFLoggingUnitTesting { get; private set; }
public TENCOR3() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
public TENCOR3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public TENCOR3(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
public TENCOR3(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
@ -47,6 +48,9 @@ public class TENCOR3 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_39_0__TENCOR3__RsM()
{

View File

@ -15,15 +15,16 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static MET08DDUPSFS6420 EAFLoggingUnitTesting { get; private set; }
public MET08DDUPSFS6420() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
public MET08DDUPSFS6420() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public MET08DDUPSFS6420(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
public MET08DDUPSFS6420(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
@ -47,6 +48,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__MET08DDUPSFS6420__MoveMatchingFiles()
{
@ -57,6 +61,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer()
{
@ -67,6 +74,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__MET08DDUPSFS6420__IQSSi()
{
@ -77,6 +87,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__MET08DDUPSFS6420__OpenInsight()
{
@ -87,6 +100,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments()
{
@ -97,6 +113,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__MET08DDUPSFS6420__APC()
{
@ -107,6 +126,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__MET08DDUPSFS6420__SPaCe()
{
@ -117,6 +139,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__MET08DDUPSFS6420__Processed()
{
@ -127,6 +152,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__MET08DDUPSFS6420__Archive()
{
@ -137,6 +165,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__MET08DDUPSFS6420__Dummy()
{

View File

@ -1,54 +0,0 @@
using Adaptation._Tests.Shared;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.IO;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0;
[TestClass]
public class TENCOR1 : EAFLoggingUnitTesting
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static TENCOR1 EAFLoggingUnitTesting { get; private set; }
public TENCOR1() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public TENCOR1(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
if (EAFLoggingUnitTesting is null)
EAFLoggingUnitTesting = new TENCOR1(testContext);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
File.WriteAllText(fileNameAndText[2], fileNameAndText[3]);
}
[ClassCleanup()]
public static void ClassCleanup()
{
if (EAFLoggingUnitTesting.Logger is not null)
EAFLoggingUnitTesting.Logger.LogInformation("Cleanup");
if (EAFLoggingUnitTesting is not null)
EAFLoggingUnitTesting.Dispose();
}
[TestMethod]
public void Staging__v2_43_0__TENCOR1__()
{
}
}

View File

@ -0,0 +1,183 @@
using Adaptation._Tests.Shared;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_43_4;
[TestClass]
public class MET08DDUPSFS6420 : EAFLoggingUnitTesting
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static MET08DDUPSFS6420 EAFLoggingUnitTesting { get; private set; }
static MET08DDUPSFS6420() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
public MET08DDUPSFS6420() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public MET08DDUPSFS6420(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
if (EAFLoggingUnitTesting is null)
EAFLoggingUnitTesting = new MET08DDUPSFS6420(testContext);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
File.WriteAllText(fileNameAndText[2], fileNameAndText[3]);
}
[ClassCleanup()]
public static void ClassCleanup()
{
if (EAFLoggingUnitTesting.Logger is not null)
EAFLoggingUnitTesting.Logger.LogInformation("Cleanup");
if (EAFLoggingUnitTesting is not null)
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_4__MET08DDUPSFS6420__MoveMatchingFiles()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_4__MET08DDUPSFS6420__OpenInsightMetrologyViewer()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_4__MET08DDUPSFS6420__IQSSi()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_4__MET08DDUPSFS6420__OpenInsight()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_4__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_4__MET08DDUPSFS6420__APC()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_4__MET08DDUPSFS6420__SPaCe()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_4__MET08DDUPSFS6420__Processed()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_4__MET08DDUPSFS6420__Archive()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_4__MET08DDUPSFS6420__Dummy()
{
string check = "637400762024374000.zip";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
}

View File

@ -6,24 +6,27 @@ using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_43_4;
[TestClass]
public class TENCOR3_EQPT : EAFLoggingUnitTesting
public class TENCOR1 : EAFLoggingUnitTesting
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static TENCOR3_EQPT EAFLoggingUnitTesting { get; private set; }
internal static string DummyRoot { get; private set; }
internal static TENCOR1 EAFLoggingUnitTesting { get; private set; }
public TENCOR3_EQPT() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
static TENCOR1() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
public TENCOR1() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public TENCOR3_EQPT(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
public TENCOR1(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
@ -31,7 +34,7 @@ public class TENCOR3_EQPT : EAFLoggingUnitTesting
public static void ClassInitialize(TestContext testContext)
{
if (EAFLoggingUnitTesting is null)
EAFLoggingUnitTesting = new TENCOR3_EQPT(testContext);
EAFLoggingUnitTesting = new TENCOR1(testContext);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
@ -47,10 +50,13 @@ public class TENCOR3_EQPT : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__TENCOR3_EQPT__DownloadRsMFile()
public void Staging__v2_43_4__TENCOR1__pcl()
{
string check = "WafrMeas.log|.RsM";
string check = "*.pcl";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);

View File

@ -4,8 +4,9 @@ using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_43_4;
[TestClass]
public class TENCOR2 : EAFLoggingUnitTesting
@ -14,15 +15,18 @@ public class TENCOR2 : EAFLoggingUnitTesting
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static TENCOR2 EAFLoggingUnitTesting { get; private set; }
public TENCOR2() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
static TENCOR2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
public TENCOR2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public TENCOR2(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
public TENCOR2(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
@ -46,9 +50,17 @@ public class TENCOR2 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__TENCOR2__()
public void Staging__v2_43_4__TENCOR2__pcl()
{
string check = "*.pcl";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
}

View File

@ -6,7 +6,7 @@ using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_43_4;
[TestClass]
public class TENCOR3 : EAFLoggingUnitTesting
@ -15,15 +15,18 @@ public class TENCOR3 : EAFLoggingUnitTesting
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static TENCOR3 EAFLoggingUnitTesting { get; private set; }
public TENCOR3() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
static TENCOR3() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
public TENCOR3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public TENCOR3(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
public TENCOR3(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
@ -47,10 +50,13 @@ public class TENCOR3 : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Dispose();
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_43_0__TENCOR3__RsM()
public void Staging__v2_43_4__TENCOR3__pcl()
{
string check = "*.RsM";
string check = "*.pcl";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);