File indexing completed on 2024-04-28 16:01:12
0001 /* 0002 * SPDX-FileCopyrightText: 2020-2021 Han Young <hanyoung@protonmail.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 #include "geotimezonetest.h" 0007 0008 void GeoTimezoneTest::testTimezone() 0009 { 0010 // waiting for finished signal for 10 secs 0011 auto ret = finished_spy.wait(10000); 0012 0013 if (ret) 0014 QCOMPARE(finished_spy.takeFirst().at(0).toString(), QStringLiteral("Asia/Oral")); 0015 else 0016 QVERIFY(networkError_spy.size() > 0); 0017 } 0018 QTEST_MAIN(GeoTimezoneTest)