ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
testManager.cpp File Reference
#include <iostream>
#include "gtest/gtest.h"
#include "ctd/system/system.hpp"
#include "ctd/conversion/conversion.hpp"
#include "ctd/mptk/Manager.hpp"
#include "testManagerHelper.cpp"

Functions

 TEST (Manager, Test1)
 Test communication using ctd::mptk::Manager between multiple (5) threads. Test execution: Repeat N times: Main Thread sends message to Thread A, which add a confirmation in the message, passes it on to Thread B, etc. The last Thread D, sends back the final message to the Main Thread: MainThread -> ThreadA -> ThreadB -> ThreadC -> ThreadD -> MainThread. During this test, no acknowledgement for each Thread Message is expected. More...
 

Function Documentation

TEST ( Manager  ,
Test1   
)

Test communication using ctd::mptk::Manager between multiple (5) threads. Test execution: Repeat N times: Main Thread sends message to Thread A, which add a confirmation in the message, passes it on to Thread B, etc. The last Thread D, sends back the final message to the Main Thread: MainThread -> ThreadA -> ThreadB -> ThreadC -> ThreadD -> MainThread. During this test, no acknowledgement for each Thread Message is expected.