File indexing completed on 2024-12-01 04:35:25
0001 /* 0002 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 class MessageTest : public QObject 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit MessageTest(QObject *parent = nullptr); 0016 ~MessageTest() override = default; 0017 private Q_SLOTS: 0018 0019 void shouldHaveDefaultValues(); 0020 0021 void shouldParseMessage_data(); 0022 void shouldParseMessage(); 0023 void shouldSerializeData(); 0024 0025 void shouldParseJsonMessage_data(); 0026 void shouldParseJsonMessage(); 0027 0028 void shouldUpdateJsonMessage_data(); 0029 void shouldUpdateJsonMessage(); 0030 };