Duplicator and now deleting if not sending to EDA

This commit is contained in:
2022-03-11 12:12:01 -07:00
parent 87700e0370
commit 7a94484d0e
23 changed files with 436 additions and 340 deletions

View File

@ -541,7 +541,7 @@ public class AdaptationTesting : ISMTP
{
_ = stringBuilder.
AppendLine("[TestMethod]").
Append("public void ").Append(methodName).Append("() => ").Append('_').Append(cellInstanceNameWithoutHyphen).Append('.').Append(methodName).AppendLine("();");
Append("public void ").Append(methodName).Append("() => ").Append('_').Append(cellInstanceNameWithoutHyphen).Append('.').Append(methodName).AppendLine("();").AppendLine();
}
else if (i == 1)
{
@ -982,6 +982,8 @@ public class AdaptationTesting : ISMTP
throw new Exception("Ticks should only appear once in source file location!");
if (segments.Length != 2)
throw new Exception("Ticks missing from source file location!");
if (segments[1].Contains(ticks))
throw new Exception("From source file location path should not contain ticks!");
if (!segments[1].EndsWith(methodBaseNameWithActualCICN.Replace(ticks, string.Empty)))
throw new Exception("Method name missing from source file location!");
sourceFileLocation = lines[0];