Hi all,
if one uses the boost unit test macros (see below), qtcreator markes the
BOOST_CHECK(...) macros as syntax error (expected ;):
#include <boost/test/unit_test.hpp>
#include "person.h"
BOOST_AUTO_TEST_CASE(Person1)
{
Person p("Hugo", "Tester");
BOOST_CHECK(p.firstname() == "Hugo");
BOOST_CHECK(p.lastname() == "Tester");
}
Does anybody know how to avoid this (yes, I can use the Qt unit testing
framework, but thats not a solution in this special case)?
--
Wilhelm
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator