stif/TestCombiner/src/TestCombiner.cpp
changeset 13 33016869e0dd
parent 0 a03f92240627
child 14 381827f66490
child 25 9aaae25af322
--- a/stif/TestCombiner/src/TestCombiner.cpp	Tue Feb 02 01:57:15 2010 +0200
+++ b/stif/TestCombiner/src/TestCombiner.cpp	Fri Apr 16 16:37:27 2010 +0300
@@ -1833,6 +1833,12 @@
     // Checking if user wants to skip the rest of the execution in case of error @js
     if(iCancelIfError && iSchedulerActive)    
         {
+        // Cancel event if it was waiting event
+        if(iTestRunner->iEvent.Name() != KNullDesC && iTestRunner->iEvent.Type() == TEventIf::EWaitEvent)
+            {
+            TestModuleIf().CancelEvent(iTestRunner->iEvent, &iTestRunner->iStatus);
+            }
+
         // Interpret execution result type from returned result
         TInt executionResult = TFullTestResult::ECaseExecuted; // Ok
         if( (aTestCase->iResult.iCaseExecutionResultType >=