hops
Classes | Macros | Enumerations | Functions
tests_high_five_base.cpp File Reference
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <memory>
#include <random>
#include <string>
#include <typeinfo>
#include <vector>
#include <highfive/H5DataSet.hpp>
#include <highfive/H5DataSpace.hpp>
#include <highfive/H5File.hpp>
#include <highfive/H5Group.hpp>
#include <highfive/H5Reference.hpp>
#include <highfive/H5Utility.hpp>
#include <boost/test/unit_test.hpp>
#include "tests_high_five.hpp"
Include dependency graph for tests_high_five_base.cpp:

Classes

struct  CSL1
 
struct  CSL2
 

Macros

#define BOOST_TEST_MAIN   HighFiveTestBase
 

Enumerations

enum  Position { FIRST = 1, SECOND = 2, THIRD = 3, LAST = -1 }
 
enum  Direction : signed char { Direction::FORWARD = 1, Direction::BACKWARD = -1, Direction::LEFT = -2, Direction::RIGHT = 2 }
 

Functions

 BOOST_AUTO_TEST_CASE (HighFiveBasic)
 
 BOOST_AUTO_TEST_CASE (HighFiveSilence)
 
 BOOST_AUTO_TEST_CASE (HighFiveOpenMode)
 
 BOOST_AUTO_TEST_CASE (HighFiveGroupAndDataSet)
 
 BOOST_AUTO_TEST_CASE (HighFiveExtensibleDataSet)
 
 BOOST_AUTO_TEST_CASE (HighFiveRefCountMove)
 
 BOOST_AUTO_TEST_CASE (HighFiveSimpleListing)
 
 BOOST_AUTO_TEST_CASE (DataTypeEqualSimple)
 
 BOOST_AUTO_TEST_CASE (DataTypeEqualTakeBack)
 
 BOOST_AUTO_TEST_CASE (DataSpaceTest)
 
 BOOST_AUTO_TEST_CASE (DataSpaceVectorTest)
 
 BOOST_AUTO_TEST_CASE (DataSpaceVariadicTest)
 
 BOOST_AUTO_TEST_CASE (ChunkingConstructorsTest)
 
 BOOST_AUTO_TEST_CASE (HighFiveReadWriteShortcut)
 
template<typename T >
void readWriteAttributeVectorTest ()
 
 BOOST_AUTO_TEST_CASE (ReadWriteAttributeVectorString)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (ReadWriteAttributeVector, T, dataset_test_types)
 
 BOOST_AUTO_TEST_CASE (datasetOffset)
 
template<typename T >
void selectionArraySimpleTest ()
 
 BOOST_AUTO_TEST_CASE (selectionArraySimpleString)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (selectionArraySimple, T, dataset_test_types)
 
 BOOST_AUTO_TEST_CASE (selectionByElementMultiDim)
 
template<typename T >
void columnSelectionTest ()
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (columnSelection, T, numerical_test_types)
 
template<typename T >
void attribute_scalar_rw ()
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (attribute_scalar_rw_all, T, dataset_test_types)
 
 BOOST_AUTO_TEST_CASE (attribute_scalar_rw_string)
 
 BOOST_AUTO_TEST_CASE (HighFiveOutofDimension)
 
template<typename T >
void readWriteShuffleDeflateTest ()
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (ReadWriteShuffleDeflate, T, numerical_test_types)
 
 BOOST_AUTO_TEST_CASE (ReadInBroadcastDims)
 
 BOOST_AUTO_TEST_CASE (HighFiveRecursiveGroups)
 
 BOOST_AUTO_TEST_CASE (HighFiveInspect)
 
 BOOST_AUTO_TEST_CASE (HighFiveGetPath)
 
 BOOST_AUTO_TEST_CASE (HighFiveRename)
 
 BOOST_AUTO_TEST_CASE (HighFiveRenameRelative)
 
CompoundType create_compound_csl1 ()
 
CompoundType create_compound_csl2 ()
 
 BOOST_AUTO_TEST_CASE (HighFiveCompounds)
 
std::ostream & operator<< (std::ostream &ost, const Direction &dir)
 
EnumType< Positioncreate_enum_position ()
 
EnumType< Directioncreate_enum_direction ()
 
 BOOST_AUTO_TEST_CASE (HighFiveEnum)
 
 BOOST_AUTO_TEST_CASE (HighFiveFixedString)
 
 BOOST_AUTO_TEST_CASE (HighFiveFixedLenStringArrayStructure)
 
 BOOST_AUTO_TEST_CASE (HighFiveReference)
 

Macro Definition Documentation

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN   HighFiveTestBase

Enumeration Type Documentation

◆ Direction

enum Direction : signed char
strong
Enumerator
FORWARD 
BACKWARD 
LEFT 
RIGHT 

◆ Position

enum Position
Enumerator
FIRST 
SECOND 
THIRD 
LAST 

Function Documentation

◆ attribute_scalar_rw()

template<typename T >
void attribute_scalar_rw ( )

◆ BOOST_AUTO_TEST_CASE() [1/31]

BOOST_AUTO_TEST_CASE ( attribute_scalar_rw_string  )

◆ BOOST_AUTO_TEST_CASE() [2/31]

BOOST_AUTO_TEST_CASE ( ChunkingConstructorsTest  )

◆ BOOST_AUTO_TEST_CASE() [3/31]

BOOST_AUTO_TEST_CASE ( datasetOffset  )

◆ BOOST_AUTO_TEST_CASE() [4/31]

BOOST_AUTO_TEST_CASE ( DataSpaceTest  )

◆ BOOST_AUTO_TEST_CASE() [5/31]

BOOST_AUTO_TEST_CASE ( DataSpaceVariadicTest  )

◆ BOOST_AUTO_TEST_CASE() [6/31]

BOOST_AUTO_TEST_CASE ( DataSpaceVectorTest  )

◆ BOOST_AUTO_TEST_CASE() [7/31]

BOOST_AUTO_TEST_CASE ( DataTypeEqualSimple  )

◆ BOOST_AUTO_TEST_CASE() [8/31]

BOOST_AUTO_TEST_CASE ( DataTypeEqualTakeBack  )

◆ BOOST_AUTO_TEST_CASE() [9/31]

BOOST_AUTO_TEST_CASE ( HighFiveBasic  )

◆ BOOST_AUTO_TEST_CASE() [10/31]

BOOST_AUTO_TEST_CASE ( HighFiveCompounds  )

◆ BOOST_AUTO_TEST_CASE() [11/31]

BOOST_AUTO_TEST_CASE ( HighFiveEnum  )

◆ BOOST_AUTO_TEST_CASE() [12/31]

BOOST_AUTO_TEST_CASE ( HighFiveExtensibleDataSet  )

◆ BOOST_AUTO_TEST_CASE() [13/31]

BOOST_AUTO_TEST_CASE ( HighFiveFixedLenStringArrayStructure  )

◆ BOOST_AUTO_TEST_CASE() [14/31]

BOOST_AUTO_TEST_CASE ( HighFiveFixedString  )

This will not compile - only char arrays - hits static_assert with a nice error

◆ BOOST_AUTO_TEST_CASE() [15/31]

BOOST_AUTO_TEST_CASE ( HighFiveGetPath  )

◆ BOOST_AUTO_TEST_CASE() [16/31]

BOOST_AUTO_TEST_CASE ( HighFiveGroupAndDataSet  )

◆ BOOST_AUTO_TEST_CASE() [17/31]

BOOST_AUTO_TEST_CASE ( HighFiveInspect  )

◆ BOOST_AUTO_TEST_CASE() [18/31]

BOOST_AUTO_TEST_CASE ( HighFiveOpenMode  )

◆ BOOST_AUTO_TEST_CASE() [19/31]

BOOST_AUTO_TEST_CASE ( HighFiveOutofDimension  )

◆ BOOST_AUTO_TEST_CASE() [20/31]

BOOST_AUTO_TEST_CASE ( HighFiveReadWriteShortcut  )

◆ BOOST_AUTO_TEST_CASE() [21/31]

BOOST_AUTO_TEST_CASE ( HighFiveRecursiveGroups  )

◆ BOOST_AUTO_TEST_CASE() [22/31]

BOOST_AUTO_TEST_CASE ( HighFiveRefCountMove  )

◆ BOOST_AUTO_TEST_CASE() [23/31]

BOOST_AUTO_TEST_CASE ( HighFiveReference  )

◆ BOOST_AUTO_TEST_CASE() [24/31]

BOOST_AUTO_TEST_CASE ( HighFiveRename  )

◆ BOOST_AUTO_TEST_CASE() [25/31]

BOOST_AUTO_TEST_CASE ( HighFiveRenameRelative  )

◆ BOOST_AUTO_TEST_CASE() [26/31]

BOOST_AUTO_TEST_CASE ( HighFiveSilence  )

◆ BOOST_AUTO_TEST_CASE() [27/31]

BOOST_AUTO_TEST_CASE ( HighFiveSimpleListing  )

◆ BOOST_AUTO_TEST_CASE() [28/31]

BOOST_AUTO_TEST_CASE ( ReadInBroadcastDims  )

◆ BOOST_AUTO_TEST_CASE() [29/31]

BOOST_AUTO_TEST_CASE ( ReadWriteAttributeVectorString  )

◆ BOOST_AUTO_TEST_CASE() [30/31]

BOOST_AUTO_TEST_CASE ( selectionArraySimpleString  )

◆ BOOST_AUTO_TEST_CASE() [31/31]

BOOST_AUTO_TEST_CASE ( selectionByElementMultiDim  )

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/5]

BOOST_AUTO_TEST_CASE_TEMPLATE ( attribute_scalar_rw_all  ,
,
dataset_test_types   
)

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/5]

BOOST_AUTO_TEST_CASE_TEMPLATE ( columnSelection  ,
,
numerical_test_types   
)

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/5]

BOOST_AUTO_TEST_CASE_TEMPLATE ( ReadWriteAttributeVector  ,
,
dataset_test_types   
)

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [4/5]

BOOST_AUTO_TEST_CASE_TEMPLATE ( ReadWriteShuffleDeflate  ,
,
numerical_test_types   
)

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [5/5]

BOOST_AUTO_TEST_CASE_TEMPLATE ( selectionArraySimple  ,
,
dataset_test_types   
)

◆ columnSelectionTest()

template<typename T >
void columnSelectionTest ( )

◆ create_compound_csl1()

CompoundType create_compound_csl1 ( )

◆ create_compound_csl2()

CompoundType create_compound_csl2 ( )

◆ create_enum_direction()

EnumType<Direction> create_enum_direction ( )

◆ create_enum_position()

EnumType<Position> create_enum_position ( )

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ost,
const Direction dir 
)

◆ readWriteAttributeVectorTest()

template<typename T >
void readWriteAttributeVectorTest ( )

◆ readWriteShuffleDeflateTest()

template<typename T >
void readWriteShuffleDeflateTest ( )

◆ selectionArraySimpleTest()

template<typename T >
void selectionArraySimpleTest ( )