File indexing completed on 2024-04-28 16:01:13
0001 /* 0002 * SPDX-FileCopyrightText: 2020-2021 Han Young <hanyoung@protonmail.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 #pragma once 0007 #include <QTest> 0008 #include <kweathercore/weatherforecast.h> 0009 using namespace KWeatherCore; 0010 class WeatherForecastTest : public QObject 0011 { 0012 Q_OBJECT 0013 private Q_SLOTS: 0014 void testHourlyMerge(); 0015 void testDailyMerge(); 0016 void testCreatedTime(); 0017 void testJson(); 0018 0019 private: 0020 WeatherForecast d1; 0021 };