|
ifw-ccf 5.0.2
|
#include <iostream>#include <gtest/gtest.h>#include <ifw/core/utils/system/system.hpp>#include <ifw/core/utils//conversion/conversion.hpp>#include <ifw/ccf/mptk/manager.hpp>#include <testManagerHelper.cpp>Functions | |
| TEST (Manager, Test1) | |
| Test communication using ifw::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. | |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv ) |
| TEST | ( | Manager | , |
| Test1 | ) |
Test communication using ifw::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.