1 /*
2  * SPDX-FileCopyrightText: 2012 Christian Mollekopf <mollekopf@kolabsys.com>
3  *
4  * SPDX-License-Identifier: LGPL-3.0-or-later
5  */
6 
7 #pragma once
8 #include <QObject>
9 
10 class TimezoneTest : public QObject
11 {
12     Q_OBJECT
13 private Q_SLOTS:
14     /**
15      * If this unittest fails, many others will follow.
16      */
17     void initTestCase();
18 
19     void testFromName();
20     void testFromHardcodedList_data();
21     void testFromHardcodedList();
22     void testKolabObjectWriter();
23     // void testKolabObjectReader();
24     void testFindLegacyTimezone();
25     void testIgnoreInvalidTimezone();
26     void testUTCOffset();
27     void localTimezone();
28 };
29 
30