|
RTC Toolkit 5.1.0
|
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 |
Variables | |
| std::chrono::milliseconds | g_sleep_duration = std::chrono::milliseconds(0) |
| using rtctk::componentFramework::test::BasicOperation = RepositoryIfTestSuite<T> |
| typedef RequestDispatcher< FakeRepositorySubscriber > rtctk::componentFramework::test::Lut = RequestDispatcher<FakeRepository> |
| 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.
| 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:
std::make_tuple(oldb, ext_redis_1, ext_redis_2).| 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.
| [in] | target_config_storage | The target configuration to clear. By default this is the in-memory "cache" storage. |
| rtctk::componentFramework::test::INSTANTIATE_TYPED_TEST_SUITE_P | ( | TestPersistentRepoAdapter | , |
| RepositoryIfTestSuiteLegacy | , | ||
| RepositoryTypes | , | ||
| testing::internal::DefaultNameGenerator | ) |
| rtctk::componentFramework::test::REGISTER_TYPED_TEST_SUITE_P | ( | RepositoryIfTestSuiteLegacy | , |
| DataPointCreationAndDeletion | , | ||
| TypesAreReturnedCorrectly | , | ||
| SizesAreReturnedCorrectly | , | ||
| DataPointWriteAndRead | , | ||
| DataPointExistanceConsistency | ) |
| void rtctk::componentFramework::test::Sleep | ( | ) |
| void rtctk::componentFramework::test::SynchronizeWithBackend | ( | RuntimeRepoAdapter & | adapter | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| CreateDataPointCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| CreateDataPointCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| CreateSymlinkCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| CreateSymlinkCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| DataPointExistsCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| DataPointExistsCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| DeleteDataPointCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| DeleteDataPointCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| GetChildrenCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| GetChildrenCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| PartialReadDataPointCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| PartialReadDataPointCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| PartialWriteDataPointCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| PartialWriteDataPointCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| ReadDataPointCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| ReadDataPointCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| ReadMetaDataCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| ReadMetaDataCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| UpdateSymlinkCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| UpdateSymlinkCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| WriteDataPointCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| WriteDataPointCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| WriteMetaDataCallback | ) |
| rtctk::componentFramework::test::TEST_F | ( | Callbacks | , |
| WriteMetaDataCallbackMustBeReentrant | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| CreateDataPointThrowsForExistingDataPoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| CreateSymlinkThrowsForNonExistingDatapoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| CreatingSymlinkToSymlinkThrows | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| DeleteDataPointThrowsForNonExistingDataPoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| ExceptionIsThrownDuringCreationWhenUnsupportedMetaDataTypeIsUsed | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| ExceptionIsThrownDuringWritingWhenUnsupportedMetaDataTypeIsUsed | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| GetDataPointShapeThrowsForNonExistingDatapoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| GetDataPointSizeThrowsForNonExistingDatapoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| GetDataPointThrowsForNonExistingDatapoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| GetDataPointTypeThrowsForNonExistingDatapoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| MultipleRequestFail | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| PartialReadDataPointThrowsForOutOfBoundsAccess | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| PartialWriteDataPointThrowsForOutOfBoundsAccess | ) |
| 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 | , |
| ReadingFromDanglingSymlinkThrows | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| ReadMetaDataThrowsForNonExistingDatapoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| SetDataPointThrowsForNonExistingDatapoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| UpdateSymlinkThrowsForNonExistingDataPoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| UpdateSymlinkThrowsForNonExistingSymlink | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| UpdateSymlinkToSymlinkCycleThrows | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| WriteDataPointThrowsForIncompatibleDataType | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| WriteDataPointThrowsForIncompatibleShape | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| WriteDataPointThrowsIfDataPointDoesNotExist | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| WriteMetaDataThrowsForNonExistingDatapoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | ExceptionInterface | , |
| WritingToDanglingSymlinkThrows | ) |
| rtctk::componentFramework::test::TEST_F | ( | GetChildren | , |
| DeleteRecursiveFromRootDir | ) |
| rtctk::componentFramework::test::TEST_F | ( | GetChildren | , |
| DeleteRecursiveFromSubDir2 | ) |
| rtctk::componentFramework::test::TEST_F | ( | GetChildren | , |
| DeleteRecursiveFromTopDir | ) |
| rtctk::componentFramework::test::TEST_F | ( | GetChildren | , |
| FromRootDir | ) |
| rtctk::componentFramework::test::TEST_F | ( | GetChildren | , |
| FromSubDir1 | ) |
| rtctk::componentFramework::test::TEST_F | ( | GetChildren | , |
| FromSubDir2 | ) |
| rtctk::componentFramework::test::TEST_F | ( | GetChildren | , |
| FromTopDir | ) |
| 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 | ( | MassiveParallelAccess | , |
| BasicCrudOperations | ) |
| rtctk::componentFramework::test::TEST_F | ( | MassiveParallelAccess | , |
| ParallelInterleavingReadsFromSameDatapointWithSameValue | ) |
| rtctk::componentFramework::test::TEST_F | ( | MassiveParallelAccess | , |
| ParallelInterleavingWritesToSameDatapointWithSameValue | ) |
| rtctk::componentFramework::test::TEST_F | ( | MassiveParallelAccess | , |
| ParallelReadFromSameDatapointWithSameValue | ) |
| rtctk::componentFramework::test::TEST_F | ( | MassiveParallelAccess | , |
| ParallelWriteToSameDatapointWithSameValue | ) |
| rtctk::componentFramework::test::TEST_F | ( | Metadata | , |
| CreateDataPointWithMetadata | ) |
| rtctk::componentFramework::test::TEST_F | ( | Metadata | , |
| ReadDataPointWithMetadata | ) |
| rtctk::componentFramework::test::TEST_F | ( | Metadata | , |
| ReadWithSpecificSequenceId | ) |
| rtctk::componentFramework::test::TEST_F | ( | Metadata | , |
| ReadWithWrongSequenceId | ) |
| rtctk::componentFramework::test::TEST_F | ( | Metadata | , |
| SequenceIdIncrementsOnWrite | ) |
| rtctk::componentFramework::test::TEST_F | ( | Metadata | , |
| TimestampIncrementsOnWrite | ) |
| rtctk::componentFramework::test::TEST_F | ( | Metadata | , |
| UserMetadata | ) |
| rtctk::componentFramework::test::TEST_F | ( | Metadata | , |
| WriteDataPointWithMetadata | ) |
| rtctk::componentFramework::test::TEST_F | ( | Metadata | , |
| WriteMetadataOnly | ) |
| rtctk::componentFramework::test::TEST_F | ( | Subscription | , |
| CreateDeleteSubscription | ) |
| rtctk::componentFramework::test::TEST_F | ( | Subscription | , |
| CreateDeleteSubscriptionToSymlink | ) |
| rtctk::componentFramework::test::TEST_F | ( | Subscription | , |
| MultipleSubscriptionsToSameDataPoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | Subscription | , |
| NotifySubscriptionCausesNoDataRace | ) |
| rtctk::componentFramework::test::TEST_F | ( | Subscription | , |
| SubscribeShouldThrowForNonExistingDataPoint | ) |
| rtctk::componentFramework::test::TEST_F | ( | Subscription | , |
| ValueSubscription | ) |
| rtctk::componentFramework::test::TEST_F | ( | Subscription | , |
| ValueSubscriptionToSymlink | ) |
| rtctk::componentFramework::test::TEST_F | ( | Symlinks | , |
| AdvancedPattern | ) |
| rtctk::componentFramework::test::TEST_F | ( | Symlinks | , |
| BasicPattern | ) |
| rtctk::componentFramework::test::TEST_F | ( | Symlinks | , |
| DanglingLinksStillExistAsDataPoints | ) |
| rtctk::componentFramework::test::TEST_F | ( | Symlinks | , |
| LinksCanBeDeletedLikeRegularDataPoints | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| CreateAndReadLargeData | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| CStyleArrayAccess | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| ModifiedDataPointShapeIsDetected | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| PartialReadPattern | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| PartialWritePattern | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| ResizeFromLargeToEmpty | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| ResizeFromLargeToSmall | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| ResizeFromOneToEmpty | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| ResizeFromSmallToLarge | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| SpanAccess | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | AdvancedOperation | , |
| StdArrayAccess | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| DataPointCreationAndDeletion | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| DataPointSetAndGet | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| DataPointShapeQuery | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| DataPointSizeQuery | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| DataPointTypeQuery | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| DataPointWriteAndRead | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| DataPointWriteAndReadConstValue | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| MultiRead | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| MultiWrite | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| RequestApiCommonUsage | ) |
| rtctk::componentFramework::test::TYPED_TEST | ( | BasicOperation | , |
| RequestApiCommonUsageConstValue | ) |
| rtctk::componentFramework::test::TYPED_TEST_P | ( | RepositoryIfTestSuiteLegacy | , |
| DataPointCreationAndDeletion | ) |
| rtctk::componentFramework::test::TYPED_TEST_P | ( | RepositoryIfTestSuiteLegacy | , |
| DataPointExistanceConsistency | ) |
| rtctk::componentFramework::test::TYPED_TEST_P | ( | RepositoryIfTestSuiteLegacy | , |
| DataPointWriteAndRead | ) |
| rtctk::componentFramework::test::TYPED_TEST_P | ( | RepositoryIfTestSuiteLegacy | , |
| SizesAreReturnedCorrectly | ) |
| rtctk::componentFramework::test::TYPED_TEST_P | ( | RepositoryIfTestSuiteLegacy | , |
| TypesAreReturnedCorrectly | ) |
| rtctk::componentFramework::test::TYPED_TEST_SUITE | ( | AdvancedOperation | , |
| TypeSetAdvancedOperation | ) |
| rtctk::componentFramework::test::TYPED_TEST_SUITE | ( | BasicOperation | , |
| TypeSetForBasicOperation | ) |
| rtctk::componentFramework::test::TYPED_TEST_SUITE_P | ( | RepositoryIfTestSuiteLegacy | ) |
| std::chrono::milliseconds rtctk::componentFramework::test::g_sleep_duration = std::chrono::milliseconds(0) |