Refactorization : Common.Utils.GetTestName(...) replaces Results.Utils.GetTestName(...)

This commit is contained in:
Milan Hanajik
2022-12-13 13:16:15 +01:00
parent 4640018e78
commit d83762ddec
39 changed files with 51 additions and 56 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ namespace TBF.Rig.TestMethods.PMaxTest
/// Start the test, initialize test results
Bridge.OnTestSelected(this, new TestSelectedEventArgs(test, 1, inPath, benchPath, outPath, sensPath, heatMetersPath, 0));
string testName = Results.Utils.GetTestName(test.Name, test.Repeats, 1);
string testName = Common.Utils.GetTestName(test.Name, test.Repeats, 1);
TestStartTime = DateTime.Now;
//------------------------------------------------
+1 -1
View File
@@ -49,7 +49,7 @@ namespace TBF.Rig.TestMethods.PMaxTest
/// DebugLevel == DebugMode.Simulate
(new PMaxTestSeq()).MakeSimulatedTrivial(test, repetNr, test.Part);
Bridge.OnTestProgress(this, new TestProgressEventArgs(test, 1, Progress.Completed));
Bridge.OnTestCompleted(this, new TestCompletedEventArgs(test.Name, ProcessData.BatchRslts.GetTestRslt(Results.Utils.GetTestName(test.Name, 1, 1), 0)));
Bridge.OnTestCompleted(this, new TestCompletedEventArgs(test.Name, ProcessData.BatchRslts.GetTestRslt(Common.Utils.GetTestName(test.Name, 1, 1), 0)));
return new List<Event> { Event.Done };
}
}