From: asl Date: Wed, 15 Nov 2017 06:20:10 +0000 (+0300) Subject: debug of tests on Linux X-Git-Tag: v2.1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1a546e83afd325370d51bbdb245edd3057aeb297;p=modules%2Fhydro.git debug of tests on Linux --- diff --git a/src/HYDRO_tests/TestViewer.cxx b/src/HYDRO_tests/TestViewer.cxx index 3f971a47..6aa098d3 100644 --- a/src/HYDRO_tests/TestViewer.cxx +++ b/src/HYDRO_tests/TestViewer.cxx @@ -299,7 +299,7 @@ bool TestViewer::AssertImages( QString& theMessage, const QImage* theImage, cons anExpectedRefFilePath += "/" + myKey + ".png"; QImage anExpectedRefImage; anExpectedRefImage.load( anExpectedRefFilePath ); - std::cout << "Expected image loading: " << anExpectedRefFilePath.toStdString() << std::endl; + //std::cout << "Expected image loading: " << anExpectedRefFilePath.toStdString() << std::endl; if( AreImagesEqual( anActualImage, anExpectedRefImage, 0.001 ) ) { @@ -307,9 +307,16 @@ bool TestViewer::AssertImages( QString& theMessage, const QImage* theImage, cons return true; } - QString aPath = QDir::tempPath() + "/" + myKey + ".png"; + QString temp = QDir::tempPath(); +#ifndef WIN32 + temp += "/hydro"; + if( !QDir().exists( temp ) ) + QDir().mkpath( temp ); +#endif + + QString aPath = temp + "/" + myKey + ".png"; anActualImage.save( aPath ); - std::cout << "Actual image: " << aPath.toStdString() << std::endl; + //std::cout << "Actual image: " << aPath.toStdString() << std::endl; //std::cout << anActualImage.width() << "x" << anActualImage.height() << std::endl; theMessage = "The viewer contents does not correspond to the reference image: " + myKey; @@ -320,12 +327,12 @@ bool TestViewer::AssertImages( QString& theMessage, const QImage* theImage, cons aPainter.setCompositionMode( QPainter::RasterOp_SourceXorDestination ); aPainter.drawImage( 0, 0, anActualImage ); - QString aDiffFilePath = QDir::tempPath() + "/" + myKey + "_diff.png"; + QString aDiffFilePath = temp + "/" + myKey + "_diff.png"; aDiff.save( aDiffFilePath ); - std::cout << "Diff image: " << aDiffFilePath.toStdString() << std::endl; + //std::cout << "Diff image: " << aDiffFilePath.toStdString() << std::endl; - QString anExpected = QDir::tempPath() + "/" + myKey + "_1.png"; - std::cout << "Expected image: " << anExpected.toStdString() << std::endl; + QString anExpected = temp + "/" + myKey + "_1.png"; + //std::cout << "Expected image: " << anExpected.toStdString() << std::endl; anExpectedRefImage.save( anExpected ); return false; diff --git a/src/HYDRO_tests/reference_data/linux/CLC06-cut_1_res.png b/src/HYDRO_tests/reference_data/linux/CLC06-cut_1_res.png new file mode 100644 index 00000000..8f43edbc Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/CLC06-cut_1_res.png differ diff --git a/src/HYDRO_tests/reference_data/linux/Channel.png b/src/HYDRO_tests/reference_data/linux/Channel.png new file mode 100644 index 00000000..3623c93b Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/Channel.png differ diff --git a/src/HYDRO_tests/reference_data/linux/DTM_1.png b/src/HYDRO_tests/reference_data/linux/DTM_1.png new file mode 100644 index 00000000..c0b85ac4 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/DTM_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/DTM_2.png b/src/HYDRO_tests/reference_data/linux/DTM_2.png new file mode 100644 index 00000000..ed8e7b22 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/DTM_2.png differ diff --git a/src/HYDRO_tests/reference_data/linux/Extraction_Channel.png b/src/HYDRO_tests/reference_data/linux/Extraction_Channel.png new file mode 100644 index 00000000..a9e5c6ab Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/Extraction_Channel.png differ diff --git a/src/HYDRO_tests/reference_data/linux/Extraction_ImmZone.png b/src/HYDRO_tests/reference_data/linux/Extraction_ImmZone.png new file mode 100644 index 00000000..3d9a2790 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/Extraction_ImmZone.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LCM_copied.png b/src/HYDRO_tests/reference_data/linux/LCM_copied.png new file mode 100644 index 00000000..a89b20f6 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LCM_copied.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LCM_split_2a.png b/src/HYDRO_tests/reference_data/linux/LCM_split_2a.png new file mode 100644 index 00000000..ec80fe29 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LCM_split_2a.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LCM_split_2b.png b/src/HYDRO_tests/reference_data/linux/LCM_split_2b.png new file mode 100644 index 00000000..76bc1a83 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LCM_split_2b.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCoverMap_Add_2_Objects.png b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Add_2_Objects.png new file mode 100644 index 00000000..13acb90a Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Add_2_Objects.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCoverMap_Merge_1.png b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Merge_1.png new file mode 100644 index 00000000..3e2f5fbd Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Merge_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCoverMap_Merge_2.png b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Merge_2.png new file mode 100644 index 00000000..4ad54b1c Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Merge_2.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCoverMap_PrsByCoeff.png b/src/HYDRO_tests/reference_data/linux/LandCoverMap_PrsByCoeff.png new file mode 100644 index 00000000..34762044 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCoverMap_PrsByCoeff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCoverMap_PrsByTypes.png b/src/HYDRO_tests/reference_data/linux/LandCoverMap_PrsByTypes.png new file mode 100644 index 00000000..da128063 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCoverMap_PrsByTypes.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCoverMap_Remove_1.png b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Remove_1.png new file mode 100644 index 00000000..0978b72a Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Remove_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCoverMap_Split_1.png b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Split_1.png new file mode 100644 index 00000000..d0823052 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Split_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCoverMap_Split_2.png b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Split_2.png new file mode 100644 index 00000000..f597f079 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Split_2.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCoverMap_Split_Polyline.png b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Split_Polyline.png new file mode 100644 index 00000000..93db9e58 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCoverMap_Split_Polyline.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCoverMap_TransparentPrs.png b/src/HYDRO_tests/reference_data/linux/LandCoverMap_TransparentPrs.png new file mode 100644 index 00000000..52a22cc7 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCoverMap_TransparentPrs.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCover_Triangles.png b/src/HYDRO_tests/reference_data/linux/LandCover_Triangles.png new file mode 100644 index 00000000..3d6aef35 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCover_Triangles.png differ diff --git a/src/HYDRO_tests/reference_data/linux/LandCover_Triangles_Split.png b/src/HYDRO_tests/reference_data/linux/LandCover_Triangles_Split.png new file mode 100644 index 00000000..55b4d88d Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/LandCover_Triangles_Split.png differ diff --git a/src/HYDRO_tests/reference_data/linux/Merge_Polylines.png b/src/HYDRO_tests/reference_data/linux/Merge_Polylines.png new file mode 100644 index 00000000..c90a95d5 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/Merge_Polylines.png differ diff --git a/src/HYDRO_tests/reference_data/linux/NLD_water_areas_dcw.png b/src/HYDRO_tests/reference_data/linux/NLD_water_areas_dcw.png new file mode 100644 index 00000000..b548c8c2 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/NLD_water_areas_dcw.png differ diff --git a/src/HYDRO_tests/reference_data/linux/Polyline_Presentation.png b/src/HYDRO_tests/reference_data/linux/Polyline_Presentation.png new file mode 100644 index 00000000..e5275ac7 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/Polyline_Presentation.png differ diff --git a/src/HYDRO_tests/reference_data/linux/Polyline_Presentation_triangle.png b/src/HYDRO_tests/reference_data/linux/Polyline_Presentation_triangle.png new file mode 100644 index 00000000..652ec440 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/Polyline_Presentation_triangle.png differ diff --git a/src/HYDRO_tests/reference_data/linux/Shape_preview_im_zone.png b/src/HYDRO_tests/reference_data/linux/Shape_preview_im_zone.png new file mode 100644 index 00000000..f72f00cc Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/Shape_preview_im_zone.png differ diff --git a/src/HYDRO_tests/reference_data/linux/Split_Polylines_Colors.png b/src/HYDRO_tests/reference_data/linux/Split_Polylines_Colors.png new file mode 100644 index 00000000..b96b1d93 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/Split_Polylines_Colors.png differ diff --git a/src/HYDRO_tests/reference_data/linux/Split_Straight.png b/src/HYDRO_tests/reference_data/linux/Split_Straight.png new file mode 100644 index 00000000..89586780 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/Split_Straight.png differ diff --git a/src/HYDRO_tests/reference_data/linux/StreamDlg.png b/src/HYDRO_tests/reference_data/linux/StreamDlg.png new file mode 100644 index 00000000..ca87c817 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/StreamDlg.png differ diff --git a/src/HYDRO_tests/reference_data/linux/bathy_prs.png b/src/HYDRO_tests/reference_data/linux/bathy_prs.png new file mode 100644 index 00000000..1cffa732 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/bathy_prs.png differ diff --git a/src/HYDRO_tests/reference_data/linux/bathy_prs_fit_selected.png b/src/HYDRO_tests/reference_data/linux/bathy_prs_fit_selected.png new file mode 100644 index 00000000..69a8f937 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/bathy_prs_fit_selected.png differ diff --git a/src/HYDRO_tests/reference_data/linux/bathy_rescaled_selection.png b/src/HYDRO_tests/reference_data/linux/bathy_rescaled_selection.png new file mode 100644 index 00000000..6f628ccc Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/bathy_rescaled_selection.png differ diff --git a/src/HYDRO_tests/reference_data/linux/bathy_rescaled_user.png b/src/HYDRO_tests/reference_data/linux/bathy_rescaled_user.png new file mode 100644 index 00000000..63d666dc Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/bathy_rescaled_user.png differ diff --git a/src/HYDRO_tests/reference_data/linux/bathy_rescaled_visible.png b/src/HYDRO_tests/reference_data/linux/bathy_rescaled_visible.png new file mode 100644 index 00000000..1d70bc84 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/bathy_rescaled_visible.png differ diff --git a/src/HYDRO_tests/reference_data/linux/bathy_selection.png b/src/HYDRO_tests/reference_data/linux/bathy_selection.png new file mode 100644 index 00000000..4855ae47 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/bathy_selection.png differ diff --git a/src/HYDRO_tests/reference_data/linux/bathy_text_labels.png b/src/HYDRO_tests/reference_data/linux/bathy_text_labels.png new file mode 100644 index 00000000..7b88665b Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/bathy_text_labels.png differ diff --git a/src/HYDRO_tests/reference_data/linux/cc_int_w_1.png b/src/HYDRO_tests/reference_data/linux/cc_int_w_1.png new file mode 100644 index 00000000..47629445 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/cc_int_w_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/cc_int_w_2.png b/src/HYDRO_tests/reference_data/linux/cc_int_w_2.png new file mode 100644 index 00000000..70ef70e6 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/cc_int_w_2.png differ diff --git a/src/HYDRO_tests/reference_data/linux/cc_int_w_3.png b/src/HYDRO_tests/reference_data/linux/cc_int_w_3.png new file mode 100644 index 00000000..bd03835b Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/cc_int_w_3.png differ diff --git a/src/HYDRO_tests/reference_data/linux/clc_dec_150_350.png b/src/HYDRO_tests/reference_data/linux/clc_dec_150_350.png new file mode 100644 index 00000000..5b8d679c Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/clc_dec_150_350.png differ diff --git a/src/HYDRO_tests/reference_data/linux/cyprus_natural_all.png b/src/HYDRO_tests/reference_data/linux/cyprus_natural_all.png new file mode 100644 index 00000000..eca9f5f4 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/cyprus_natural_all.png differ diff --git a/src/HYDRO_tests/reference_data/linux/garonne.png b/src/HYDRO_tests/reference_data/linux/garonne.png new file mode 100644 index 00000000..2f652f6a Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/garonne.png differ diff --git a/src/HYDRO_tests/reference_data/linux/gv_fitall.png b/src/HYDRO_tests/reference_data/linux/gv_fitall.png new file mode 100644 index 00000000..9ccab451 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/gv_fitall.png differ diff --git a/src/HYDRO_tests/reference_data/linux/gv_zoomed_1.png b/src/HYDRO_tests/reference_data/linux/gv_zoomed_1.png new file mode 100644 index 00000000..7d100270 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/gv_zoomed_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/gv_zoomed_2.png b/src/HYDRO_tests/reference_data/linux/gv_zoomed_2.png new file mode 100644 index 00000000..b892b218 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/gv_zoomed_2.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/CLC06-cut_1_res.png b/src/HYDRO_tests/reference_data/linux/hydro/CLC06-cut_1_res.png new file mode 100644 index 00000000..6c1f2ed4 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/CLC06-cut_1_res.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/CLC06-cut_1_res_1.png b/src/HYDRO_tests/reference_data/linux/hydro/CLC06-cut_1_res_1.png new file mode 100644 index 00000000..8f43edbc Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/CLC06-cut_1_res_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/CLC06-cut_1_res_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/CLC06-cut_1_res_diff.png new file mode 100644 index 00000000..314bea80 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/CLC06-cut_1_res_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Extraction_Channel.png b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_Channel.png new file mode 100644 index 00000000..93abf401 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_Channel.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Extraction_Channel_1.png b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_Channel_1.png new file mode 100644 index 00000000..a9e5c6ab Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_Channel_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Extraction_Channel_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_Channel_diff.png new file mode 100644 index 00000000..11419072 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_Channel_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Extraction_ImmZone.png b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_ImmZone.png new file mode 100644 index 00000000..9facc991 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_ImmZone.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Extraction_ImmZone_1.png b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_ImmZone_1.png new file mode 100644 index 00000000..3d9a2790 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_ImmZone_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Extraction_ImmZone_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_ImmZone_diff.png new file mode 100644 index 00000000..8d301474 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Extraction_ImmZone_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_Split_Polyline.png b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_Split_Polyline.png new file mode 100644 index 00000000..2046ed91 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_Split_Polyline.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_Split_Polyline_1.png b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_Split_Polyline_1.png new file mode 100644 index 00000000..93db9e58 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_Split_Polyline_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_Split_Polyline_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_Split_Polyline_diff.png new file mode 100644 index 00000000..fdfd0dd1 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_Split_Polyline_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_TransparentPrs.png b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_TransparentPrs.png new file mode 100644 index 00000000..18897106 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_TransparentPrs.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_TransparentPrs_1.png b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_TransparentPrs_1.png new file mode 100644 index 00000000..52a22cc7 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_TransparentPrs_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_TransparentPrs_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_TransparentPrs_diff.png new file mode 100644 index 00000000..888b2a0f Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/LandCoverMap_TransparentPrs_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Merge_Polylines.png b/src/HYDRO_tests/reference_data/linux/hydro/Merge_Polylines.png new file mode 100644 index 00000000..d7f8ba31 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Merge_Polylines.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Merge_Polylines_1.png b/src/HYDRO_tests/reference_data/linux/hydro/Merge_Polylines_1.png new file mode 100644 index 00000000..c90a95d5 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Merge_Polylines_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Merge_Polylines_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/Merge_Polylines_diff.png new file mode 100644 index 00000000..fe572e52 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Merge_Polylines_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/NLD_water_areas_dcw.png b/src/HYDRO_tests/reference_data/linux/hydro/NLD_water_areas_dcw.png new file mode 100644 index 00000000..907b2c70 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/NLD_water_areas_dcw.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/NLD_water_areas_dcw_1.png b/src/HYDRO_tests/reference_data/linux/hydro/NLD_water_areas_dcw_1.png new file mode 100644 index 00000000..b548c8c2 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/NLD_water_areas_dcw_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/NLD_water_areas_dcw_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/NLD_water_areas_dcw_diff.png new file mode 100644 index 00000000..1e157380 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/NLD_water_areas_dcw_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Polyline_Presentation.png b/src/HYDRO_tests/reference_data/linux/hydro/Polyline_Presentation.png new file mode 100644 index 00000000..8280feca Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Polyline_Presentation.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Polyline_Presentation_1.png b/src/HYDRO_tests/reference_data/linux/hydro/Polyline_Presentation_1.png new file mode 100644 index 00000000..e5275ac7 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Polyline_Presentation_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Polyline_Presentation_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/Polyline_Presentation_diff.png new file mode 100644 index 00000000..cfe5d656 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Polyline_Presentation_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Split_Polylines_Colors.png b/src/HYDRO_tests/reference_data/linux/hydro/Split_Polylines_Colors.png new file mode 100644 index 00000000..42b1f507 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Split_Polylines_Colors.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Split_Polylines_Colors_1.png b/src/HYDRO_tests/reference_data/linux/hydro/Split_Polylines_Colors_1.png new file mode 100644 index 00000000..b96b1d93 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Split_Polylines_Colors_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/Split_Polylines_Colors_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/Split_Polylines_Colors_diff.png new file mode 100644 index 00000000..9bb37297 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/Split_Polylines_Colors_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/cc_int_w_3.png b/src/HYDRO_tests/reference_data/linux/hydro/cc_int_w_3.png new file mode 100644 index 00000000..368185a0 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/cc_int_w_3.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/cc_int_w_3_1.png b/src/HYDRO_tests/reference_data/linux/hydro/cc_int_w_3_1.png new file mode 100644 index 00000000..bd03835b Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/cc_int_w_3_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/cc_int_w_3_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/cc_int_w_3_diff.png new file mode 100644 index 00000000..20fefe6e Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/cc_int_w_3_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/clc_dec_150_350.png b/src/HYDRO_tests/reference_data/linux/hydro/clc_dec_150_350.png new file mode 100644 index 00000000..8b3bcab6 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/clc_dec_150_350.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/clc_dec_150_350_1.png b/src/HYDRO_tests/reference_data/linux/hydro/clc_dec_150_350_1.png new file mode 100644 index 00000000..5b8d679c Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/clc_dec_150_350_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/clc_dec_150_350_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/clc_dec_150_350_diff.png new file mode 100644 index 00000000..c5d6a45c Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/clc_dec_150_350_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/cyprus_natural_all.png b/src/HYDRO_tests/reference_data/linux/hydro/cyprus_natural_all.png new file mode 100644 index 00000000..a1bb0c22 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/cyprus_natural_all.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/cyprus_natural_all_1.png b/src/HYDRO_tests/reference_data/linux/hydro/cyprus_natural_all_1.png new file mode 100644 index 00000000..eca9f5f4 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/cyprus_natural_all_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/cyprus_natural_all_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/cyprus_natural_all_diff.png new file mode 100644 index 00000000..86a92727 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/cyprus_natural_all_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_empty.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_empty.png new file mode 100644 index 00000000..491394ca Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_empty.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_empty_1.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_empty_1.png new file mode 100644 index 00000000..1e37efd6 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_empty_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_empty_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_empty_diff.png new file mode 100644 index 00000000..029ff75d Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_empty_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_prs.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_prs.png new file mode 100644 index 00000000..1a5ea8c6 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_prs.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_prs_1.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_prs_1.png new file mode 100644 index 00000000..c2b37cf1 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_prs_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_prs_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_prs_diff.png new file mode 100644 index 00000000..84904bcd Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_prs_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_selection.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_selection.png new file mode 100644 index 00000000..287adbfb Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_selection.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_selection_1.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_selection_1.png new file mode 100644 index 00000000..417780e6 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_selection_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_selection_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_selection_diff.png new file mode 100644 index 00000000..b304fe59 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_selection_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_zoomed_1.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_zoomed_1.png new file mode 100644 index 00000000..1c2106af Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_zoomed_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_zoomed_1_1.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_zoomed_1_1.png new file mode 100644 index 00000000..2944ba53 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_zoomed_1_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/overview_zoomed_1_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/overview_zoomed_1_diff.png new file mode 100644 index 00000000..30c5fd8e Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/overview_zoomed_1_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/profiles_dlg_presentation.png b/src/HYDRO_tests/reference_data/linux/hydro/profiles_dlg_presentation.png new file mode 100644 index 00000000..1e2851aa Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/profiles_dlg_presentation.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/profiles_dlg_presentation_1.png b/src/HYDRO_tests/reference_data/linux/hydro/profiles_dlg_presentation_1.png new file mode 100644 index 00000000..f5483cf6 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/profiles_dlg_presentation_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/profiles_dlg_presentation_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/profiles_dlg_presentation_diff.png new file mode 100644 index 00000000..3d1e01a0 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/profiles_dlg_presentation_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/rebuild_cmp_out.png b/src/HYDRO_tests/reference_data/linux/hydro/rebuild_cmp_out.png new file mode 100644 index 00000000..504e2cf1 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/rebuild_cmp_out.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/rebuild_cmp_out_1.png b/src/HYDRO_tests/reference_data/linux/hydro/rebuild_cmp_out_1.png new file mode 100644 index 00000000..b0362051 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/rebuild_cmp_out_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/rebuild_cmp_out_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/rebuild_cmp_out_diff.png new file mode 100644 index 00000000..0aa4e2b4 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/rebuild_cmp_out_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/stream_dtm_2d.png b/src/HYDRO_tests/reference_data/linux/hydro/stream_dtm_2d.png new file mode 100644 index 00000000..13a7187e Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/stream_dtm_2d.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/stream_dtm_2d_1.png b/src/HYDRO_tests/reference_data/linux/hydro/stream_dtm_2d_1.png new file mode 100644 index 00000000..ea1c4d38 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/stream_dtm_2d_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/hydro/stream_dtm_2d_diff.png b/src/HYDRO_tests/reference_data/linux/hydro/stream_dtm_2d_diff.png new file mode 100644 index 00000000..ab925f19 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/hydro/stream_dtm_2d_diff.png differ diff --git a/src/HYDRO_tests/reference_data/linux/lcm_poly_2_sections.png b/src/HYDRO_tests/reference_data/linux/lcm_poly_2_sections.png new file mode 100644 index 00000000..391aea37 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/lcm_poly_2_sections.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_11.png b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_11.png new file mode 100644 index 00000000..276d59f3 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_11.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_12.png b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_12.png new file mode 100644 index 00000000..d96c96c1 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_12.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_13.png b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_13.png new file mode 100644 index 00000000..a85f343c Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_13.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_14.png b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_14.png new file mode 100644 index 00000000..5cb66dad Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_14.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_21.png b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_21.png new file mode 100644 index 00000000..487d5ff8 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_21.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_22.png b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_22.png new file mode 100644 index 00000000..d96c96c1 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_22.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_23.png b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_23.png new file mode 100644 index 00000000..2bca4889 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_23.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_24.png b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_24.png new file mode 100644 index 00000000..9187ce5f Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_boxes_24.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_circles_11.png b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_11.png new file mode 100644 index 00000000..6563442f Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_11.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_circles_12.png b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_12.png new file mode 100644 index 00000000..4abe17aa Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_12.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_circles_13.png b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_13.png new file mode 100644 index 00000000..4b73eb8c Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_13.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_circles_14.png b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_14.png new file mode 100644 index 00000000..4b73eb8c Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_14.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_circles_21.png b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_21.png new file mode 100644 index 00000000..ca1eb432 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_21.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_circles_22.png b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_22.png new file mode 100644 index 00000000..4abe17aa Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_22.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_circles_23.png b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_23.png new file mode 100644 index 00000000..58fffafb Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_23.png differ diff --git a/src/HYDRO_tests/reference_data/linux/merge_faces_circles_24.png b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_24.png new file mode 100644 index 00000000..58fffafb Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/merge_faces_circles_24.png differ diff --git a/src/HYDRO_tests/reference_data/linux/overview_drag.png b/src/HYDRO_tests/reference_data/linux/overview_drag.png new file mode 100644 index 00000000..d9c64263 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/overview_drag.png differ diff --git a/src/HYDRO_tests/reference_data/linux/overview_empty.png b/src/HYDRO_tests/reference_data/linux/overview_empty.png new file mode 100644 index 00000000..1e37efd6 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/overview_empty.png differ diff --git a/src/HYDRO_tests/reference_data/linux/overview_panned_1.png b/src/HYDRO_tests/reference_data/linux/overview_panned_1.png new file mode 100644 index 00000000..48c25af3 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/overview_panned_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/overview_prs.png b/src/HYDRO_tests/reference_data/linux/overview_prs.png new file mode 100644 index 00000000..c2b37cf1 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/overview_prs.png differ diff --git a/src/HYDRO_tests/reference_data/linux/overview_rotated_1.png b/src/HYDRO_tests/reference_data/linux/overview_rotated_1.png new file mode 100644 index 00000000..da4ab14d Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/overview_rotated_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/overview_selection.png b/src/HYDRO_tests/reference_data/linux/overview_selection.png new file mode 100644 index 00000000..417780e6 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/overview_selection.png differ diff --git a/src/HYDRO_tests/reference_data/linux/overview_selection_a.png b/src/HYDRO_tests/reference_data/linux/overview_selection_a.png new file mode 100644 index 00000000..4af1406c Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/overview_selection_a.png differ diff --git a/src/HYDRO_tests/reference_data/linux/overview_zoomed_1.png b/src/HYDRO_tests/reference_data/linux/overview_zoomed_1.png new file mode 100644 index 00000000..2944ba53 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/overview_zoomed_1.png differ diff --git a/src/HYDRO_tests/reference_data/linux/overview_zoomed_2.png b/src/HYDRO_tests/reference_data/linux/overview_zoomed_2.png new file mode 100644 index 00000000..4c443cd9 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/overview_zoomed_2.png differ diff --git a/src/HYDRO_tests/reference_data/linux/profiles_dlg_presentation.png b/src/HYDRO_tests/reference_data/linux/profiles_dlg_presentation.png new file mode 100644 index 00000000..f5483cf6 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/profiles_dlg_presentation.png differ diff --git a/src/HYDRO_tests/reference_data/linux/profiles_selected_points.png b/src/HYDRO_tests/reference_data/linux/profiles_selected_points.png new file mode 100644 index 00000000..42702168 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/profiles_selected_points.png differ diff --git a/src/HYDRO_tests/reference_data/linux/rebuild_cmp_out.png b/src/HYDRO_tests/reference_data/linux/rebuild_cmp_out.png new file mode 100644 index 00000000..b0362051 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/rebuild_cmp_out.png differ diff --git a/src/HYDRO_tests/reference_data/linux/stream_dtm_2d.png b/src/HYDRO_tests/reference_data/linux/stream_dtm_2d.png new file mode 100644 index 00000000..ea1c4d38 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/stream_dtm_2d.png differ diff --git a/src/HYDRO_tests/reference_data/linux/stream_dtm_3d.png b/src/HYDRO_tests/reference_data/linux/stream_dtm_3d.png new file mode 100644 index 00000000..2f0eb241 Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/stream_dtm_3d.png differ diff --git a/src/HYDRO_tests/reference_data/linux/zone_random_colors.png b/src/HYDRO_tests/reference_data/linux/zone_random_colors.png new file mode 100644 index 00000000..1bf0ab4c Binary files /dev/null and b/src/HYDRO_tests/reference_data/linux/zone_random_colors.png differ diff --git a/src/HYDRO_tests/test_Overview.cxx b/src/HYDRO_tests/test_Overview.cxx index 6da12ce1..a58fca22 100644 --- a/src/HYDRO_tests/test_Overview.cxx +++ b/src/HYDRO_tests/test_Overview.cxx @@ -112,7 +112,7 @@ void test_Overview::showShape() BRep_Builder B; TopoDS_Shape shape; std::string fname = (REF_DATA_PATH + "/test_zone.brep").toStdString(); - std::cout << "Loading shape: " << fname << std::endl; + //std::cout << "Loading shape: " << fname << std::endl; BRepTools::Read( shape, fname.c_str(), B ); TestViewer::show( shape, AIS_Shaded, true, 0x03399FF );