icinga2/test/base-stacktrace.cpp

19 lines
338 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2013-09-02 10:52:39 +02:00
2014-05-25 16:23:35 +02:00
#include "base/stacktrace.hpp"
#include <BoostTestTargetConfig.h>
2013-09-02 10:52:39 +02:00
using namespace icinga;
BOOST_AUTO_TEST_SUITE(base_stacktrace)
BOOST_AUTO_TEST_CASE(stacktrace)
{
StackTrace st;
std::ostringstream obuf;
obuf << st;
BOOST_CHECK(obuf.str().size() > 0);
}
BOOST_AUTO_TEST_SUITE_END()