]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
debug of automatic tests
authorasl <asl@opencascade.com>
Thu, 9 Nov 2017 15:17:34 +0000 (18:17 +0300)
committerasl <asl@opencascade.com>
Thu, 9 Nov 2017 15:17:34 +0000 (18:17 +0300)
20 files changed:
src/HYDRO_tests/reference_data/LandCoverMap_Split_Polyline.png
src/HYDRO_tests/reference_data/Polyline_Presentation.png
src/HYDRO_tests/reference_data/Polyline_Presentation_triangle.png
src/HYDRO_tests/reference_data/bathy_prs.png
src/HYDRO_tests/reference_data/bathy_prs_fit_selected.png
src/HYDRO_tests/reference_data/bathy_rescaled_selection.png
src/HYDRO_tests/reference_data/bathy_rescaled_user.png
src/HYDRO_tests/reference_data/bathy_rescaled_visible.png
src/HYDRO_tests/reference_data/bathy_selection.png
src/HYDRO_tests/reference_data/bathy_text_labels.png
src/HYDRO_tests/reference_data/overview_drag.png
src/HYDRO_tests/reference_data/overview_empty.png
src/HYDRO_tests/reference_data/overview_panned_1.png
src/HYDRO_tests/reference_data/overview_prs.png
src/HYDRO_tests/reference_data/overview_rotated_1.png
src/HYDRO_tests/reference_data/overview_selection.png
src/HYDRO_tests/reference_data/overview_selection_a.png
src/HYDRO_tests/reference_data/overview_zoomed_1.png
src/HYDRO_tests/reference_data/overview_zoomed_2.png
src/HYDRO_tests/test_HYDROData_PolylineXY.cxx

index bae3119dcaccf01a8d9a362889a14701d65c0566..93db9e586dded25e547315d4786c8420fc425d63 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/LandCoverMap_Split_Polyline.png and b/src/HYDRO_tests/reference_data/LandCoverMap_Split_Polyline.png differ
index b48f1e0efff6ef60300c3fdc781cf52215355057..e5275ac7d08abd808cedef02bf5e81b9064be12b 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/Polyline_Presentation.png and b/src/HYDRO_tests/reference_data/Polyline_Presentation.png differ
index d20e639e7ff515af0f674bc023e79c3d192d2484..652ec440d3de562bcfee4c9e6eefac3cda841144 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/Polyline_Presentation_triangle.png and b/src/HYDRO_tests/reference_data/Polyline_Presentation_triangle.png differ
index 727113fd0061ffca25d0c48c4fbbac81c85246d5..72452c09477b19a326f2d659ac9c1d974b9601f2 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/bathy_prs.png and b/src/HYDRO_tests/reference_data/bathy_prs.png differ
index 370cbf71f441089053704df9a5bd25aecded76a4..69a8f937482f58be131ee95273363c58b9968a90 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/bathy_prs_fit_selected.png and b/src/HYDRO_tests/reference_data/bathy_prs_fit_selected.png differ
index 935cb390cd9db9df3d81a47d7ad16904319dcdc7..6f628ccc31615888c6cbb7e3c11e1269b21d9c74 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/bathy_rescaled_selection.png and b/src/HYDRO_tests/reference_data/bathy_rescaled_selection.png differ
index da49b3014ecc443f31fe6c6abef2b76dd919542e..63d666dcda57275a17cb7e724741638d55e510a0 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/bathy_rescaled_user.png and b/src/HYDRO_tests/reference_data/bathy_rescaled_user.png differ
index b47ec36c668121376d71c5fc2a71820ebb0f360d..1d70bc84c6185c782cb04532cdba03c659abbe51 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/bathy_rescaled_visible.png and b/src/HYDRO_tests/reference_data/bathy_rescaled_visible.png differ
index 410c192b1481ad845914fb39db20df72dc7b45ea..4855ae47e0dbc9b0884de17759b384f5531e5cfd 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/bathy_selection.png and b/src/HYDRO_tests/reference_data/bathy_selection.png differ
index 3899936e9d7cdfbb69c73412a284b6cd807efd91..7b88665b8ed4aa109bd1017f389596e43f3805b6 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/bathy_text_labels.png and b/src/HYDRO_tests/reference_data/bathy_text_labels.png differ
index e4f5a91056c9aa12b236579fd6448d1030cd6c03..d9c642635f3783579f464ee0380615dbdd6ddfcf 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/overview_drag.png and b/src/HYDRO_tests/reference_data/overview_drag.png differ
index 49120672f71aa3bcd788ff6aad2018776b847827..1e37efd6270dd196329408bc71c05bbf78f534a3 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/overview_empty.png and b/src/HYDRO_tests/reference_data/overview_empty.png differ
index d1cdf9dd9723762b36ed4ea51a4e9135a6986152..48c25af3a07e02fb441e05ce43cb19eab0334c43 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/overview_panned_1.png and b/src/HYDRO_tests/reference_data/overview_panned_1.png differ
index d0120ec91af5ebce0e8b5d9c0f7f54bb89144349..c2b37cf10bab82c5686c16d29b6f537af7f0a29a 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/overview_prs.png and b/src/HYDRO_tests/reference_data/overview_prs.png differ
index 703c3602bd5db41a78256e33f233861bdc11f907..da4ab14d07c6adfff92e54fe16931a0b68be57cc 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/overview_rotated_1.png and b/src/HYDRO_tests/reference_data/overview_rotated_1.png differ
index bff97cc5713fee6671a75fa5d7e89a6c73209a48..417780e6fc223fdba22d5ff105286a7bfa71a770 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/overview_selection.png and b/src/HYDRO_tests/reference_data/overview_selection.png differ
index 18e18296532b766e971250439f2bc65a70e29064..4af1406c16f5b9f2211f3c47a9f3fd27afd79370 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/overview_selection_a.png and b/src/HYDRO_tests/reference_data/overview_selection_a.png differ
index 50051a2cd533b433c733bea8aed11f7c77927171..2944ba5336c7a5e0b5b37486a131ea6f7ac7f70c 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/overview_zoomed_1.png and b/src/HYDRO_tests/reference_data/overview_zoomed_1.png differ
index 1d58bc4f41fbfb4829519e1a1858c490cb68f9ad..4c443cd98415846dd2a9340d597810e124a65de3 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/overview_zoomed_2.png and b/src/HYDRO_tests/reference_data/overview_zoomed_2.png differ
index dfbf94ae0a9d6fb17ce0e733d86293e1257f2a05..9b505914aaab94221c889a1aaf82577b0432e060 100644 (file)
@@ -263,6 +263,7 @@ void test_HYDROData_PolylineXY::test_presentation()
   // Check default type
   Handle(HYDROGUI_Arrow) arr = Handle(HYDROGUI_Arrow)::DownCast( aNewPolylinePrs->getAISObjects()[1] );
   CPPUNIT_ASSERT_EQUAL( HYDROGUI_Arrow::Cone, arr->GetType() );
+  CPPUNIT_ASSERT_EQUAL( 35, arr->GetSize() );
 
   
   // Check polyline presentation with default (cone) arrow
@@ -270,6 +271,7 @@ void test_HYDROData_PolylineXY::test_presentation()
   TestViewer::show( aPointsPrs, AIS_PointCloud::DM_Points, 0, true, "Polyline_Presentation" );
   TestViewer::show( aPolyline2d->GetShape(), 0, true, Qt::red );
   //TestViewer::show( aNewPolylinePrs, AIS_PointCloud::DM_Points, 0, true, "" );
+  aNewPolylinePrs->setBorderColor( Qt::blue );
   aNewPolylinePrs->display();
   TestViewer::fitAll();
   CPPUNIT_ASSERT_IMAGES