2019-02-25 14:48:22 +01:00
|
|
|
/* 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"
|
2016-09-07 08:20:51 +02:00
|
|
|
#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()
|