]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/test/qt5/qtlocation.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / test / qt5 / qtlocation.cpp
CommitLineData
7c673cae
FG
1// (c) Copyright Juergen Hunold 2012
2// Use, modification and distribution is subject to the Boost Software
1e59de90
TL
3// License, Version 1.0. (See accompanying file LICENSE.txt or copy at
4// https://www.bfgroup.xyz/b2/LICENSE.txt)
7c673cae
FG
5
6#define BOOST_TEST_MODULE QtPositioning
7
8#include <QGeoAddress>
9#include <QGeoLocation>
10
11#include <boost/test/unit_test.hpp>
12
13BOOST_AUTO_TEST_CASE (defines)
14{
15 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_CORE_LIB), true);
16 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_POSITIONING_LIB), true);
17 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_NETWORK_LIB), true);
18 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_LOCATION_LIB), true);
19}
20
21BOOST_TEST_DONT_PRINT_LOG_VALUE(QGeoAddress)
22
23BOOST_AUTO_TEST_CASE( geo_location )
24{
25 QGeoLocation geolocation;
26
27 QGeoAddress address;
28
29 BOOST_CHECK_EQUAL(geolocation.address(), address);
30}