Loading src/UnitTests/Meshes/DistributedMeshes/CutDistributedMeshFunctionTest.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -612,8 +612,7 @@ TEST(CutDistributedMeshFunction, 3D_2_Save) loadMeshFunctionptr.bind(globalCutGrid,loaddof); File file; bool ok=file.open( FileName, File::Mode::In ); TNL_ASSERT_TRUE(ok,"Cannot open file"); file.open( FileName, File::Mode::In ); loadMeshFunctionptr.boundLoad(file); file.close(); Loading src/UnitTests/Meshes/DistributedMeshes/DistributedGridIOTest.h +2 −2 Original line number Diff line number Diff line Loading @@ -276,7 +276,7 @@ class TestDistributedGridIO String localFileName= fileName+String("-")+distributedGrid.printProcessCoords()+String(".tnl"); File file; ASSERT_TRUE( file.open(localFileName, File::Mode::In ) ); file.open(localFileName, File::Mode::In ); loadMeshFunctionptr->boundLoad(file); file.close(); Loading Loading @@ -336,7 +336,7 @@ class TestDistributedGridIO String fileName=String("test-file-distributedgrid-io-load.tnl"); String localFileName=fileName+String("-")+distributedGrid.printProcessCoords()+String(".tnl"); File file; ASSERT_TRUE( file.open( localFileName, File::Mode::Out ) ); file.open( localFileName, File::Mode::Out ); localMeshFunctionptr->save(file); file.close(); Loading Loading
src/UnitTests/Meshes/DistributedMeshes/CutDistributedMeshFunctionTest.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -612,8 +612,7 @@ TEST(CutDistributedMeshFunction, 3D_2_Save) loadMeshFunctionptr.bind(globalCutGrid,loaddof); File file; bool ok=file.open( FileName, File::Mode::In ); TNL_ASSERT_TRUE(ok,"Cannot open file"); file.open( FileName, File::Mode::In ); loadMeshFunctionptr.boundLoad(file); file.close(); Loading
src/UnitTests/Meshes/DistributedMeshes/DistributedGridIOTest.h +2 −2 Original line number Diff line number Diff line Loading @@ -276,7 +276,7 @@ class TestDistributedGridIO String localFileName= fileName+String("-")+distributedGrid.printProcessCoords()+String(".tnl"); File file; ASSERT_TRUE( file.open(localFileName, File::Mode::In ) ); file.open(localFileName, File::Mode::In ); loadMeshFunctionptr->boundLoad(file); file.close(); Loading Loading @@ -336,7 +336,7 @@ class TestDistributedGridIO String fileName=String("test-file-distributedgrid-io-load.tnl"); String localFileName=fileName+String("-")+distributedGrid.printProcessCoords()+String(".tnl"); File file; ASSERT_TRUE( file.open( localFileName, File::Mode::Out ) ); file.open( localFileName, File::Mode::Out ); localMeshFunctionptr->save(file); file.close(); Loading