// $Id$
//
// Copyright (C) 2007
-// Fraunhofer Institute for Open Communication Systems (FOKUS)
-// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
/** \file
- \brief Log.test unit tests */
+ \brief Log unit tests */
//#include "Log.test.hh"
//#include "Log.test.ih"
// Custom includes
+#include "main.test.hh"
+
#include "../../Utils/auto_unit_test.hh"
#include <boost/test/test_tools.hpp>
-#include "main.test.hh"
#define prefix_
///////////////////////////////cc.p////////////////////////////////////////
target.clear();
SENF_LOG((senf::log::IMPORTANT)("Important message"));
+ std::cerr << target.str();
BOOST_CHECK( ! target.str().empty() );
target.clear();
SENF_LOG((senf::log::test::LogCritical) ("Another log message: " << 10));
+ std::cerr << target.str();
BOOST_CHECK( ! target.str().empty() );
target.clear();
log << "Last message";
log << " continued here";
}));
+ std::cerr << target.str();
BOOST_CHECK( ! target.str().empty() );
target.clear();
senf::log::test::Foo::log();
+ std::cerr << target.str();
BOOST_CHECK( ! target.str().empty() );
target.clear();