RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
rtctk::componentFramework::test Namespace Reference

Classes

class  AdvancedOperation
 
class  Callbacks
 
class  ExceptionInterface
 
class  FakeClock
 
class  FakeOldbIf
 Implementation of a fake of OldbIf for testing. More...
 
class  FakePersistentRepoIf
 Implementation of a fake of PersistentRepoIf for testing. More...
 
class  FakeRedisProvider
 A fake provider that can also be used for external Redis unit testing. More...
 
class  FakeRepository
 Implementation of an in-memory fake repository for testing. More...
 
class  FakeRepositorySubscriber
 A simple fake implementation of RepositorySubscriberIf to allow testing the interactions and callbacks over this API. More...
 
class  FakeRuntimeRepoIf
 Implementation of a fake of RuntimeRepoIf for testing. More...
 
class  GetChildren
 
class  MassiveParallelAccess
 
class  Metadata
 
class  MockCallbacks
 
class  MockExtRedisBackend
 Mock interface representing the external Redis backend. More...
 
class  MockPersistentRepoIf
 A mock of PersistentRepoIf. More...
 
class  MockRepository
 A GoogleTest mock of RepositoryIf. More...
 
class  MockRuntimeRepoIf
 A mock of RuntimeRepoIf. More...
 
class  RepositoryIfTestSuite
 
class  RepositoryIfTestSuiteLegacy
 A test suite for performing acceptance tests of a RepositoryIf implementation. More...
 
class  Subscription
 
class  Symlinks
 
class  ThreadSafeQ
 
struct  TypeMap
 
struct  TypeMap< MatrixBuffer< bool, A > >
 
struct  TypeMap< MatrixBuffer< T, A > >
 
struct  TypeMap< RtcString >
 
struct  TypeMap< std::vector< bool, A > >
 
struct  TypeMap< std::vector< T, A > >
 

Typedefs

using Lut = RequestDispatcher<FakeRepository>
 
template<typename T >
using BasicOperation = RepositoryIfTestSuite<T>
 
using TypeSetForBasicOperation
 
using TypeSetAdvancedOperation
 
using OldbCreationResult
 

Functions

 TYPED_TEST_SUITE (BasicOperation, TypeSetForBasicOperation)
 
 TYPED_TEST (BasicOperation, DataPointCreationAndDeletion)
 
 TYPED_TEST (BasicOperation, DataPointWriteAndRead)
 
 TYPED_TEST (BasicOperation, DataPointWriteAndReadConstValue)
 
 TYPED_TEST (BasicOperation, DataPointSetAndGet)
 
 TYPED_TEST (BasicOperation, DataPointTypeQuery)
 
 TYPED_TEST (BasicOperation, DataPointSizeQuery)
 
 TYPED_TEST (BasicOperation, DataPointShapeQuery)
 
 TYPED_TEST (BasicOperation, RequestApiCommonUsage)
 
 TYPED_TEST (BasicOperation, RequestApiCommonUsageConstValue)
 
 TYPED_TEST (BasicOperation, MultiWrite)
 
 TYPED_TEST (BasicOperation, MultiRead)
 
 TYPED_TEST_SUITE (AdvancedOperation, TypeSetAdvancedOperation)
 
 TYPED_TEST (AdvancedOperation, ModifiedDataPointShapeIsDetected)
 
 TYPED_TEST (AdvancedOperation, CreateAndReadLargeData)
 
 TYPED_TEST (AdvancedOperation, ResizeFromSmallToLarge)
 
 TYPED_TEST (AdvancedOperation, ResizeFromLargeToSmall)
 
 TYPED_TEST (AdvancedOperation, ResizeFromOneToEmpty)
 
 TYPED_TEST (AdvancedOperation, ResizeFromLargeToEmpty)
 
 TYPED_TEST (AdvancedOperation, PartialWritePattern)
 
 TYPED_TEST (AdvancedOperation, PartialReadPattern)
 
 TYPED_TEST (AdvancedOperation, SpanAccess)
 
 TYPED_TEST (AdvancedOperation, StdArrayAccess)
 
 TYPED_TEST (AdvancedOperation, CStyleArrayAccess)
 
 TEST_F (Callbacks, CreateDataPointCallback)
 
 TEST_F (Callbacks, DeleteDataPointCallback)
 
 TEST_F (Callbacks, DataPointExistsCallback)
 
 TEST_F (Callbacks, GetChildrenCallback)
 
 TEST_F (Callbacks, WriteDataPointCallback)
 
 TEST_F (Callbacks, ReadDataPointCallback)
 
 TEST_F (Callbacks, PartialWriteDataPointCallback)
 
 TEST_F (Callbacks, PartialReadDataPointCallback)
 
 TEST_F (Callbacks, WriteMetaDataCallback)
 
 TEST_F (Callbacks, ReadMetaDataCallback)
 
 TEST_F (Callbacks, CreateSymlinkCallback)
 
 TEST_F (Callbacks, UpdateSymlinkCallback)
 
 TEST_F (Callbacks, CreateDataPointCallbackMustBeReentrant)
 
 TEST_F (Callbacks, DeleteDataPointCallbackMustBeReentrant)
 
 TEST_F (Callbacks, DataPointExistsCallbackMustBeReentrant)
 
 TEST_F (Callbacks, GetChildrenCallbackMustBeReentrant)
 
 TEST_F (Callbacks, WriteDataPointCallbackMustBeReentrant)
 
 TEST_F (Callbacks, ReadDataPointCallbackMustBeReentrant)
 
 TEST_F (Callbacks, PartialWriteDataPointCallbackMustBeReentrant)
 
 TEST_F (Callbacks, PartialReadDataPointCallbackMustBeReentrant)
 
 TEST_F (Callbacks, WriteMetaDataCallbackMustBeReentrant)
 
 TEST_F (Callbacks, ReadMetaDataCallbackMustBeReentrant)
 
 TEST_F (Callbacks, CreateSymlinkCallbackMustBeReentrant)
 
 TEST_F (Callbacks, UpdateSymlinkCallbackMustBeReentrant)
 
 TEST_F (GetChildren, FromRootDir)
 
 TEST_F (GetChildren, FromTopDir)
 
 TEST_F (GetChildren, FromSubDir1)
 
 TEST_F (GetChildren, FromSubDir2)
 
 TEST_F (GetChildren, NoChildrenForExistingDataPoint)
 
 TEST_F (GetChildren, NoChildrenForNonExistingDataPoint)
 
 TEST_F (GetChildren, RecursiveFromRootDir)
 
 TEST_F (GetChildren, DeleteRecursiveFromRootDir)
 
 TEST_F (GetChildren, DeleteRecursiveFromTopDir)
 
 TEST_F (GetChildren, DeleteRecursiveFromSubDir2)
 
 TEST_F (Metadata, CreateDataPointWithMetadata)
 
 TEST_F (Metadata, WriteDataPointWithMetadata)
 
 TEST_F (Metadata, ReadDataPointWithMetadata)
 
 TEST_F (Metadata, WriteMetadataOnly)
 
 TEST_F (Metadata, TimestampIncrementsOnWrite)
 
 TEST_F (Metadata, SequenceIdIncrementsOnWrite)
 
 TEST_F (Metadata, ReadWithSpecificSequenceId)
 
 TEST_F (Metadata, ReadWithWrongSequenceId)
 
 TEST_F (Metadata, UserMetadata)
 
 TEST_F (Symlinks, BasicPattern)
 
 TEST_F (Symlinks, AdvancedPattern)
 
 TEST_F (Symlinks, LinksCanBeDeletedLikeRegularDataPoints)
 
 TEST_F (Symlinks, DanglingLinksStillExistAsDataPoints)
 
 TEST_F (ExceptionInterface, CreateDataPointThrowsForExistingDataPoint)
 
 TEST_F (ExceptionInterface, DeleteDataPointThrowsForNonExistingDataPoint)
 
 TEST_F (ExceptionInterface, WriteDataPointThrowsIfDataPointDoesNotExist)
 
 TEST_F (ExceptionInterface, WriteDataPointThrowsForIncompatibleDataType)
 
 TEST_F (ExceptionInterface, WriteDataPointThrowsForIncompatibleShape)
 
 TEST_F (ExceptionInterface, ReadDataPointThrowsForIncompatibleDataType)
 
 TEST_F (ExceptionInterface, ReadDataPointThrowsForIncompatibleShape)
 
 TEST_F (ExceptionInterface, ReadDataPointThrowsForTooSmallBuffer)
 
 TEST_F (ExceptionInterface, PartialWriteDataPointThrowsForOutOfBoundsAccess)
 
 TEST_F (ExceptionInterface, PartialReadDataPointThrowsForOutOfBoundsAccess)
 
 TEST_F (ExceptionInterface, SetDataPointThrowsForNonExistingDatapoint)
 
 TEST_F (ExceptionInterface, GetDataPointThrowsForNonExistingDatapoint)
 
 TEST_F (ExceptionInterface, GetDataPointTypeThrowsForNonExistingDatapoint)
 
 TEST_F (ExceptionInterface, GetDataPointSizeThrowsForNonExistingDatapoint)
 
 TEST_F (ExceptionInterface, GetDataPointShapeThrowsForNonExistingDatapoint)
 
 TEST_F (ExceptionInterface, WriteMetaDataThrowsForNonExistingDatapoint)
 
 TEST_F (ExceptionInterface, ExceptionIsThrownDuringCreationWhenUnsupportedMetaDataTypeIsUsed)
 
 TEST_F (ExceptionInterface, ExceptionIsThrownDuringWritingWhenUnsupportedMetaDataTypeIsUsed)
 
 TEST_F (ExceptionInterface, ReadMetaDataThrowsForNonExistingDatapoint)
 
 TEST_F (ExceptionInterface, CreateSymlinkThrowsForNonExistingDatapoint)
 
 TEST_F (ExceptionInterface, CreatingSymlinkToSymlinkThrows)
 
 TEST_F (ExceptionInterface, UpdateSymlinkThrowsForNonExistingSymlink)
 
 TEST_F (ExceptionInterface, UpdateSymlinkThrowsForNonExistingDataPoint)
 
 TEST_F (ExceptionInterface, UpdateSymlinkToSymlinkCycleThrows)
 
 TEST_F (ExceptionInterface, WritingToDanglingSymlinkThrows)
 
 TEST_F (ExceptionInterface, ReadingFromDanglingSymlinkThrows)
 
 TEST_F (ExceptionInterface, MultipleRequestFail)
 
 TEST_F (MassiveParallelAccess, BasicCrudOperations)
 
 TEST_F (MassiveParallelAccess, ParallelReadFromSameDatapointWithSameValue)
 
 TEST_F (MassiveParallelAccess, ParallelWriteToSameDatapointWithSameValue)
 
 TEST_F (MassiveParallelAccess, ParallelInterleavingWritesToSameDatapointWithSameValue)
 
 TEST_F (MassiveParallelAccess, ParallelInterleavingReadsFromSameDatapointWithSameValue)
 
 TYPED_TEST_SUITE_P (RepositoryIfTestSuiteLegacy)
 
 TYPED_TEST_P (RepositoryIfTestSuiteLegacy, DataPointCreationAndDeletion)
 
 TYPED_TEST_P (RepositoryIfTestSuiteLegacy, TypesAreReturnedCorrectly)
 
 TYPED_TEST_P (RepositoryIfTestSuiteLegacy, SizesAreReturnedCorrectly)
 
 TYPED_TEST_P (RepositoryIfTestSuiteLegacy, DataPointWriteAndRead)
 
 TYPED_TEST_P (RepositoryIfTestSuiteLegacy, DataPointExistanceConsistency)
 
 REGISTER_TYPED_TEST_SUITE_P (RepositoryIfTestSuiteLegacy, DataPointCreationAndDeletion, TypesAreReturnedCorrectly, SizesAreReturnedCorrectly, DataPointWriteAndRead, DataPointExistanceConsistency)
 
void Sleep ()
 
 TEST_F (Subscription, ValueSubscription)
 
 TEST_F (Subscription, MultipleSubscriptionsToSameDataPoint)
 
 TEST_F (Subscription, NotifySubscriptionCausesNoDataRace)
 
 TEST_F (Subscription, ValueSubscriptionToSymlink)
 
 TEST_F (Subscription, CreateDeleteSubscription)
 
 TEST_F (Subscription, CreateDeleteSubscriptionToSymlink)
 
 TEST_F (Subscription, SubscribeShouldThrowForNonExistingDataPoint)
 
OldbCreationResult CreateInMemoryOldbWithExtRedis ()
 This function prepares an in-memory OLDB with fake external Redis providers for unit testing.
 
std::shared_ptr< elt::oldb::CiiOldb > CreateInMemoryOldb ()
 This function prepares an in-memory OLDB that is suitable for unit testing.
 
void DeleteAllConfigDataPoints (const std::string &target_config_storage=elt::oldb::CiiOldbGlobal::CONFIG_STORAGE_CACHE)
 Deletes all configuration datapoints in the CII configuration service.
 
 INSTANTIATE_TYPED_TEST_SUITE_P (TestPersistentRepoAdapter, RepositoryIfTestSuiteLegacy, RepositoryTypes, testing::internal::DefaultNameGenerator)
 
void SynchronizeWithBackend (RuntimeRepoAdapter &adapter)
 

Variables

std::chrono::milliseconds g_sleep_duration = std::chrono::milliseconds(0)
 

Typedef Documentation

◆ BasicOperation

◆ Lut

◆ OldbCreationResult

Initial value:
std::tuple<std::shared_ptr<elt::oldb::CiiOldb>,
std::shared_ptr<MockExtRedisBackend>,
std::shared_ptr<MockExtRedisBackend>>

◆ TypeSetAdvancedOperation

Initial value:
::testing::Types<RtcString,
RtcBinary,
RtcMatrix< RtcInt8 > RtcMatrixInt8
Definition repositoryIf.hpp:79
RtcMatrix< RtcInt32 > RtcMatrixInt32
Definition repositoryIf.hpp:81
RtcMatrix< RtcInt64 > RtcMatrixInt64
Definition repositoryIf.hpp:82
RtcMatrix< RtcUInt64 > RtcMatrixUInt64
Definition repositoryIf.hpp:86
RtcVector< RtcUInt32 > RtcVectorUInt32
Definition repositoryIf.hpp:73
RtcMatrix< RtcUInt8 > RtcMatrixUInt8
Definition repositoryIf.hpp:83
RtcMatrix< RtcString > RtcMatrixString
Definition repositoryIf.hpp:89
RtcMatrix< RtcFloat > RtcMatrixFloat
Definition repositoryIf.hpp:87
RtcVector< RtcDouble > RtcVectorDouble
Definition repositoryIf.hpp:76
RtcMatrix< RtcInt16 > RtcMatrixInt16
Definition repositoryIf.hpp:80
RtcMatrix< RtcDouble > RtcMatrixDouble
Definition repositoryIf.hpp:88
RtcVector< RtcUInt16 > RtcVectorUInt16
Definition repositoryIf.hpp:72
RtcVector< RtcInt16 > RtcVectorInt16
Definition repositoryIf.hpp:68
RtcMatrix< RtcBool > RtcMatrixBool
Definition repositoryIf.hpp:78
RtcVector< RtcFloat > RtcVectorFloat
Definition repositoryIf.hpp:75
RtcVector< RtcInt8 > RtcVectorInt8
Definition repositoryIf.hpp:67
RtcVector< RtcBool > RtcVectorBool
Definition repositoryIf.hpp:66
RtcVector< RtcUInt64 > RtcVectorUInt64
Definition repositoryIf.hpp:74
RtcVector< RtcString > RtcVectorString
Definition repositoryIf.hpp:77
RtcVector< RtcInt32 > RtcVectorInt32
Definition repositoryIf.hpp:69
RtcVector< RtcUInt8 > RtcVectorUInt8
Definition repositoryIf.hpp:71
RtcMatrix< RtcUInt16 > RtcMatrixUInt16
Definition repositoryIf.hpp:84
RtcVector< RtcInt64 > RtcVectorInt64
Definition repositoryIf.hpp:70
RtcMatrix< RtcUInt32 > RtcMatrixUInt32
Definition repositoryIf.hpp:85

◆ TypeSetForBasicOperation

Function Documentation

◆ CreateInMemoryOldb()

std::shared_ptr< elt::oldb::CiiOldb > rtctk::componentFramework::test::CreateInMemoryOldb ( )

This function prepares an in-memory OLDB that is suitable for unit testing.

The in-memory OLDB is a fake, but should reproduce most OLDB behaviour as expected by the OldbAdapter and RuntimeRepoAdapter.

Note
You will need to setup metadata for various types before using the returned OLDB instance in most cases. This can be done for the standard types with either the OldbAdapter::InitMetadata() or RuntimeRepoAdapter::InitMetadata() static methods, depending on which adapter will be used afterwords in the test.

◆ CreateInMemoryOldbWithExtRedis()

OldbCreationResult rtctk::componentFramework::test::CreateInMemoryOldbWithExtRedis ( )

This function prepares an in-memory OLDB with fake external Redis providers for unit testing.

The created in-memory OLDB will contain two additional fake external Redis providers that should reproduce most of the OLDB external Redis behaviour as expected by the RuntimeRepoAdapter.

The result of this method will contain two pointers to mock interfaces for the external Redis backend. These can be used to check that the correct external Redis was called. See the following code for example:

RuntimeRepoAdapter repo(elt::mal::Uri("cii.oldb:/rtctktest"), oldb);
EXPECT_CALL(*ext_redis_1, WriteDataPoint("cii.oldb:/rtctktest/datapoint1")).Times(1);
EXPECT_CALL(*ext_redis_2, WriteDataPoint("cii.oldb:/rtctktest/datapoint2")).Times(1);
repo.CreateDataPoint("/datapoint1"_dppath, std::string("test value"), "extRedis1");
repo.CreateDataPoint("/datapoint2"_dppath, static_cast<int32_t>(123), "extRedis2");
Implementation of the Runtime Configuration Repository Adapter.
Definition runtimeRepoAdapter.hpp:30
OldbCreationResult CreateInMemoryOldbWithExtRedis()
This function prepares an in-memory OLDB with fake external Redis providers for unit testing.
Definition inMemoryOldb.cpp:81
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23
Returns
A tuple containing shared pointers to the oldb and mock interfaces representing the two backend external Redis providers, i.e. std::make_tuple(oldb, ext_redis_1, ext_redis_2).
Note
You will need to setup metadata for various types before using the returned OLDB instance in most cases. This can be done for the standard types with either the OldbAdapter::InitMetadata() or RuntimeRepoAdapter::InitMetadata() static methods, depending on which adapter will be used afterwords in the test.

◆ DeleteAllConfigDataPoints()

void rtctk::componentFramework::test::DeleteAllConfigDataPoints ( const std::string & target_config_storage = elt::oldb::CiiOldbGlobal::CONFIG_STORAGE_CACHE)

Deletes all configuration datapoints in the CII configuration service.

The function will recursively go through the entire configuration datapoint hierarchy in the CII configuration service and deletes all datapoints.

Parameters
[in]target_config_storageThe target configuration to clear. By default this is the in-memory "cache" storage.

◆ INSTANTIATE_TYPED_TEST_SUITE_P()

rtctk::componentFramework::test::INSTANTIATE_TYPED_TEST_SUITE_P ( TestPersistentRepoAdapter ,
RepositoryIfTestSuiteLegacy ,
RepositoryTypes ,
testing::internal::DefaultNameGenerator  )

◆ REGISTER_TYPED_TEST_SUITE_P()

◆ Sleep()

void rtctk::componentFramework::test::Sleep ( )

◆ SynchronizeWithBackend()

void rtctk::componentFramework::test::SynchronizeWithBackend ( RuntimeRepoAdapter & adapter)

◆ TEST_F() [1/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
CreateDataPointCallback  )

◆ TEST_F() [2/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
CreateDataPointCallbackMustBeReentrant  )

◆ TEST_F() [3/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
CreateSymlinkCallback  )

◆ TEST_F() [4/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
CreateSymlinkCallbackMustBeReentrant  )

◆ TEST_F() [5/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
DataPointExistsCallback  )

◆ TEST_F() [6/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
DataPointExistsCallbackMustBeReentrant  )

◆ TEST_F() [7/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
DeleteDataPointCallback  )

◆ TEST_F() [8/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
DeleteDataPointCallbackMustBeReentrant  )

◆ TEST_F() [9/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
GetChildrenCallback  )

◆ TEST_F() [10/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
GetChildrenCallbackMustBeReentrant  )

◆ TEST_F() [11/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
PartialReadDataPointCallback  )

◆ TEST_F() [12/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
PartialReadDataPointCallbackMustBeReentrant  )

◆ TEST_F() [13/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
PartialWriteDataPointCallback  )

◆ TEST_F() [14/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
PartialWriteDataPointCallbackMustBeReentrant  )

◆ TEST_F() [15/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
ReadDataPointCallback  )

◆ TEST_F() [16/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
ReadDataPointCallbackMustBeReentrant  )

◆ TEST_F() [17/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
ReadMetaDataCallback  )

◆ TEST_F() [18/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
ReadMetaDataCallbackMustBeReentrant  )

◆ TEST_F() [19/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
UpdateSymlinkCallback  )

◆ TEST_F() [20/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
UpdateSymlinkCallbackMustBeReentrant  )

◆ TEST_F() [21/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
WriteDataPointCallback  )

◆ TEST_F() [22/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
WriteDataPointCallbackMustBeReentrant  )

◆ TEST_F() [23/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
WriteMetaDataCallback  )

◆ TEST_F() [24/86]

rtctk::componentFramework::test::TEST_F ( Callbacks ,
WriteMetaDataCallbackMustBeReentrant  )

◆ TEST_F() [25/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
CreateDataPointThrowsForExistingDataPoint  )

◆ TEST_F() [26/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
CreateSymlinkThrowsForNonExistingDatapoint  )

◆ TEST_F() [27/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
CreatingSymlinkToSymlinkThrows  )

◆ TEST_F() [28/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
DeleteDataPointThrowsForNonExistingDataPoint  )

◆ TEST_F() [29/86]

◆ TEST_F() [30/86]

◆ TEST_F() [31/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
GetDataPointShapeThrowsForNonExistingDatapoint  )

◆ TEST_F() [32/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
GetDataPointSizeThrowsForNonExistingDatapoint  )

◆ TEST_F() [33/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
GetDataPointThrowsForNonExistingDatapoint  )

◆ TEST_F() [34/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
GetDataPointTypeThrowsForNonExistingDatapoint  )

◆ TEST_F() [35/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
MultipleRequestFail  )

◆ TEST_F() [36/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
PartialReadDataPointThrowsForOutOfBoundsAccess  )

◆ TEST_F() [37/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
PartialWriteDataPointThrowsForOutOfBoundsAccess  )

◆ TEST_F() [38/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
ReadDataPointThrowsForIncompatibleDataType  )

◆ TEST_F() [39/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
ReadDataPointThrowsForIncompatibleShape  )

◆ TEST_F() [40/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
ReadDataPointThrowsForTooSmallBuffer  )

◆ TEST_F() [41/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
ReadingFromDanglingSymlinkThrows  )

◆ TEST_F() [42/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
ReadMetaDataThrowsForNonExistingDatapoint  )

◆ TEST_F() [43/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
SetDataPointThrowsForNonExistingDatapoint  )

◆ TEST_F() [44/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
UpdateSymlinkThrowsForNonExistingDataPoint  )

◆ TEST_F() [45/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
UpdateSymlinkThrowsForNonExistingSymlink  )

◆ TEST_F() [46/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
UpdateSymlinkToSymlinkCycleThrows  )

◆ TEST_F() [47/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
WriteDataPointThrowsForIncompatibleDataType  )

◆ TEST_F() [48/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
WriteDataPointThrowsForIncompatibleShape  )

◆ TEST_F() [49/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
WriteDataPointThrowsIfDataPointDoesNotExist  )

◆ TEST_F() [50/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
WriteMetaDataThrowsForNonExistingDatapoint  )

◆ TEST_F() [51/86]

rtctk::componentFramework::test::TEST_F ( ExceptionInterface ,
WritingToDanglingSymlinkThrows  )

◆ TEST_F() [52/86]

rtctk::componentFramework::test::TEST_F ( GetChildren ,
DeleteRecursiveFromRootDir  )

◆ TEST_F() [53/86]

rtctk::componentFramework::test::TEST_F ( GetChildren ,
DeleteRecursiveFromSubDir2  )

◆ TEST_F() [54/86]

rtctk::componentFramework::test::TEST_F ( GetChildren ,
DeleteRecursiveFromTopDir  )

◆ TEST_F() [55/86]

rtctk::componentFramework::test::TEST_F ( GetChildren ,
FromRootDir  )

◆ TEST_F() [56/86]

rtctk::componentFramework::test::TEST_F ( GetChildren ,
FromSubDir1  )

◆ TEST_F() [57/86]

rtctk::componentFramework::test::TEST_F ( GetChildren ,
FromSubDir2  )

◆ TEST_F() [58/86]

rtctk::componentFramework::test::TEST_F ( GetChildren ,
FromTopDir  )

◆ TEST_F() [59/86]

rtctk::componentFramework::test::TEST_F ( GetChildren ,
NoChildrenForExistingDataPoint  )

◆ TEST_F() [60/86]

rtctk::componentFramework::test::TEST_F ( GetChildren ,
NoChildrenForNonExistingDataPoint  )

◆ TEST_F() [61/86]

rtctk::componentFramework::test::TEST_F ( GetChildren ,
RecursiveFromRootDir  )

◆ TEST_F() [62/86]

rtctk::componentFramework::test::TEST_F ( MassiveParallelAccess ,
BasicCrudOperations  )

◆ TEST_F() [63/86]

rtctk::componentFramework::test::TEST_F ( MassiveParallelAccess ,
ParallelInterleavingReadsFromSameDatapointWithSameValue  )

◆ TEST_F() [64/86]

rtctk::componentFramework::test::TEST_F ( MassiveParallelAccess ,
ParallelInterleavingWritesToSameDatapointWithSameValue  )

◆ TEST_F() [65/86]

rtctk::componentFramework::test::TEST_F ( MassiveParallelAccess ,
ParallelReadFromSameDatapointWithSameValue  )

◆ TEST_F() [66/86]

rtctk::componentFramework::test::TEST_F ( MassiveParallelAccess ,
ParallelWriteToSameDatapointWithSameValue  )

◆ TEST_F() [67/86]

rtctk::componentFramework::test::TEST_F ( Metadata ,
CreateDataPointWithMetadata  )

◆ TEST_F() [68/86]

rtctk::componentFramework::test::TEST_F ( Metadata ,
ReadDataPointWithMetadata  )

◆ TEST_F() [69/86]

rtctk::componentFramework::test::TEST_F ( Metadata ,
ReadWithSpecificSequenceId  )

◆ TEST_F() [70/86]

rtctk::componentFramework::test::TEST_F ( Metadata ,
ReadWithWrongSequenceId  )

◆ TEST_F() [71/86]

rtctk::componentFramework::test::TEST_F ( Metadata ,
SequenceIdIncrementsOnWrite  )

◆ TEST_F() [72/86]

rtctk::componentFramework::test::TEST_F ( Metadata ,
TimestampIncrementsOnWrite  )

◆ TEST_F() [73/86]

rtctk::componentFramework::test::TEST_F ( Metadata ,
UserMetadata  )

◆ TEST_F() [74/86]

rtctk::componentFramework::test::TEST_F ( Metadata ,
WriteDataPointWithMetadata  )

◆ TEST_F() [75/86]

rtctk::componentFramework::test::TEST_F ( Metadata ,
WriteMetadataOnly  )

◆ TEST_F() [76/86]

rtctk::componentFramework::test::TEST_F ( Subscription ,
CreateDeleteSubscription  )

◆ TEST_F() [77/86]

rtctk::componentFramework::test::TEST_F ( Subscription ,
CreateDeleteSubscriptionToSymlink  )

◆ TEST_F() [78/86]

rtctk::componentFramework::test::TEST_F ( Subscription ,
MultipleSubscriptionsToSameDataPoint  )

◆ TEST_F() [79/86]

rtctk::componentFramework::test::TEST_F ( Subscription ,
NotifySubscriptionCausesNoDataRace  )

◆ TEST_F() [80/86]

rtctk::componentFramework::test::TEST_F ( Subscription ,
SubscribeShouldThrowForNonExistingDataPoint  )

◆ TEST_F() [81/86]

rtctk::componentFramework::test::TEST_F ( Subscription ,
ValueSubscription  )

◆ TEST_F() [82/86]

rtctk::componentFramework::test::TEST_F ( Subscription ,
ValueSubscriptionToSymlink  )

◆ TEST_F() [83/86]

rtctk::componentFramework::test::TEST_F ( Symlinks ,
AdvancedPattern  )

◆ TEST_F() [84/86]

rtctk::componentFramework::test::TEST_F ( Symlinks ,
BasicPattern  )

◆ TEST_F() [85/86]

rtctk::componentFramework::test::TEST_F ( Symlinks ,
DanglingLinksStillExistAsDataPoints  )

◆ TEST_F() [86/86]

rtctk::componentFramework::test::TEST_F ( Symlinks ,
LinksCanBeDeletedLikeRegularDataPoints  )

◆ TYPED_TEST() [1/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
CreateAndReadLargeData  )

◆ TYPED_TEST() [2/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
CStyleArrayAccess  )

◆ TYPED_TEST() [3/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
ModifiedDataPointShapeIsDetected  )

◆ TYPED_TEST() [4/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
PartialReadPattern  )

◆ TYPED_TEST() [5/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
PartialWritePattern  )

◆ TYPED_TEST() [6/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
ResizeFromLargeToEmpty  )

◆ TYPED_TEST() [7/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
ResizeFromLargeToSmall  )

◆ TYPED_TEST() [8/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
ResizeFromOneToEmpty  )

◆ TYPED_TEST() [9/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
ResizeFromSmallToLarge  )

◆ TYPED_TEST() [10/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
SpanAccess  )

◆ TYPED_TEST() [11/22]

rtctk::componentFramework::test::TYPED_TEST ( AdvancedOperation ,
StdArrayAccess  )

◆ TYPED_TEST() [12/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
DataPointCreationAndDeletion  )

◆ TYPED_TEST() [13/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
DataPointSetAndGet  )

◆ TYPED_TEST() [14/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
DataPointShapeQuery  )

◆ TYPED_TEST() [15/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
DataPointSizeQuery  )

◆ TYPED_TEST() [16/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
DataPointTypeQuery  )

◆ TYPED_TEST() [17/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
DataPointWriteAndRead  )

◆ TYPED_TEST() [18/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
DataPointWriteAndReadConstValue  )

◆ TYPED_TEST() [19/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
MultiRead  )

◆ TYPED_TEST() [20/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
MultiWrite  )

◆ TYPED_TEST() [21/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
RequestApiCommonUsage  )

◆ TYPED_TEST() [22/22]

rtctk::componentFramework::test::TYPED_TEST ( BasicOperation ,
RequestApiCommonUsageConstValue  )

◆ TYPED_TEST_P() [1/5]

rtctk::componentFramework::test::TYPED_TEST_P ( RepositoryIfTestSuiteLegacy ,
DataPointCreationAndDeletion  )

◆ TYPED_TEST_P() [2/5]

rtctk::componentFramework::test::TYPED_TEST_P ( RepositoryIfTestSuiteLegacy ,
DataPointExistanceConsistency  )

◆ TYPED_TEST_P() [3/5]

rtctk::componentFramework::test::TYPED_TEST_P ( RepositoryIfTestSuiteLegacy ,
DataPointWriteAndRead  )

◆ TYPED_TEST_P() [4/5]

rtctk::componentFramework::test::TYPED_TEST_P ( RepositoryIfTestSuiteLegacy ,
SizesAreReturnedCorrectly  )

◆ TYPED_TEST_P() [5/5]

rtctk::componentFramework::test::TYPED_TEST_P ( RepositoryIfTestSuiteLegacy ,
TypesAreReturnedCorrectly  )

◆ TYPED_TEST_SUITE() [1/2]

rtctk::componentFramework::test::TYPED_TEST_SUITE ( AdvancedOperation ,
TypeSetAdvancedOperation  )

◆ TYPED_TEST_SUITE() [2/2]

rtctk::componentFramework::test::TYPED_TEST_SUITE ( BasicOperation ,
TypeSetForBasicOperation  )

◆ TYPED_TEST_SUITE_P()

rtctk::componentFramework::test::TYPED_TEST_SUITE_P ( RepositoryIfTestSuiteLegacy )

Variable Documentation

◆ g_sleep_duration

std::chrono::milliseconds rtctk::componentFramework::test::g_sleep_duration = std::chrono::milliseconds(0)