]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/qt5/rcc.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / tools / build / test / qt5 / rcc.cpp
1 // (c) Copyright Juergen Hunold 2012
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 std::ostream& operator<<(std::ostream& out, QString const& text)
12 {
13 out << text.toUtf8().constData();
14 return out;
15 }
16
17 BOOST_AUTO_TEST_CASE (check_exists)
18 {
19 BOOST_CHECK(QFile::exists(":/test/rcc.cpp"));
20 }