| 1 |
/* |
| 2 |
* SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer <[email protected]> |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef GATTMANAGERTEST_H |
| 8 |
#define GATTMANAGERTEST_H |
| 9 |
|
| 10 |
#include "adapter.h" |
| 11 |
#include "gattapplication.h" |
| 12 |
#include "gattcharacteristic.h" |
| 13 |
|
| 14 |
class GattManagerTest : public QObject |
| 15 |
{ |
| 16 |
Q_OBJECT |
| 17 |
|
| 18 |
private Q_SLOTS: |
| 19 |
void initTestCase(); |
| 20 |
void cleanupTestCase(); |
| 21 |
|
| 22 |
void readCharcTest(); |
| 23 |
void writeCharcTest(); |
| 24 |
|
| 25 |
private: |
| 26 |
BluezQt::GattApplication *m_application; |
| 27 |
BluezQt::GattCharacteristic *m_characteristic; |
| 28 |
BluezQt::AdapterPtr m_adapter; |
| 29 |
}; |
| 30 |
|
| 31 |
#endif |