1 // (c) Copyright Juergen Hunold 2012 2 // Use, modification and distribution is subject to the Boost Software 3 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 // http://www.boost.org/LICENSE_1_0.txt) 5 6 #define BOOST_TEST_MODULE QtDeclarative 7 8 #include <QCoreApplication> 9 #include <QDeclarativeView> 10 11 #include <boost/test/unit_test.hpp> 12 BOOST_AUTO_TEST_CASE(defines)13BOOST_AUTO_TEST_CASE( defines) 14 { 15 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_CORE_LIB), true); 16 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_XML_LIB), true); 17 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_DECLARATIVE_LIB), true); 18 } 19 20 BOOST_AUTO_TEST_CASE(declarative)21BOOST_AUTO_TEST_CASE( declarative ) 22 { 23 QCoreApplication app(boost::unit_test::framework::master_test_suite().argc, 24 boost::unit_test::framework::master_test_suite().argv); 25 QDeclarativeView view; 26 } 27