1 // (c) Copyright Juergen Hunold 2011 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 QtMultimedia 7 8 #include <QApplication> 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_GUI_LIB), true); 17 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_XML_LIB), true); 18 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_DECLARATIVE_LIB), true); 19 } 20 21 BOOST_AUTO_TEST_CASE(declarative)22BOOST_AUTO_TEST_CASE( declarative ) 23 { 24 QApplication app(boost::unit_test::framework::master_test_suite().argc, 25 boost::unit_test::framework::master_test_suite().argv); 26 QDeclarativeView view; 27 } 28