|
Gromacs
2026.0-dev-20251119-5f0a571d
|
#include "gmxpre.h"#include "gromacs/fileio/h5md/h5md_datasetbase.h"#include <hdf5.h>#include <gtest/gtest.h>#include "gromacs/fileio/h5md/h5md.h"#include "gromacs/fileio/h5md/h5md_framedatasetbuilder.h"#include "gromacs/fileio/h5md/h5md_type.h"#include "gromacs/fileio/h5md/h5md_util.h"#include "gromacs/fileio/h5md/tests/h5mdtestbase.h"#include "gromacs/utility/exceptions.h"#include "gromacs/utility/stringutil.h"#include "gromacs/utility/vectypes.h"#include "testutils/testfilemanager.h"
Include dependency graph for h5md_datasetbase.cpp:Tests for H5MD data set base class.
Classes | |
| class | gmx::test::anonymous_namespace{h5md_datasetbase.cpp}::H5mdDataSetBaseTest< ValueType > |
| Test fixture for all relevant data set types. More... | |
| struct | gmx::test::anonymous_namespace{h5md_datasetbase.cpp}::TestDimensions |
| Helper struct to parametrize tests for combinations of dimensions, max dimensions and chunk dimensions. More... | |
| class | gmx::test::anonymous_namespace{h5md_datasetbase.cpp}::H5mdDataSetBaseBasicVectorTest |
| Parametrized test fixture for tests with different data set dimensions for BasicVector<T> sets. More... | |
Typedefs | |
| using | gmx::test::anonymous_namespace{h5md_datasetbase.cpp}::DataTypesToTest = ::testing::Types< int32_t, int64_t, float, double, gmx::BasicVector< float >, gmx::BasicVector< double >> |
| List of all data types to create tests for. | |
Functions | |
| template<typename AsType , typename OriginalType > | |
| void | gmx::test::anonymous_namespace{h5md_datasetbase.cpp}::testOpenDataSetAsType (const hid_t container) |
| Test function for actual test below. | |
| void | gmx::test::anonymous_namespace{h5md_datasetbase.cpp}::PrintTo (const TestDimensions &info, std::ostream *os) |
| Helper function for GTest to print dimension parameters. | |
| std::string | gmx::test::anonymous_namespace{h5md_datasetbase.cpp}::nameOfTest (const ::testing::TestParamInfo< TestDimensions > &info) |
| Helper function for GTest to construct test names. | |
Variables | |
| const TestDimensions | gmx::test::anonymous_namespace{h5md_datasetbase.cpp}::g_dataSetDimsToTest [] = { { { 3 } }, { { 0, 3 } }, { { 0, 0, 3 } }, { { 5, 2, 3 } } } |
1.8.5