Browse Source

Fix test to match testing API update

See 58fd1ed
Jean-Christophe Fillion-Robin 14 years ago
parent
commit
376ea709ea
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Libs/Core/Testing/Cpp/ctkWorkflowTest1.cpp

+ 2 - 2
Libs/Core/Testing/Cpp/ctkWorkflowTest1.cpp

@@ -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;