File indexing completed on 2024-11-10 04:40:12
0001 /* 0002 SPDX-FileCopyrightText: 2007 Till Adam <adam@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 class ItemHydra : public QObject 0012 { 0013 Q_OBJECT 0014 public: 0015 ItemHydra(); 0016 ~ItemHydra() override 0017 { 0018 } 0019 private Q_SLOTS: 0020 void initTestCase(); 0021 void testItemValuePayload(); 0022 void testItemPointerPayload(); 0023 void testItemCopy(); 0024 void testEmptyPayload(); 0025 void testPointerPayload(); 0026 void testPolymorphicPayloadWithTrait(); 0027 void testPolymorphicPayloadWithTypedef(); 0028 void testNullPointerPayload(); 0029 void testQSharedPointerPayload(); 0030 void testHasPayload(); 0031 void testSharedPointerConversions(); 0032 void testForeignPayload(); 0033 };