|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Test for event-driven communication system. More...
#include <gtest/gtest.h>#include <kcenon/monitoring/adapters/logger_adapters.h>#include <kcenon/monitoring/adapters/thread_adapters.h>#include <kcenon/monitoring/core/event_bus.h>#include <kcenon/monitoring/core/event_types.h>#include <atomic>#include <chrono>#include <condition_variable>#include <thread>
Go to the source code of this file.
Classes | |
| class | EventBusTest |
Functions | |
| TEST_F (EventBusTest, PublishSubscribe) | |
| TEST_F (EventBusTest, MultipleSubscribers) | |
| TEST_F (EventBusTest, EventPriority) | |
| TEST_F (EventBusTest, Unsubscribe) | |
| TEST_F (EventBusTest, ThreadSystemAdapter) | |
| TEST_F (EventBusTest, LoggerSystemAdapter) | |
| TEST_F (EventBusTest, Statistics) | |
| TEST_F (EventBusTest, ConcurrentPublishing) | |
Test for event-driven communication system.
Definition in file test_event_bus.cpp.
| TEST_F | ( | EventBusTest | , |
| ConcurrentPublishing | ) |
Definition at line 313 of file test_event_bus.cpp.
| TEST_F | ( | EventBusTest | , |
| EventPriority | ) |
Definition at line 135 of file test_event_bus.cpp.
| TEST_F | ( | EventBusTest | , |
| LoggerSystemAdapter | ) |
Definition at line 265 of file test_event_bus.cpp.
References kcenon::monitoring::logger_to_monitoring_adapter::collect_metrics(), kcenon::monitoring::logger_to_monitoring_adapter::get_current_log_rate(), kcenon::monitoring::logger_to_monitoring_adapter::is_logger_system_available(), and kcenon::monitoring::logger_to_monitoring_adapter::register_logger().

| TEST_F | ( | EventBusTest | , |
| MultipleSubscribers | ) |
Definition at line 89 of file test_event_bus.cpp.
References kcenon::monitoring::system_resource_event::resource_stats::cpu_usage_percent.
| TEST_F | ( | EventBusTest | , |
| PublishSubscribe | ) |
Definition at line 45 of file test_event_bus.cpp.
| TEST_F | ( | EventBusTest | , |
| Statistics | ) |
Definition at line 284 of file test_event_bus.cpp.
| TEST_F | ( | EventBusTest | , |
| ThreadSystemAdapter | ) |
Definition at line 236 of file test_event_bus.cpp.
References kcenon::monitoring::thread_to_monitoring_adapter::collect_metrics(), kcenon::monitoring::thread_to_monitoring_adapter::get_metric_types(), and kcenon::monitoring::thread_to_monitoring_adapter::is_thread_system_available().

| TEST_F | ( | EventBusTest | , |
| Unsubscribe | ) |
Definition at line 195 of file test_event_bus.cpp.