Mercurial > dedupe
view TestFramework.hpp @ 55:19b2a2d98788
Use define to multiplex between different types of decoders.
Expand the API.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 13 Sep 2012 23:47:29 +0200 |
| parents | 2833b7f8884a |
| children | 2f45385195ae |
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 */ //This should really be defined from the build framework #define BOOSTTEST_HEADER_INCLUDE #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
