Mercurial > dedupe
view TestFramework.hpp @ 67:2f45385195ae
Choose between static and dynamic compilation.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Sun, 23 Dec 2012 22:08:32 +0100 |
| parents | 2833b7f8884a |
| 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
