1 /* === This file is part of Calamares - <https://calamares.io> === 2 * 3 * SPDX-FileCopyrightText: 2019 Adriaan de Groot <groot@kde.org> 4 * SPDX-License-Identifier: GPL-3.0-or-later 5 * 6 * Calamares is Free Software: see the License-Identifier above. 7 * 8 */ 9 10 #ifndef LIBCALAMARES_NETWORK_TESTS_H 11 #define LIBCALAMARES_NETWORK_TESTS_H 12 13 #include <QObject> 14 15 class NetworkTests : public QObject 16 { 17 Q_OBJECT 18 public: 19 NetworkTests(); 20 ~NetworkTests() override; 21 22 private Q_SLOTS: 23 void initTestCase(); 24 25 void testInstance(); 26 void testPing(); 27 28 void testCheckUrl(); 29 void testCheckMultiUrl(); 30 }; 31 32 #endif 33