#include <aws_ros1_common/sdk_utils/logging/aws_ros_logger.h>
#include <gtest/gtest.h>
#include <ros/callback_queue.h>
#include <ros/ros.h>
#include <rosgraph_msgs/Log.h>
#include <unistd.h>
#include <iostream>
Go to the source code of this file.
Typedefs | |
typedef std::shared_ptr< AWSLogSystem > | aws_logger_t |
Functions | |
void | CreateTestLog (aws_logger_t logger, const char *tag, const char *message, Aws::Utils::Logging::LogLevel log_level) |
int | main (int argc, char **argv) |
void | RosoutLoggerCallback (const rosgraph_msgs::Log &published_log) |
TEST (AWSROSLoggerTest, TestLogMethod) | |
Variables | |
std::atomic< int > | message_count |
typedef std::shared_ptr<AWSLogSystem> aws_logger_t |
Definition at line 33 of file aws_ros_logger_test.cpp.
void CreateTestLog | ( | aws_logger_t | logger, |
const char * | tag, | ||
const char * | message, | ||
Aws::Utils::Logging::LogLevel | log_level | ||
) |
Definition at line 37 of file aws_ros_logger_test.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 67 of file aws_ros_logger_test.cpp.
void RosoutLoggerCallback | ( | const rosgraph_msgs::Log & | published_log | ) |
Definition at line 54 of file aws_ros_logger_test.cpp.
TEST | ( | AWSROSLoggerTest | , |
TestLogMethod | |||
) |
Definition at line 44 of file aws_ros_logger_test.cpp.
std::atomic<int> message_count |
Definition at line 35 of file aws_ros_logger_test.cpp.