-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2015 CEA/DEN, 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.
+// 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
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+// Author : Anthony Geay (CEA/DEN)
#ifndef __MEDLOADERTEST_HXX__
#define __MEDLOADERTEST_HXX__
CPPUNIT_TEST( testWriteUMeshesRW1 );
CPPUNIT_TEST( testMixCellAndNodesFieldRW1 );
CPPUNIT_TEST( testGetAllFieldNamesRW1 );
+
+ // Previously in ParaMEDMEM:
+ CPPUNIT_TEST(testMEDLoaderRead1);
+ CPPUNIT_TEST(testMEDLoaderPolygonRead);
+ CPPUNIT_TEST(testMEDLoaderPolyhedronRead);
+
CPPUNIT_TEST_SUITE_END();
public:
void testMesh1DRW();
void testWriteUMeshesRW1();
void testMixCellAndNodesFieldRW1();
void testGetAllFieldNamesRW1();
+
+ void testMEDLoaderRead1();
+ void testMEDLoaderPolygonRead();
+ void testMEDLoaderPolyhedronRead();
private:
MEDCouplingUMesh *build1DMesh_1();
MEDCouplingUMesh *build2DCurveMesh_1();
MEDCouplingFieldDouble *buildVecFieldOnNodes_1();
MEDCouplingFieldDouble *buildVecFieldOnGauss_1();
MEDCouplingFieldDouble *buildVecFieldOnGaussNE_1();
+
+ std::string getResourceFile( const std::string& filename ) const;
};
}