Add Hyphen
Skip Tests Dual write PDSF for Metrology Viewer Removed IQS.Copy Version Error Message Added Climatec to Test.cs GetJobIdDirectory Remove and
This commit is contained in:
@ -97,9 +97,9 @@ public class AdaptationTesting : ISMTP
|
||||
result = environment switch
|
||||
{
|
||||
"LocalHost" => "localhost:9003",
|
||||
"Development" => "eaf-dev.mesfs.infineon.com:9003",
|
||||
"Staging" => "eaf-staging.mesfs.infineon.com:9003",
|
||||
"Production" => "eaf-prod.mesfs.infineon.com:9003",
|
||||
"Development" => "eaf-dev.mes.infineon.com:9003",
|
||||
"Staging" => "eaf-staging.mes.infineon.com:9003",
|
||||
"Production" => "eaf-prod.mes.infineon.com:9003",
|
||||
_ => throw new Exception(),
|
||||
};
|
||||
return result;
|
||||
@ -562,7 +562,7 @@ public class AdaptationTesting : ISMTP
|
||||
else if (i == 1)
|
||||
{
|
||||
if (componentsCellComponentCellComponent.Equipment.EquipmentType.Version != cellInstanceVersionName)
|
||||
throw new Exception("Versions should match!");
|
||||
throw new Exception($"Versions should match! {componentsCellComponentCellComponent.Equipment.EquipmentType.Version} != {cellInstanceVersionName}");
|
||||
equipmentTypeName = componentsCellComponentCellComponent.Equipment.EquipmentType.Name;
|
||||
_ = stringBuilder.
|
||||
AppendLine("#if true").
|
||||
@ -1244,6 +1244,8 @@ public class AdaptationTesting : ISMTP
|
||||
{
|
||||
string result;
|
||||
Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResult = fileRead.ReExtract();
|
||||
if (extractResult is null)
|
||||
throw new Exception($"Using pattern {variables[4]} no file was found <{variables[2]}>");
|
||||
if (!fileRead.IsDuplicator)
|
||||
{
|
||||
Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1));
|
||||
|
Reference in New Issue
Block a user