view TestFramework.hpp @ 70:c2ad34480216

Quieting clang is obviously only needed for clang and breaks other compilers.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Sat, 12 Jan 2013 12:15:34 +0100
parents 2f45385195ae
children 8136057988bc
line wrap: on
line source

#ifndef TESTFRAMEWORK_HPP
#define TESTFRAMEWORK_HPP

/*
  This header sets up everything for the testframework e.g. switches
  between headerincludes and dynamic linking
 */

#define BOOST_TEST_MAIN

#ifdef BOOSTTEST_HEADER_INCLUDE
#include <boost/test/included/unit_test.hpp>
#else
#include <boost/test/unit_test.hpp>
#endif

//Here comes our helperfunctions
class QString;
std::ostream& operator<<(std::ostream& out, const QString& rhs);
class QDateTime;
std::ostream& operator<<(std::ostream& out, const QDateTime& rhs);

#endif //TESTFRAMEWORK_HPP