Gromacs  2026.0-dev-20251119-5f0a571d
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions | Variables
h5md_datasetbuilder.cpp File Reference
#include "gmxpre.h"
#include "gromacs/fileio/h5md/h5md_datasetbuilder.h"
#include <hdf5.h>
#include <iostream>
#include <optional>
#include <string>
#include <gtest/gtest.h>
#include "gromacs/fileio/h5md/h5md_attribute.h"
#include "gromacs/fileio/h5md/h5md_guard.h"
#include "gromacs/fileio/h5md/h5md_type.h"
#include "gromacs/fileio/h5md/tests/h5mdtestbase.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/stringutil.h"
#include "gromacs/utility/vectypes.h"
+ Include dependency graph for h5md_datasetbuilder.cpp:

Description

Tests for H5MD data set builder routines.

Author
Petter Johansson pettj.nosp@m.oha@.nosp@m.kth.s.nosp@m.e

Classes

struct  gmx::test::anonymous_namespace{h5md_datasetbuilder.cpp}::DataSetDimensions
 Helper struct to parametrize tests for combinations of dimensions, max dimensions and chunk dimensions. More...
 
class  gmx::test::anonymous_namespace{h5md_datasetbuilder.cpp}::H5mdDataSetBuilderTestBase< ValueType >
 Test fixture for data set builders, inheriting parametrization capabilities. More...
 

Typedefs

using gmx::test::anonymous_namespace{h5md_datasetbuilder.cpp}::Primitive = H5mdDataSetBuilderTestBase< int32_t >
 Parametrized test suite for data sets of simple primitives.
 
using gmx::test::anonymous_namespace{h5md_datasetbuilder.cpp}::BasicVector = H5mdDataSetBuilderTestBase< gmx::BasicVector< float >>
 Parametrized test suite for data sets of BasicVector<T>
 
using gmx::test::anonymous_namespace{h5md_datasetbuilder.cpp}::H5mdDataSetBuilderTest = H5mdTestBase
 } More...
 

Functions

void gmx::test::anonymous_namespace{h5md_datasetbuilder.cpp}::PrintTo (const DataSetDimensions &info, std::ostream *os)
 Helper function for GTest to print dimension parameters.
 
std::string gmx::test::anonymous_namespace{h5md_datasetbuilder.cpp}::nameOfTest (const ::testing::TestParamInfo< DataSetDimensions > &info)
 Helper function for GTest to construct test names.
 

Variables

const DataSetDimensions gmx::test::anonymous_namespace{h5md_datasetbuilder.cpp}::g_validDataSetDimensions []
 Data set dimensions which should work when constructing data sets. More...
 
const DataSetDimensions gmx::test::anonymous_namespace{h5md_datasetbuilder.cpp}::g_validDimensionCombinations []
 Combinations which should work when constructing data sets. More...
 
const DataSetDimensions gmx::test::anonymous_namespace{h5md_datasetbuilder.cpp}::g_invalidDimensionCombinations []
 Combinations which should result in a throw when constructing data sets. More...