-// $Id: Log.test.cc 369 2007-08-01 07:51:36Z tho $
+// $Id$
//
// Copyright (C) 2007
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// 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
//#include "Log.test.ih"
// Custom includes
-#include <boost/test/auto_unit_test.hpp>
+#include "../../Utils/auto_unit_test.hh"
#include <boost/test/test_tools.hpp>
#include "main.test.hh"
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();