Warning, file /frameworks/bluez-qt/autotests/mediatest.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * SPDX-FileCopyrightText: 2018 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 MEDIATEST_H 0008 #define MEDIATEST_H 0009 0010 #include "adapter.h" 0011 #include "mediaendpoint.h" 0012 0013 class TestEndpoint : public BluezQt::MediaEndpoint 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 using BluezQt::MediaEndpoint::MediaEndpoint; 0019 void release() override; 0020 0021 // release 0022 bool m_releaseCalled = false; 0023 }; 0024 0025 class MediaTest : public QObject 0026 { 0027 Q_OBJECT 0028 0029 private Q_SLOTS: 0030 void initTestCase(); 0031 void cleanupTestCase(); 0032 0033 void setConfigurationTest(); 0034 void selectConfigurationTest(); 0035 void clearConfigurationTest(); 0036 void releaseTest(); 0037 0038 private: 0039 TestEndpoint *m_endpoint; 0040 BluezQt::AdapterPtr m_adapter; 0041 }; 0042 0043 #endif // MEDIATEST_H