]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Tests for Bathymetry object.
authoradv <adv@opencascade.com>
Thu, 12 Sep 2013 07:06:01 +0000 (07:06 +0000)
committeradv <adv@opencascade.com>
Thu, 12 Sep 2013 07:06:01 +0000 (07:06 +0000)
src/HYDROData/CMakeLists.txt
src/HYDROData/test_HYDROData_Bathymetry.cxx
src/HYDROData/test_HYDROData_Bathymetry.h

index 8de409d111bd074d6d36bb92d3404d7a5e299944..ee1f877c34fc2f91548f37abd9d7a2e509ae8476 100644 (file)
@@ -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
   )
index c257bf8ff1a9a2dbee442b6848c0c612efcc5b4a..78bc6a81ec3a67dc79cffd5f4757d449b28dcc7e 100755 (executable)
@@ -4,6 +4,8 @@
 #include <HYDROData_Tool.h>
 #include <HYDROData_Bathymetry.h>
 
+#include <gp_XYZ.hxx>
+
 #include <QDir>
 #include <QFile>
 #include <QPointF>
@@ -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);
   
index b0056a4a84aba89ffd80a4e620aa5c2dd725b6ad..4e66d35fdc5bf135087cef6689aa1d394101daba 100755 (executable)
@@ -2,6 +2,7 @@
 #include <cppunit/extensions/HelperMacros.h>
 
 class Handle_HYDROData_Bathymetry;
+class QString;
 
 class test_HYDROData_Bathymetry : public CppUnit::TestFixture {
   CPPUNIT_TEST_SUITE(test_HYDROData_Bathymetry);