Salome HOME
refs #673: test for export to Telemac
[modules/hydro.git] / src / HYDRO_tests / test_HYDROData_LandCoverMap.h
index 4d0ccc9e5c7c6ff7c1806814534b8a8d31778990..36c8f6bd8ca1cd81ff47233a18488baa67760fe4 100644 (file)
 #endif
 
 #include <cppunit/extensions/HelperMacros.h>
+#define SHP_TESTS
 
 class test_HYDROData_LandCoverMap : public CppUnit::TestFixture
 {
   CPPUNIT_TEST_SUITE( test_HYDROData_LandCoverMap );
   CPPUNIT_TEST( test_add_2_objects );
+  CPPUNIT_TEST( test_add_2_section_poly );
   CPPUNIT_TEST( test_add_triangles );
   CPPUNIT_TEST( test_split );
+  CPPUNIT_TEST( test_split_2 );
   CPPUNIT_TEST( test_incomplete_split );
   CPPUNIT_TEST( test_merge );
   CPPUNIT_TEST( test_remove );
@@ -39,12 +42,21 @@ class test_HYDROData_LandCoverMap : public CppUnit::TestFixture
   CPPUNIT_TEST( test_dump_python );
   CPPUNIT_TEST( test_transparent_prs );
   CPPUNIT_TEST( test_assign_to_calc_case );
+  CPPUNIT_TEST( test_export_telemac );
+#ifdef SHP_TESTS
+  CPPUNIT_TEST( test_shp_import_cyp );
+  CPPUNIT_TEST( test_shp_import_clc_dec );
+  CPPUNIT_TEST( test_shp_import_nld_areas );
+  CPPUNIT_TEST( test_shp_loop_back );
+#endif
   CPPUNIT_TEST_SUITE_END();
 
 public:
   void test_add_2_objects();
+  void test_add_2_section_poly();
   void test_add_triangles();
   void test_split();
+  void test_split_2();
   void test_incomplete_split();
   void test_merge();
   void test_remove();
@@ -56,6 +68,11 @@ public:
   void test_dump_python();
   void test_transparent_prs();
   void test_assign_to_calc_case();
+  void test_shp_import_cyp();
+  void test_shp_import_clc_dec();
+  void test_shp_import_nld_areas();
+  void test_shp_loop_back();
+  void test_export_telemac();
 };
 
 CPPUNIT_TEST_SUITE_REGISTRATION( test_HYDROData_LandCoverMap );