File indexing completed on 2024-05-12 05:15:00
0001 /* 0002 This file is part of the kcalutils library. 0003 0004 SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.net> 0005 SPDX-FileContributor: Sérgio Martins <sergio.martins@kdab.com> 0006 0007 SPDX-License-Identifier: LGPL-2.0-or-later 0008 */ 0009 0010 #pragma once 0011 0012 #include <QObject> 0013 0014 class DndFactoryTest : public QObject 0015 { 0016 Q_OBJECT 0017 private Q_SLOTS: 0018 0019 /** Pastes an event without time component (all day). We don't specify a new date/time to 0020 DndFactory::pasteIncidences(), so dates of the pasted incidence should be the same as 0021 the copied incidence */ 0022 void testPasteAllDayEvent(); 0023 0024 /** Pastes an event without time component (all day). We specify a new date/time to 0025 DndFactory::pasteIncidences(), so dates of the pasted incidence should be different than 0026 the copied incidence */ 0027 void testPasteAllDayEvent2(); 0028 0029 /** Pastes to-do at a given date/time, should change due-date. 0030 */ 0031 void testPasteTodo(); 0032 0033 /** Things that need testing: 0034 - Paste to-do, changing dtStart instead of dtDue. 0035 - ... 0036 */ 0037 };