Explorar o código

Fix ctkVTKConnectionTest1 removing connection time ratio test

As discussed in [1], the test should check that the code works
as expected and not set a bar that we cannot yet attain.

[1] https://github.com/commontk/CTK/pull/378#issuecomment-42436579
Jean-Christophe Fillion-Robin %!s(int64=11) %!d(string=hai) anos
pai
achega
949d26cebe

+ 0 - 12
Libs/Visualization/VTK/Core/Testing/Cpp/ctkVTKConnectionTest1.cpp

@@ -244,17 +244,5 @@ int ctkVTKConnectionTest1( int argc, char * argv [] )
   obj4->Delete();
   obj5->Delete();
 
-  {
-  const char* measurementName = "time_connection2-over-time_connection1";
-  double ratio = time_connection2 / time_connection1;
-  displayDartMeasurement(measurementName, ratio);
-#ifdef QT_NO_DEBUG // In Debug mode, the ratio can be over 2 !
-  // Ideally a ratio ~= 1.
-  if (ratio > 1.2)
-    {
-    return EXIT_FAILURE;
-    }
-#endif
-  }
   return EXIT_SUCCESS;
 }