~ubuntu-branches/debian/sid/boost1.49/sid

« back to all changes in this revision

Viewing changes to tools/build/v2/test/qt4/qtcorefail.cpp

  • Committer: Package Import Robot
  • Author(s): Steve M. Robbins
  • Date: 2012-02-26 00:31:44 UTC
  • Revision ID: package-import@ubuntu.com-20120226003144-eaytp12cbf6ubpms
Tags: upstream-1.49.0
ImportĀ upstreamĀ versionĀ 1.49.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 QtCoreFail
 
7
 
 
8
#include <QtCore>
 
9
 
 
10
#include <boost/test/unit_test.hpp>
 
11
 
 
12
BOOST_AUTO_TEST_CASE (defines)
 
13
{
 
14
    BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_CORE_LIB), true);
 
15
}
 
16
 
 
17
 
 
18
BOOST_AUTO_TEST_CASE( qstring_test)
 
19
{
 
20
    QString dummy;
 
21
 
 
22
    BOOST_CHECK_EQUAL(dummy.isEmpty(), true);
 
23
}