Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'remotes/origin/BR_2017' into BR_1427
[modules/hydro.git]
/
src
/
HYDRO_tests
/
test_HYDROData_Main.cxx
diff --git
a/src/HYDRO_tests/test_HYDROData_Main.cxx
b/src/HYDRO_tests/test_HYDROData_Main.cxx
index 3c41a03228bfcfb5d1bd4ce3cb36f86e562df924..9e5bab52f4b4d5f6c09f136f5f3a381b700f29f3 100644
(file)
--- a/
src/HYDRO_tests/test_HYDROData_Main.cxx
+++ b/
src/HYDRO_tests/test_HYDROData_Main.cxx
@@
-35,10
+35,13
@@
#ifdef WIN32
QString REF_DATA_PATH = qgetenv( "HYDRO_ROOT_DIR" ) + "/bin/salome/test/HYDRO";
#ifdef WIN32
QString REF_DATA_PATH = qgetenv( "HYDRO_ROOT_DIR" ) + "/bin/salome/test/HYDRO";
+QString TMP_DIR = QDir::tempPath();
#else
QString REF_DATA_PATH = qgetenv( "HYDRO_ROOT_DIR" ) + "/bin/salome/test/HYDRO/HYDRO";
#else
QString REF_DATA_PATH = qgetenv( "HYDRO_ROOT_DIR" ) + "/bin/salome/test/HYDRO/HYDRO";
+QString TMP_DIR = QDir::tempPath() + "/hydro";
#endif
#endif
+
int MAIN_W = 800, MAIN_H = 600;
int main( int argc, char* argv[] )
int MAIN_W = 800, MAIN_H = 600;
int main( int argc, char* argv[] )
@@
-47,6
+50,8
@@
int main( int argc, char* argv[] )
SUIT_Session aSession;
aSession.startApplication("std");
SUIT_Session aSession;
aSession.startApplication("std");
+ QDir().mkdir( TMP_DIR );
+
OCCViewer_ViewFrame* aWindow = TestViewer::viewWindow();
aWindow->setGeometry( 400, 100, MAIN_W, MAIN_H );
OCCViewer_ViewFrame* aWindow = TestViewer::viewWindow();
aWindow->setGeometry( 400, 100, MAIN_W, MAIN_H );