ifw-ccf  2.0.0
Functions
testManager.cpp File Reference
#include <iostream>
#include <gtest/gtest.h>
#include <core/utils/system/system.hpp>
#include <core/utils//conversion/conversion.hpp>
#include <ccf/mptk/manager.hpp>
#include <testManagerHelper.cpp>

Functions

 TEST (Manager, Test1)
 Test communication using ccf::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()

TEST ( Manager  ,
Test1   
)

Test communication using ccf::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.