mavtables
0.2.1
MAVLink router and firewall.
|
#include <ctime>
#include <iomanip>
#include <sstream>
#include <catch.hpp>
#include "Logger.hpp"
#include "utility.hpp"
#include "common.hpp"
Go to the source code of this file.
Functions | |
TEST_CASE ("The Logger level can be set and retrieved with the static 'level' " "method", "[Logger]") | |
TEST_CASE ("The Logger can log to stdout with the static 'log' method if the " " logger's level is the same or higher than the loglevel of the " "message.", "[Logger]") | |
TEST_CASE ("All logged messages have a timestamp (this can sometimes fail if " "the clock ticks over a second during the test).", "[Logger]") | |
TEST_CASE | ( | "The Logger level can be set and retrieved with the static 'level' " "method" | , |
"" | [Logger] | ||
) |
Definition at line 30 of file test_Logger.cpp.
TEST_CASE | ( | "The Logger can log to stdout with the static 'log' method if the " " logger's level is the same or higher than the loglevel of the " "message." | , |
"" | [Logger] | ||
) |
Definition at line 45 of file test_Logger.cpp.
TEST_CASE | ( | "All logged messages have a timestamp (this can sometimes fail if " "the clock ticks over a second during the test)." | , |
"" | [Logger] | ||
) |
Definition at line 99 of file test_Logger.cpp.
References Logger::level(), and Logger::log().