summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/build/test/qt5/rcc.cpp
blob: 85ffa1b1493b900ba31479a135ef836c3753fda3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// (c) Copyright Juergen Hunold 2012
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE.txt or copy at
// https://www.bfgroup.xyz/b2/LICENSE.txt)

#define BOOST_TEST_MODULE QtCore
#include <QtCore>

#include <boost/test/unit_test.hpp>

std::ostream& operator<<(std::ostream& out, QString const& text)
{
    out << text.toUtf8().constData();
    return out;
}

BOOST_AUTO_TEST_CASE (check_exists)
{
    BOOST_CHECK(QFile::exists(":/test/rcc.cpp"));
}