|
@@ -496,7 +496,7 @@ int ctkWorkflowTest1(int argc, char * argv [] )
|
|
|
// try to go automatically to step 4 and stay there by setting the property goBackToOriginStepUponSuccess to false
|
|
|
workflow->setGoBackToOriginStepUponSuccess(false);
|
|
|
workflow->goToStep("Step 4");
|
|
|
- if (!transitionTest(workflow, defaultTime, app, step4, step1, 10, 10, step2, 8, 8, step3, 9, 9, step4, 5, 4))
|
|
|
+ if (!transitionTest(workflow, defaultTime, step4, step1, 10, 10, step2, 8, 8, step3, 9, 9, step4, 5, 4))
|
|
|
{
|
|
|
std::cerr << "error staying at step 4 if property goBackToOriginStepUponSuccess is false";
|
|
|
return EXIT_FAILURE;
|
|
@@ -509,7 +509,7 @@ int ctkWorkflowTest1(int argc, char * argv [] )
|
|
|
QTimer::singleShot(defaultTime, &app, SLOT(quit()));
|
|
|
app.exec();
|
|
|
workflow->goToStep("Step 4");
|
|
|
- if (!transitionTest(workflow, defaultTime, app, step3, step1, 10, 10, step2, 8, 8, step3, 11, 10, step4, 6, 6))
|
|
|
+ if (!transitionTest(workflow, defaultTime, step3, step1, 10, 10, step2, 8, 8, step3, 11, 10, step4, 6, 6))
|
|
|
{
|
|
|
std::cerr << "error while coming back to step 3 if property goBackToOriginStepUponSuccess is true";
|
|
|
return EXIT_FAILURE;
|