rcc.cpp 526 B

1234567891011121314151617181920
  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.txt or copy at
  4. // https://www.bfgroup.xyz/b2/LICENSE.txt)
  5. #define BOOST_TEST_MODULE QtCore
  6. #include <QtCore>
  7. #include <boost/test/unit_test.hpp>
  8. std::ostream& operator<<(std::ostream& out, QString const& text)
  9. {
  10. out << text.toUtf8().constData();
  11. return out;
  12. }
  13. BOOST_AUTO_TEST_CASE (check_exists)
  14. {
  15. BOOST_CHECK(QFile::exists(":/test/rcc.cpp"));
  16. }