Changes in counters, part 1.
This commit is contained in:
@@ -37,7 +37,14 @@ namespace TBF.BenchControl.TestMethods.Counter
|
||||
TBF.UiBridge.Bridge.OnSaveSettings(this, null);
|
||||
|
||||
/// Update results
|
||||
Bridge.OnTestCompleted(this, new TestCompletedEventArgs(Results.Utils.GetTestName(test.Name, test.Repeats, repetitionNr), null));
|
||||
var testName = Results.Utils.GetTestName(test.Name, test.Repeats, repetitionNr);
|
||||
var testResults = BatchRslts.GetTestRslt(testName, test.Part);
|
||||
global::Results.Utils.GetCounterStates(testResults, Program.LocalSettings.Counters);
|
||||
if (testResults != null)
|
||||
{
|
||||
testResults.TestDone = true;
|
||||
}
|
||||
Bridge.OnTestCompleted(this, new TestCompletedEventArgs(testName, testResults));
|
||||
|
||||
return new List<Event> { Event.Done };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user