File indexing completed on 2024-07-21 04:35:14

0001 /*
0002     SPDX-FileCopyrightText: 2018 Ralf Habacker ralf.habacker @freenet.de
0003 
0004     This file is part of libalkimia.
0005 
0006     SPDX-License-Identifier: LGPL-2.1-or-later
0007 */
0008 
0009 #ifndef ALKONLINEQUOTETEST_H
0010 #define ALKONLINEQUOTETEST_H
0011 
0012 #include <QtCore/QObject>
0013 
0014 class AlkOnlineQuotesProfile;
0015 
0016 class AlkOnlineQuoteTest : public QObject
0017 {
0018     Q_OBJECT
0019 
0020 public:
0021     AlkOnlineQuoteTest()
0022         : m_profile(nullptr)
0023     {
0024     }
0025 
0026 private Q_SLOTS:
0027     void init();
0028     void cleanup();
0029     void testAlkOnlineQuoteErrorCtor();
0030     void testAlkOnlineQuoteErrorCtorWithArg();
0031     void testAlkOnlineQuoteErrorSetter();
0032     void testAlkOnlineQuoteErrorCopy();
0033     void testQuoteSources();
0034     void testLaunch();
0035     void testLaunchWithBrowser();
0036 private:
0037     AlkOnlineQuotesProfile *m_profile;
0038 };
0039 
0040 #endif // ALKONLINEQUOTETEST_H