Imported Upstream version 1.51.0
[platform/upstream/boost.git] / tools / build / test / qt4 / qtcore.cpp
1 // (c) Copyright Juergen Hunold 2008
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 QtCore
7 #include <QtCore>
8
9 #include <boost/test/unit_test.hpp>
10
11 BOOST_AUTO_TEST_CASE (defines)
12 {
13     BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_CORE_LIB), true);
14 }
15
16
17 BOOST_AUTO_TEST_CASE( qstring_test)
18 {
19     QString dummy;
20
21     BOOST_CHECK_EQUAL(dummy.isEmpty(), true);
22 }