Salome HOME
debug of tests for DTM
[modules/hydro.git] / src / HYDROData / test_HYDROData_PolylineXY.cxx
index 7218703389618bd3380f542711a7293f7c2e8427..99b61069f176803719f92e44a540f220e17fd2ff 100644 (file)
@@ -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_PolylineXY.h>
 
 #include <HYDROData_Document.h>
@@ -48,7 +66,7 @@ void test_HYDROData_PolylineXY::testCopy()
   Handle(HYDROData_PolylineXY) aPolyline2 = 
     Handle(HYDROData_PolylineXY)::DownCast(aDoc->CreateObject(KIND_POLYLINEXY));
 
-  aPolyline1->CopyTo(aPolyline2);
+  aPolyline1->CopyTo(aPolyline2, true);
 
 
   aDoc->Close();