MET08DDUPSP1TBI - v2.39.0
This commit is contained in:
@ -3,28 +3,31 @@ using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Text.Json;
|
||||
using System.Threading;
|
||||
|
||||
namespace _Tests.CreateSelfDescription.Staging.v2_39_0;
|
||||
|
||||
[TestClass]
|
||||
public class SP1 : EAFLoggingUnitTesting
|
||||
public class SP101_EQPT : EAFLoggingUnitTesting
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
internal static SP1 EAFLoggingUnitTesting { get; private set; }
|
||||
internal static SP101_EQPT EAFLoggingUnitTesting { get; private set; }
|
||||
|
||||
public SP1() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||
public SP101_EQPT() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||
{
|
||||
if (EAFLoggingUnitTesting is null)
|
||||
throw new Exception();
|
||||
}
|
||||
|
||||
public SP1(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||
public SP101_EQPT(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||
{
|
||||
}
|
||||
|
||||
@ -32,7 +35,7 @@ public class SP1 : EAFLoggingUnitTesting
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
if (EAFLoggingUnitTesting is null)
|
||||
EAFLoggingUnitTesting = new SP1(testContext);
|
||||
EAFLoggingUnitTesting = new SP101_EQPT(testContext);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
|
||||
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
|
||||
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
|
||||
@ -49,9 +52,9 @@ public class SP1 : EAFLoggingUnitTesting
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__SP1__RsM()
|
||||
public void Staging__v2_39_0__SP101_EQPT__MoveAllFiles()
|
||||
{
|
||||
string check = "*.RsM";
|
||||
string check = "*";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = Helpers.Metrology.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
@ -3,28 +3,31 @@ using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Text.Json;
|
||||
using System.Threading;
|
||||
|
||||
namespace _Tests.CreateSelfDescription.Staging.v2_39_0;
|
||||
|
||||
[TestClass]
|
||||
public class SP1_EQPT : EAFLoggingUnitTesting
|
||||
public class SP101 : EAFLoggingUnitTesting
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
internal static SP1_EQPT EAFLoggingUnitTesting { get; private set; }
|
||||
internal static SP101 EAFLoggingUnitTesting { get; private set; }
|
||||
|
||||
public SP1_EQPT() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||
public SP101() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||
{
|
||||
if (EAFLoggingUnitTesting is null)
|
||||
throw new Exception();
|
||||
}
|
||||
|
||||
public SP1_EQPT(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||
public SP101(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||
{
|
||||
}
|
||||
|
||||
@ -32,7 +35,7 @@ public class SP1_EQPT : EAFLoggingUnitTesting
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
if (EAFLoggingUnitTesting is null)
|
||||
EAFLoggingUnitTesting = new SP1_EQPT(testContext);
|
||||
EAFLoggingUnitTesting = new SP101(testContext);
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
|
||||
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
|
||||
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
|
||||
@ -49,9 +52,9 @@ public class SP1_EQPT : EAFLoggingUnitTesting
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__SP1_EQPT__DownloadRsMFile()
|
||||
public void Staging__v2_39_0__SP101__txt()
|
||||
{
|
||||
string check = "WafrMeas.log|.RsM";
|
||||
string check = "*.txt";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||
_ = Helpers.Metrology.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
@ -1,12 +1,14 @@
|
||||
using Adaptation.Shared;
|
||||
using Adaptation.Shared.Methods;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Text.Json;
|
||||
using System.Threading;
|
||||
|
||||
namespace _Tests.Extract.Staging.v2_39_0;
|
||||
|
||||
@ -28,41 +30,23 @@ public class MET08DDUPSP1TBI
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI() => _MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI();
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI637710931421087642__Normal()
|
||||
{
|
||||
string check = "~IsXToOpenInsightMetrologyViewer";
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
_MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI();
|
||||
string[] variables = _MET08DDUPSP1TBI.AdaptationTesting.GetVariables(methodBase, check);
|
||||
IFileRead fileRead = _MET08DDUPSP1TBI.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
||||
Logistics logistics = new(fileRead);
|
||||
_ = Helpers.Metrology.ReExtractComapareUpdatePassDirectory(variables, fileRead, logistics);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI_() => _MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI_();
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI__() => _MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI__();
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI___() => _MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI___();
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI____() => _MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI____();
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI_____() => _MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI_____();
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI______() => _MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI______();
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI_______() => _MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI_______();
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI________() => _MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI________();
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI_________() => _MET08DDUPSP1TBI.Staging__v2_39_0__MET08DDUPSP1TBI__MET08DDUPSP1TBI_________();
|
||||
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
using Adaptation.Shared;
|
||||
using Adaptation.Shared.Methods;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace _Tests.Extract.Staging.v2_39_0;
|
||||
|
||||
[TestClass]
|
||||
public class SP1_EQPT
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
private static CreateSelfDescription.Staging.v2_39_0.SP1_EQPT _SP1_EQPT;
|
||||
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
CreateSelfDescription.Staging.v2_39_0.SP1_EQPT.ClassInitialize(testContext);
|
||||
_SP1_EQPT = CreateSelfDescription.Staging.v2_39_0.SP1_EQPT.EAFLoggingUnitTesting;
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__SP1_EQPT__DownloadRsMFile() => _SP1_EQPT.Staging__v2_39_0__SP1_EQPT__DownloadRsMFile();
|
||||
|
||||
}
|
34
Adaptation/_Tests/Extract/Staging/v2.39.0/SP101-EQPT.cs
Normal file
34
Adaptation/_Tests/Extract/Staging/v2.39.0/SP101-EQPT.cs
Normal file
@ -0,0 +1,34 @@
|
||||
using Adaptation.Shared.Methods;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Text.Json;
|
||||
using System.Threading;
|
||||
|
||||
namespace _Tests.Extract.Staging.v2_39_0;
|
||||
|
||||
[TestClass]
|
||||
public class SP101_EQPT
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
private static CreateSelfDescription.Staging.v2_39_0.SP101_EQPT _SP101_EQPT;
|
||||
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
CreateSelfDescription.Staging.v2_39_0.SP101_EQPT.ClassInitialize(testContext);
|
||||
_SP101_EQPT = CreateSelfDescription.Staging.v2_39_0.SP101_EQPT.EAFLoggingUnitTesting;
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__SP101_EQPT__MoveAllFiles() => _SP101_EQPT.Staging__v2_39_0__SP101_EQPT__MoveAllFiles();
|
||||
|
||||
}
|
@ -1,32 +1,34 @@
|
||||
using Adaptation.Shared;
|
||||
using Adaptation.Shared.Methods;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Text.Json;
|
||||
using System.Threading;
|
||||
|
||||
namespace _Tests.Extract.Staging.v2_39_0;
|
||||
|
||||
[TestClass]
|
||||
public class SP1
|
||||
public class SP101
|
||||
{
|
||||
|
||||
#pragma warning disable CA2254
|
||||
#pragma warning disable IDE0060
|
||||
|
||||
private static CreateSelfDescription.Staging.v2_39_0.SP1 _SP1;
|
||||
private static CreateSelfDescription.Staging.v2_39_0.SP101 _SP101;
|
||||
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext testContext)
|
||||
{
|
||||
CreateSelfDescription.Staging.v2_39_0.SP1.ClassInitialize(testContext);
|
||||
_SP1 = CreateSelfDescription.Staging.v2_39_0.SP1.EAFLoggingUnitTesting;
|
||||
CreateSelfDescription.Staging.v2_39_0.SP101.ClassInitialize(testContext);
|
||||
_SP101 = CreateSelfDescription.Staging.v2_39_0.SP101.EAFLoggingUnitTesting;
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void Staging__v2_39_0__SP1__RsM() => _SP1.Staging__v2_39_0__SP1__RsM();
|
||||
public void Staging__v2_39_0__SP101__txt() => _SP101.Staging__v2_39_0__SP101__txt();
|
||||
|
||||
}
|
Reference in New Issue
Block a user