From 3e3244d59dc0e78ef602299f79de5b749c00e33a Mon Sep 17 00:00:00 2001 From: nyoungbq Date: Tue, 20 Aug 2024 10:09:26 -0400 Subject: [PATCH] patch test --- test/H5Test.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/test/H5Test.cpp b/test/H5Test.cpp index 2101c48d49..fad1eed55d 100644 --- a/test/H5Test.cpp +++ b/test/H5Test.cpp @@ -184,7 +184,7 @@ void CreateVertexGeometry(DataStructure& dataStructure) nx::core::Result result = nx::core::CreateArray(dataStructure, {vertexCount}, {3}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto vertexArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *vertexArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, vertexArray->getDataStoreRef(), skipLines, delimiter); vertexGeometry->setVertices(*vertexArray); REQUIRE(vertexGeometry->getNumberOfVertices() == 144); @@ -221,7 +221,7 @@ void CreateTriangleGeometry(DataStructure& dataStructure) nx::core::Result result = nx::core::CreateArray(dataStructure, {faceCount}, {3}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto dataArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *dataArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, dataArray->getDataStoreRef(), skipLines, delimiter); triangleGeom->setFaceList(*dataArray); // Create the Vertex Array with a component size of 3 @@ -232,7 +232,7 @@ void CreateTriangleGeometry(DataStructure& dataStructure) result = nx::core::CreateArray(dataStructure, {vertexCount}, {3}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto vertexArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *vertexArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, vertexArray->getDataStoreRef(), skipLines, delimiter); triangleGeom->setVertices(*vertexArray); } @@ -255,7 +255,7 @@ void CreateQuadGeometry(DataStructure& dataStructure) nx::core::Result result = nx::core::CreateArray(dataStructure, {faceCount}, {4}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto dataArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *dataArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, dataArray->getDataStoreRef(), skipLines, delimiter); geometry->setFaceList(*dataArray); // Create the Vertex Array with a component size of 3 @@ -266,7 +266,7 @@ void CreateQuadGeometry(DataStructure& dataStructure) result = nx::core::CreateArray(dataStructure, {vertexCount}, {3}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto vertexArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *vertexArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, vertexArray->getDataStoreRef(), skipLines, delimiter); geometry->setVertices(*vertexArray); } @@ -289,7 +289,7 @@ void CreateEdgeGeometry(DataStructure& dataStructure) nx::core::Result result = nx::core::CreateArray(dataStructure, {faceCount}, {2}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto dataArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *dataArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, dataArray->getDataStoreRef(), skipLines, delimiter); geometry->setEdgeList(*dataArray); // Create the Vertex Array with a component size of 3 @@ -300,7 +300,7 @@ void CreateEdgeGeometry(DataStructure& dataStructure) result = nx::core::CreateArray(dataStructure, {vertexCount}, {3}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto vertexArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *vertexArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, vertexArray->getDataStoreRef(), skipLines, delimiter); geometry->setVertices(*vertexArray); } @@ -323,7 +323,7 @@ void CreateTetrahedralGeometry(DataStructure& dataStructure) nx::core::Result result = nx::core::CreateArray(dataStructure, {faceCount}, {4}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto dataArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *dataArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, dataArray->getDataStoreRef(), skipLines, delimiter); geometry->setPolyhedraList(*dataArray); // Create the Vertex Array with a component size of 3 @@ -334,7 +334,7 @@ void CreateTetrahedralGeometry(DataStructure& dataStructure) result = nx::core::CreateArray(dataStructure, {vertexCount}, {3}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto vertexArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *vertexArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, vertexArray->getDataStoreRef(), skipLines, delimiter); geometry->setVertices(*vertexArray); } @@ -357,7 +357,7 @@ void CreateHexahedralGeometry(DataStructure& dataStructure) nx::core::Result result = nx::core::CreateArray(dataStructure, {faceCount}, {8}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto dataArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *dataArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, dataArray->getDataStoreRef(), skipLines, delimiter); geometry->setPolyhedraList(*dataArray); // Create the Vertex Array with a component size of 3 @@ -368,7 +368,7 @@ void CreateHexahedralGeometry(DataStructure& dataStructure) result = nx::core::CreateArray(dataStructure, {vertexCount}, {3}, path, IDataAction::Mode::Execute); REQUIRE(result.valid()); auto vertexArray = nx::core::ArrayFromPath(dataStructure, path); - CsvParser::ReadFile(inputFile, *vertexArray, skipLines, delimiter); + CsvParser::ReadFile(inputFile, vertexArray->getDataStoreRef(), skipLines, delimiter); geometry->setVertices(*vertexArray); }