Mercurial > dedupe
view TestFramework.hpp @ 71:88f408092b6d
Support for code coverage analysis with gcov.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 31 Jan 2013 16:15:39 +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
