'EndCondiiton' and 'Communication' added to TransitionStep (transition sequence). TODO: EndConditions functionality, version 1.5.44

This commit is contained in:
Milan Hanajik
2015-05-22 11:21:56 +02:00
parent 49f6aaf670
commit edb6d5e8b6
25 changed files with 202 additions and 94 deletions
@@ -38,7 +38,7 @@ namespace TBF.BenchControl.TestMethods.PMaxTest
// Transition or SetRoute - Start
switch (Transition(transitionStart, TransitionContext.TestStart))
switch (Transition(transitionBefore, TransitionContext.BeforeTest))
{
case Event.Error: { retVal = Event.Error; goto stopTest; }
case Event.UiCmdStop: { retVal = Event.UiCmdStop; goto stopTest; }
@@ -252,7 +252,7 @@ namespace TBF.BenchControl.TestMethods.PMaxTest
/// Transition sequence at the end of test
/// Prevent overwriting 'retVal' in case it was set to non-default value earlier
switch (Transition(transitionStop, TransitionContext.TestEnd))
switch (Transition(transitionAfter, TransitionContext.AfterTest))
{
case Event.Error: { if (retVal == Event.Done) retVal = Event.Error; break; }
case Event.UiCmdStop: { if (retVal == Event.Done) retVal = Event.UiCmdStop; break; }