From: adv Date: Thu, 12 Sep 2013 07:06:01 +0000 (+0000) Subject: Tests for Bathymetry object. X-Git-Tag: BR_hydro_v_0_1~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6cf3f52e1a890ee7fdb96c4b50d0fc77b8731583;p=modules%2Fhydro.git Tests for Bathymetry object. --- diff --git a/src/HYDROData/CMakeLists.txt b/src/HYDROData/CMakeLists.txt index 8de409d1..ee1f877c 100644 --- a/src/HYDROData/CMakeLists.txt +++ b/src/HYDROData/CMakeLists.txt @@ -58,6 +58,7 @@ if(CPPUNIT_IS_OK) test_HYDROData_Iterator.h test_HYDROData_Image.h test_HYDROData_Polyline.h + test_HYDROData_Bathymetry.h test_HYDROOperations_BSpline.h test_HYDROOperations_Factory.h ) @@ -69,6 +70,7 @@ if(CPPUNIT_IS_OK) test_HYDROData_Iterator.cxx test_HYDROData_Image.cxx test_HYDROData_Polyline.cxx + test_HYDROData_Bathymetry.cxx test_HYDROOperations_BSpline.cxx test_HYDROOperations_Factory.cxx ) diff --git a/src/HYDROData/test_HYDROData_Bathymetry.cxx b/src/HYDROData/test_HYDROData_Bathymetry.cxx index c257bf8f..78bc6a81 100755 --- a/src/HYDROData/test_HYDROData_Bathymetry.cxx +++ b/src/HYDROData/test_HYDROData_Bathymetry.cxx @@ -4,6 +4,8 @@ #include #include +#include + #include #include #include @@ -93,7 +95,7 @@ void test_HYDROData_Bathymetry::testFileImport() } -void test_HYDROData_Polyline::testCopy() +void test_HYDROData_Bathymetry::testCopy() { Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1); diff --git a/src/HYDROData/test_HYDROData_Bathymetry.h b/src/HYDROData/test_HYDROData_Bathymetry.h index b0056a4a..4e66d35f 100755 --- a/src/HYDROData/test_HYDROData_Bathymetry.h +++ b/src/HYDROData/test_HYDROData_Bathymetry.h @@ -2,6 +2,7 @@ #include class Handle_HYDROData_Bathymetry; +class QString; class test_HYDROData_Bathymetry : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(test_HYDROData_Bathymetry);