#include "iox2/bb/detail/attributes.hpp"
#include "iox2/legacy/log/building_blocks/logformat.hpp"
#include "iox2/legacy/log/logger.hpp"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <functional>
#include <iostream>
#include <mutex>
#include <csignal>
#include <cstdio>
#include <cstring>
#include <setjmp.h>
Go to the source code of this file.
|
| class | iox2::bb::testing::LogPrinter |
| | This class hooks into gTest to automatically clear the log messages on the start of a test an print the cached log messages from failed tests. More...
|
| |
| class | iox2::bb::testing::TestingLogger |
| | This logger is used for tests. It caches all the log messages and prints them to the console when a test fails. For debug purposes this behaviour can be overwritten with the 'IOX2_TESTING_ALLOW_LOG' environment variable, e.g. 'IOX2_TESTING_ALLOW_LOG=ON ./hoofs_moduletests –gtest_filter=SharedMemoryObject_Test*'. Furthermore, it can also be used to check for the occurrence on specific log messages, e.g. when a function is expected to log an error. More...
|
| |