File indexing completed on 2024-04-21 03:51:53

0001 /*
0002  * SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer <mincequi@web.de>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005  */
0006 
0007 #ifndef GATTMANAGERTEST_H
0008 #define GATTMANAGERTEST_H
0009 
0010 #include "adapter.h"
0011 #include "gattapplication.h"
0012 #include "gattcharacteristic.h"
0013 
0014 class GattManagerTest : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     void initTestCase();
0020     void cleanupTestCase();
0021 
0022     void readCharcTest();
0023     void writeCharcTest();
0024 
0025 private:
0026     BluezQt::GattApplication *m_application;
0027     BluezQt::GattCharacteristic *m_characteristic;
0028     BluezQt::AdapterPtr m_adapter;
0029 };
0030 
0031 #endif