Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'BR_PY3' of https://git.forge.pleiade.edf.fr/git/modules-salome.hydro...
[modules/hydro.git]
/
src
/
HYDRO_tests
/
test_HYDROData_ShapeFile.h
diff --git
a/src/HYDRO_tests/test_HYDROData_ShapeFile.h
b/src/HYDRO_tests/test_HYDROData_ShapeFile.h
index 6c3739a5730fbb97c81f7b742dc490d49fc7f03e..04e54f8988e7013471708ade5c9aa3847ae51bb6 100644
(file)
--- a/
src/HYDRO_tests/test_HYDROData_ShapeFile.h
+++ b/
src/HYDRO_tests/test_HYDROData_ShapeFile.h
@@
-16,6
+16,7
@@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#include <cppunit/extensions/HelperMacros.h>
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#include <cppunit/extensions/HelperMacros.h>
+#include <QString>
class test_HYDROData_ShapeFile : public CppUnit::TestFixture
{
class test_HYDROData_ShapeFile : public CppUnit::TestFixture
{
@@
-24,6
+25,9
@@
class test_HYDROData_ShapeFile : public CppUnit::TestFixture
CPPUNIT_TEST( test_NbFieldsDbf );
CPPUNIT_TEST( test_FieldListDbf );
CPPUNIT_TEST( test_FieldTypeListDbf );
CPPUNIT_TEST( test_NbFieldsDbf );
CPPUNIT_TEST( test_FieldListDbf );
CPPUNIT_TEST( test_FieldTypeListDbf );
+ CPPUNIT_TEST( test_NbRecordsDbf );
+ CPPUNIT_TEST( test_GetAttrListIndex );
+ CPPUNIT_TEST( test_DbfWrite );
CPPUNIT_TEST_SUITE_END();
CPPUNIT_TEST_SUITE_END();
@@
-32,6
+36,11
@@
public:
void test_NbFieldsDbf();
void test_FieldListDbf();
void test_FieldTypeListDbf();
void test_NbFieldsDbf();
void test_FieldListDbf();
void test_FieldTypeListDbf();
+ void test_NbRecordsDbf();
+ void test_GetAttrListIndex ();
+ void test_DbfWrite();
+private:
+ bool compare_two_files(const QString& File1, const QString& File2);
};
CPPUNIT_TEST_SUITE_REGISTRATION( test_HYDROData_ShapeFile );
};
CPPUNIT_TEST_SUITE_REGISTRATION( test_HYDROData_ShapeFile );