RTC Toolkit 5.0.0
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
repositoryIfTestSuite.hpp File Reference

Header file declaring type parameterised tests for RepositoryIf. More...

#include <rtctk/componentFramework/repositoryIf.hpp>
#include <rtctk/componentFramework/typeTraits.hpp>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <fmt/format.h>
#include <exception>
#include <future>
#include <type_traits>

Go to the source code of this file.

Classes

class  rtctk::componentFramework::test::RepositoryIfTestSuite< T >
 
class  rtctk::componentFramework::test::AdvancedOperation< T >
 
struct  rtctk::componentFramework::test::TypeMap< T >
 
struct  rtctk::componentFramework::test::TypeMap< RtcString >
 
struct  rtctk::componentFramework::test::TypeMap< MatrixBuffer< T, A > >
 
struct  rtctk::componentFramework::test::TypeMap< std::vector< T, A > >
 
struct  rtctk::componentFramework::test::TypeMap< std::vector< bool, A > >
 
struct  rtctk::componentFramework::test::TypeMap< MatrixBuffer< bool, A > >
 
class  rtctk::componentFramework::test::Callbacks
 
class  rtctk::componentFramework::test::MockCallbacks
 
class  rtctk::componentFramework::test::GetChildren
 
class  rtctk::componentFramework::test::Metadata
 
class  rtctk::componentFramework::test::Symlinks
 
class  rtctk::componentFramework::test::ExceptionInterface
 
class  rtctk::componentFramework::test::MassiveParallelAccess
 

Namespaces

namespace  rtctk
 
namespace  rtctk::componentFramework
 
namespace  rtctk::componentFramework::test
 

Typedefs

template<typename T >
using rtctk::componentFramework::test::BasicOperation = RepositoryIfTestSuite<T>
 
using rtctk::componentFramework::test::TypeSetForBasicOperation
 
using rtctk::componentFramework::test::TypeSetAdvancedOperation
 

Functions

 rtctk::componentFramework::test::TYPED_TEST_SUITE (BasicOperation, TypeSetForBasicOperation)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, DataPointCreationAndDeletion)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, DataPointWriteAndRead)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, DataPointWriteAndReadConstValue)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, DataPointSetAndGet)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, DataPointTypeQuery)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, DataPointSizeQuery)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, DataPointShapeQuery)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, RequestApiCommonUsage)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, RequestApiCommonUsageConstValue)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, MultiWrite)
 
 rtctk::componentFramework::test::TYPED_TEST (BasicOperation, MultiRead)
 
 rtctk::componentFramework::test::TYPED_TEST_SUITE (AdvancedOperation, TypeSetAdvancedOperation)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, ModifiedDataPointShapeIsDetected)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, CreateAndReadLargeData)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, ResizeFromSmallToLarge)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, ResizeFromLargeToSmall)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, ResizeFromOneToEmpty)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, ResizeFromLargeToEmpty)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, PartialWritePattern)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, PartialReadPattern)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, SpanAccess)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, StdArrayAccess)
 
 rtctk::componentFramework::test::TYPED_TEST (AdvancedOperation, CStyleArrayAccess)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, CreateDataPointCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, DeleteDataPointCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, DataPointExistsCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, GetChildrenCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, WriteDataPointCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, ReadDataPointCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, PartialWriteDataPointCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, PartialReadDataPointCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, WriteMetaDataCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, ReadMetaDataCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, CreateSymlinkCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, UpdateSymlinkCallback)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, CreateDataPointCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, DeleteDataPointCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, DataPointExistsCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, GetChildrenCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, WriteDataPointCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, ReadDataPointCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, PartialWriteDataPointCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, PartialReadDataPointCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, WriteMetaDataCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, ReadMetaDataCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, CreateSymlinkCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (Callbacks, UpdateSymlinkCallbackMustBeReentrant)
 
 rtctk::componentFramework::test::TEST_F (GetChildren, FromRootDir)
 
 rtctk::componentFramework::test::TEST_F (GetChildren, FromTopDir)
 
 rtctk::componentFramework::test::TEST_F (GetChildren, FromSubDir1)
 
 rtctk::componentFramework::test::TEST_F (GetChildren, FromSubDir2)
 
 rtctk::componentFramework::test::TEST_F (GetChildren, NoChildrenForExistingDataPoint)
 
 rtctk::componentFramework::test::TEST_F (GetChildren, NoChildrenForNonExistingDataPoint)
 
 rtctk::componentFramework::test::TEST_F (GetChildren, RecursiveFromRootDir)
 
 rtctk::componentFramework::test::TEST_F (GetChildren, DeleteRecursiveFromRootDir)
 
 rtctk::componentFramework::test::TEST_F (GetChildren, DeleteRecursiveFromTopDir)
 
 rtctk::componentFramework::test::TEST_F (GetChildren, DeleteRecursiveFromSubDir2)
 
 rtctk::componentFramework::test::TEST_F (Metadata, CreateDataPointWithMetadata)
 
 rtctk::componentFramework::test::TEST_F (Metadata, WriteDataPointWithMetadata)
 
 rtctk::componentFramework::test::TEST_F (Metadata, ReadDataPointWithMetadata)
 
 rtctk::componentFramework::test::TEST_F (Metadata, WriteMetadataOnly)
 
 rtctk::componentFramework::test::TEST_F (Metadata, TimestampIncrementsOnWrite)
 
 rtctk::componentFramework::test::TEST_F (Metadata, SequenceIdIncrementsOnWrite)
 
 rtctk::componentFramework::test::TEST_F (Metadata, ReadWithSpecificSequenceId)
 
 rtctk::componentFramework::test::TEST_F (Metadata, ReadWithWrongSequenceId)
 
 rtctk::componentFramework::test::TEST_F (Metadata, UserMetadata)
 
 rtctk::componentFramework::test::TEST_F (Symlinks, BasicPattern)
 
 rtctk::componentFramework::test::TEST_F (Symlinks, AdvancedPattern)
 
 rtctk::componentFramework::test::TEST_F (Symlinks, LinksCanBeDeletedLikeRegularDataPoints)
 
 rtctk::componentFramework::test::TEST_F (Symlinks, DanglingLinksStillExistAsDataPoints)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, CreateDataPointThrowsForExistingDataPoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, DeleteDataPointThrowsForNonExistingDataPoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, WriteDataPointThrowsIfDataPointDoesNotExist)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, WriteDataPointThrowsForIncompatibleDataType)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, WriteDataPointThrowsForIncompatibleShape)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, ReadDataPointThrowsForIncompatibleDataType)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, ReadDataPointThrowsForIncompatibleShape)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, ReadDataPointThrowsForTooSmallBuffer)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, PartialWriteDataPointThrowsForOutOfBoundsAccess)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, PartialReadDataPointThrowsForOutOfBoundsAccess)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, SetDataPointThrowsForNonExistingDatapoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, GetDataPointThrowsForNonExistingDatapoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, GetDataPointTypeThrowsForNonExistingDatapoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, GetDataPointSizeThrowsForNonExistingDatapoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, GetDataPointShapeThrowsForNonExistingDatapoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, WriteMetaDataThrowsForNonExistingDatapoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, ExceptionIsThrownDuringCreationWhenUnsupportedMetaDataTypeIsUsed)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, ExceptionIsThrownDuringWritingWhenUnsupportedMetaDataTypeIsUsed)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, ReadMetaDataThrowsForNonExistingDatapoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, CreateSymlinkThrowsForNonExistingDatapoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, CreatingSymlinkToSymlinkThrows)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, UpdateSymlinkThrowsForNonExistingSymlink)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, UpdateSymlinkThrowsForNonExistingDataPoint)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, UpdateSymlinkToSymlinkCycleThrows)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, WritingToDanglingSymlinkThrows)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, ReadingFromDanglingSymlinkThrows)
 
 rtctk::componentFramework::test::TEST_F (ExceptionInterface, MultipleRequestFail)
 
 rtctk::componentFramework::test::TEST_F (MassiveParallelAccess, BasicCrudOperations)
 
 rtctk::componentFramework::test::TEST_F (MassiveParallelAccess, ParallelReadFromSameDatapointWithSameValue)
 
 rtctk::componentFramework::test::TEST_F (MassiveParallelAccess, ParallelWriteToSameDatapointWithSameValue)
 
 rtctk::componentFramework::test::TEST_F (MassiveParallelAccess, ParallelInterleavingWritesToSameDatapointWithSameValue)
 
 rtctk::componentFramework::test::TEST_F (MassiveParallelAccess, ParallelInterleavingReadsFromSameDatapointWithSameValue)
 

Detailed Description

Header file declaring type parameterised tests for RepositoryIf.