mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-11-04 05:34:12 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			338 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			338 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
 | 
						|
 | 
						|
#include "base/stacktrace.hpp"
 | 
						|
#include <BoostTestTargetConfig.h>
 | 
						|
 | 
						|
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()
 |