File indexing completed on 2024-11-03 09:58:58

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2013 Dominik Haumann <dhaumann@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef KTEXTEDITOR_MESSAGE_TEST_H
0009 #define KTEXTEDITOR_MESSAGE_TEST_H
0010 
0011 #include <QObject>
0012 
0013 class MessageTest : public QObject
0014 {
0015     Q_OBJECT
0016 
0017 public Q_SLOTS:
0018     void initTestCase();
0019     void cleanupTestCase();
0020 
0021 private Q_SLOTS:
0022     void testPostMessage();
0023     void testAutoHide();
0024 
0025 private:
0026     void testAutoHideAfterUserInteraction();
0027     void testMessageQueue();
0028     void testPriority();
0029     void testCreateView();
0030     void testHideView();
0031     void testHideViewAfterUserInteraction();
0032 };
0033 
0034 #endif // KTEXTEDITOR_MESSAGE_TEST_H