]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // (c) Copyright Juergen Hunold 2012 |
2 | // Use, modification and distribution is subject to the Boost Software | |
1e59de90 TL |
3 | // License, Version 1.0. (See accompanying file LICENSE.txt or copy at |
4 | // https://www.bfgroup.xyz/b2/LICENSE.txt) | |
7c673cae FG |
5 | |
6 | #define BOOST_TEST_MODULE QtDeclarative | |
7 | ||
8 | #include <QCoreApplication> | |
9 | #include <QDeclarativeView> | |
10 | ||
11 | #include <boost/test/unit_test.hpp> | |
12 | ||
13 | BOOST_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 | ||
21 | BOOST_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 | } |