Salome HOME
merge BR_v14_rc
[modules/hydro.git] / src / HYDROData / test_HYDROData_Bathymetry.cxx
index 9901c8ea7eb99f4b9ad775419754fba72a302a5c..e3b2509a4ec903299251ce162cf76151133e039e 100755 (executable)
@@ -1,3 +1,21 @@
+// Copyright (C) 2014-2015  EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
 #include <test_HYDROData_Bathymetry.h>
 
 #include <HYDROData_Document.h>
@@ -167,7 +185,7 @@ void test_HYDROData_Bathymetry::testCopy()
   Handle(HYDROData_Bathymetry) aBathymetry2 = 
     Handle(HYDROData_Bathymetry)::DownCast( aDoc->CreateObject( KIND_BATHYMETRY ) );
 
-  aBathymetry1->CopyTo( aBathymetry2 );
+  aBathymetry1->CopyTo( aBathymetry2, true );
 
   if ( anIsFileCreated )
   {