Callback changes

This commit is contained in:
2022-03-21 15:57:59 -07:00
parent f02b04dd46
commit b5ad0ebcdb
20 changed files with 100 additions and 170 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];