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
unnecessary file is removed
[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 8a56ab9fc444fbe49b8ee633897b17bd05fb88c5..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
{
@@
-26,6
+27,7
@@
class test_HYDROData_ShapeFile : public CppUnit::TestFixture
CPPUNIT_TEST( test_FieldTypeListDbf );
CPPUNIT_TEST( test_NbRecordsDbf );
CPPUNIT_TEST( test_GetAttrListIndex );
CPPUNIT_TEST( test_FieldTypeListDbf );
CPPUNIT_TEST( test_NbRecordsDbf );
CPPUNIT_TEST( test_GetAttrListIndex );
+ CPPUNIT_TEST( test_DbfWrite );
CPPUNIT_TEST_SUITE_END();
CPPUNIT_TEST_SUITE_END();
@@
-36,6
+38,9
@@
public:
void test_FieldTypeListDbf();
void test_NbRecordsDbf();
void test_GetAttrListIndex ();
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 );