RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Classes | Functions
main.cpp File Reference

Test program for OldbAdapterLegacy integration tests. More...

#include <chrono>
#include <thread>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "rtctk/componentFramework/oldbAdapterLegacy.hpp"

Classes

struct  TestOldbAdapterBase
 
struct  TestOldbAdapter
 
struct  TestOldbAdapterHierarchy
 

Functions

 TEST (TestOldbAdapterBasic, SimpleCreation)
 
 TEST_F (TestOldbAdapter, DataPointCreationAndDeletion)
 
 TEST_F (TestOldbAdapter, TypesAreReturnedCorrectly)
 
 TEST_F (TestOldbAdapter, DataPointWriteAndRead)
 
 TEST_F (TestOldbAdapter, SizesAreReturnedCorrectly)
 
void OnNewValueInt32 (const DataPointPath &path, int32_t &buffer)
 
void OnNewValueDouble (const DataPointPath &path, double &buffer)
 
void OnNewValueString (const DataPointPath &path, std::string &buffer)
 
template<typename T , typename U >
void CheckValueSubscription (T &adapter, const DataPointPath &path, U first_val, U sec_val)
 
 TEST_F (TestOldbAdapter, ValueSubscription)
 
template<typename T , typename U >
void CheckNotifySubscription (T &adapter, const DataPointPath &path, U first_val, U sec_val)
 
 TEST_F (TestOldbAdapter, NotifySubscription)
 
 TEST_F (TestOldbAdapterHierarchy, QueryingFolderHierarchyRootdir)
 
 TEST_F (TestOldbAdapterHierarchy, QueryingFolderHierarchyTopdir)
 
 TEST_F (TestOldbAdapterHierarchy, QueryingFolderHierarchySubdir1)
 
 TEST_F (TestOldbAdapterHierarchy, QueryingFolderHierarchySubdir2)
 
 TEST_F (TestOldbAdapterHierarchy, QueryingFolderHierarchyDatapoint)
 
int main (int argc, char **argv)
 

Detailed Description

Test program for OldbAdapterLegacy integration tests.

Function Documentation

◆ CheckNotifySubscription()

template<typename T , typename U >
void CheckNotifySubscription ( T & adapter,
const DataPointPath & path,
U first_val,
U sec_val )

◆ CheckValueSubscription()

template<typename T , typename U >
void CheckValueSubscription ( T & adapter,
const DataPointPath & path,
U first_val,
U sec_val )

◆ main()

int main ( int argc,
char ** argv )

◆ OnNewValueDouble()

void OnNewValueDouble ( const DataPointPath & path,
double & buffer )

◆ OnNewValueInt32()

void OnNewValueInt32 ( const DataPointPath & path,
int32_t & buffer )

◆ OnNewValueString()

void OnNewValueString ( const DataPointPath & path,
std::string & buffer )

◆ TEST()

TEST ( TestOldbAdapterBasic ,
SimpleCreation  )

◆ TEST_F() [1/11]

TEST_F ( TestOldbAdapter ,
DataPointCreationAndDeletion  )

◆ TEST_F() [2/11]

TEST_F ( TestOldbAdapter ,
DataPointWriteAndRead  )

◆ TEST_F() [3/11]

TEST_F ( TestOldbAdapter ,
NotifySubscription  )

◆ TEST_F() [4/11]

TEST_F ( TestOldbAdapter ,
SizesAreReturnedCorrectly  )

◆ TEST_F() [5/11]

TEST_F ( TestOldbAdapter ,
TypesAreReturnedCorrectly  )

◆ TEST_F() [6/11]

TEST_F ( TestOldbAdapter ,
ValueSubscription  )

◆ TEST_F() [7/11]

TEST_F ( TestOldbAdapterHierarchy ,
QueryingFolderHierarchyDatapoint  )

◆ TEST_F() [8/11]

TEST_F ( TestOldbAdapterHierarchy ,
QueryingFolderHierarchyRootdir  )

◆ TEST_F() [9/11]

TEST_F ( TestOldbAdapterHierarchy ,
QueryingFolderHierarchySubdir1  )

◆ TEST_F() [10/11]

TEST_F ( TestOldbAdapterHierarchy ,
QueryingFolderHierarchySubdir2  )

◆ TEST_F() [11/11]

TEST_F ( TestOldbAdapterHierarchy ,
QueryingFolderHierarchyTopdir  )