From: ageay Date: Tue, 25 Jun 2013 15:50:38 +0000 (+0000) Subject: On the road of reimplementation of basic MEDLoader API with advanced one. X-Git-Tag: B4CMakeModifs~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1e5bf787877cc017b13951968c7903fb4c37374a;p=modules%2Fmed.git On the road of reimplementation of basic MEDLoader API with advanced one. --- diff --git a/src/MEDLoader/Test/MEDLoaderTest.cxx b/src/MEDLoader/Test/MEDLoaderTest.cxx index 0d5516cbc..bd8970b7b 100644 --- a/src/MEDLoader/Test/MEDLoaderTest.cxx +++ b/src/MEDLoader/Test/MEDLoaderTest.cxx @@ -318,7 +318,7 @@ void MEDLoaderTest::testMultiMeshRW1() CPPUNIT_ASSERT(mesh1_2->isEqual(mesh1,1e-12)); mesh1_2->decrRef(); // - vec.clear(); vec.push_back(std::string("Family_4")); vec.push_back(std::string("Family_2")); + vec.clear(); vec.push_back(std::string("Family_-3")); vec.push_back(std::string("Family_-5")); mesh2_2=MEDLoader::ReadUMeshFromFamilies(fileName,mnane,0,vec); mesh2_2->setName("mesh2"); CPPUNIT_ASSERT(mesh2_2->isEqual(mesh2,1e-12)); @@ -326,12 +326,12 @@ void MEDLoaderTest::testMultiMeshRW1() // std::vector ret=MEDLoader::GetMeshFamiliesNamesOnGroup(fileName,"3DToto","3DMesh_1"); CPPUNIT_ASSERT_EQUAL(4,(int)ret.size()); - CPPUNIT_ASSERT(ret[0]=="Family_1"); - CPPUNIT_ASSERT(ret[1]=="Family_2"); - CPPUNIT_ASSERT(ret[2]=="Family_3"); - CPPUNIT_ASSERT(ret[3]=="Family_4"); + CPPUNIT_ASSERT(ret[0]=="Family_-2"); + CPPUNIT_ASSERT(ret[1]=="Family_-3"); + CPPUNIT_ASSERT(ret[2]=="Family_-4"); + CPPUNIT_ASSERT(ret[3]=="Family_-5"); // - std::vector ret1=MEDLoader::GetMeshGroupsNamesOnFamily(fileName,"3DToto","Family_2"); + std::vector ret1=MEDLoader::GetMeshGroupsNamesOnFamily(fileName,"3DToto","Family_-3"); CPPUNIT_ASSERT_EQUAL(2,(int)ret1.size()); CPPUNIT_ASSERT(ret1[0]=="3DMesh_1"); CPPUNIT_ASSERT(ret1[1]=="mesh2");