File indexing completed on 2025-01-05 04:49:44
0001 /* 0002 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 #include <QObject> 0009 0010 class EventDateTimeWidgetTest : public QObject 0011 { 0012 Q_OBJECT 0013 public: 0014 explicit EventDateTimeWidgetTest(QObject *parent = nullptr); 0015 ~EventDateTimeWidgetTest() override; 0016 0017 private Q_SLOTS: 0018 void shouldHaveDefaultValue(); 0019 void shouldSetDateTime(); 0020 void shouldEmitSignalWhenDateTimeChanged(); 0021 void shouldEmitSignalWhenJustTimeChanged(); 0022 void shouldEmitSignalWhenJustDateChanged(); 0023 void shouldNotEmitSignalWhenDateTimeWasNotChanged(); 0024 };