File indexing completed on 2024-11-24 04:44:10
0001 /* 0002 * SPDX-FileCopyrightText: 2012 Christian Mollekopf <mollekopf@kolabsys.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-3.0-or-later 0005 */ 0006 0007 #pragma once 0008 #include <QObject> 0009 0010 class TimezoneTest : public QObject 0011 { 0012 Q_OBJECT 0013 private Q_SLOTS: 0014 /** 0015 * If this unittest fails, many others will follow. 0016 */ 0017 void initTestCase(); 0018 0019 void testFromName(); 0020 void testFromHardcodedList_data(); 0021 void testFromHardcodedList(); 0022 void testKolabObjectWriter(); 0023 // void testKolabObjectReader(); 0024 void testFindLegacyTimezone(); 0025 void testIgnoreInvalidTimezone(); 0026 void testUTCOffset(); 0027 void localTimezone(); 0028 };