Salome HOME
correct selection mode activation
[modules/hydro.git] / src / HYDRO_tests / test_HYDROData_Main.cxx
index fb731922dc38b5c1e851dc1c94a02184fc4dbed9..74bb9315a863e903d4f1108102d06f6913aa95a9 100644 (file)
 #include <QApplication>
 #include <QColor>
 #include <QTest>
-#include <random.h>
 
 int main( int argc, char* argv[] )
 {
-  test_srand( 0 );
-
   QApplication anApp( argc, argv );
   SUIT_Session aSession;
 
@@ -45,10 +42,9 @@ int main( int argc, char* argv[] )
   aWindow->show();
   QTest::qWaitForWindowShown( aWindow );
 
-  QSize aSize = aWindow->dumpView().size();
-  int dx = W-aSize.width();
-  int dy = H-aSize.height();
-  aWindow->resize( W+dx, H+dy );
+  int dy = 34;
+  //std::cout << dx << "," << dy << std::endl;
+  aWindow->resize( W, H+dy );
   anApp.processEvents();
 
   std::string testPath = (argc > 1) ? std::string(argv[1]) : "";