From d833a45996d32c15071ccacf012234cd280bcce6 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 29 Dec 2024 01:00:10 +0000 Subject: [PATCH] Update coverage report for 139df904b94deac744ed7eddf5dff04a26d5e4e7 --- .../qtpokit/abstractpokitservice.h.gcov.html | 2 +- .../qtpokit/calibrationservice.h.gcov.html | 2 +- .../qtpokit/dataloggerservice.h.gcov.html | 2 +- .../qtpokit/deviceinfoservice.h.gcov.html | 2 +- .../include/qtpokit/dsoservice.h.gcov.html | 2 +- .../qtpokit/multimeterservice.h.gcov.html | 2 +- .../include/qtpokit/pokitdevice.h.gcov.html | 2 +- .../qtpokit/pokitdiscoveryagent.h.gcov.html | 2 +- .../include/qtpokit/statusservice.h.gcov.html | 2 +- .../cov/src/cli/abstractcommand.cpp.func.html | 100 +++++++++--------- main/cov/src/cli/abstractcommand.h.func.html | 2 +- main/cov/src/cli/abstractcommand.h.gcov.html | 90 ++++++++-------- .../src/cli/calibratecommand.cpp.func.html | 6 +- main/cov/src/cli/calibratecommand.h.gcov.html | 2 +- main/cov/src/cli/devicecommand.cpp.func.html | 40 +++---- main/cov/src/cli/devicecommand.h.gcov.html | 2 +- main/cov/src/cli/dsocommand.cpp.func.html | 8 +- main/cov/src/cli/dsocommand.h.gcov.html | 2 +- .../cov/src/cli/flashledcommand.cpp.func.html | 12 +-- main/cov/src/cli/flashledcommand.h.gcov.html | 2 +- main/cov/src/cli/infocommand.cpp.func.html | 8 +- main/cov/src/cli/infocommand.h.gcov.html | 2 +- .../src/cli/loggerfetchcommand.cpp.func.html | 4 +- .../src/cli/loggerfetchcommand.h.gcov.html | 2 +- .../src/cli/loggerstartcommand.cpp.func.html | 10 +- .../src/cli/loggerstartcommand.h.gcov.html | 2 +- .../src/cli/loggerstopcommand.cpp.func.html | 4 +- .../cov/src/cli/loggerstopcommand.h.gcov.html | 2 +- main/cov/src/cli/metercommand.cpp.func.html | 6 +- main/cov/src/cli/metercommand.h.gcov.html | 2 +- main/cov/src/cli/scancommand.cpp.func.html | 24 ++--- main/cov/src/cli/scancommand.h.gcov.html | 2 +- main/cov/src/cli/setnamecommand.cpp.func.html | 12 +-- main/cov/src/cli/setnamecommand.h.gcov.html | 2 +- .../cov/src/cli/settorchcommand.cpp.func.html | 14 +-- main/cov/src/cli/settorchcommand.h.gcov.html | 2 +- main/cov/src/cli/statuscommand.cpp.func.html | 18 ++-- main/cov/src/cli/statuscommand.h.gcov.html | 2 +- .../lib/abstractpokitservice.cpp.func.html | 44 ++++---- .../lib/abstractpokitservice_p.h.gcov.html | 2 +- .../src/lib/calibrationservice.cpp.func.html | 16 +-- .../src/lib/calibrationservice_p.h.gcov.html | 2 +- .../src/lib/dataloggerservice.cpp.func.html | 46 ++++---- .../src/lib/dataloggerservice_p.h.gcov.html | 2 +- .../src/lib/deviceinfoservice.cpp.func.html | 24 ++--- .../src/lib/deviceinfoservice_p.h.gcov.html | 2 +- main/cov/src/lib/dsoservice.cpp.func.html | 24 ++--- main/cov/src/lib/dsoservice_p.h.gcov.html | 2 +- .../src/lib/multimeterservice.cpp.func.html | 26 ++--- .../src/lib/multimeterservice_p.h.gcov.html | 2 +- main/cov/src/lib/pokitdevice.cpp.func.html | 42 ++++---- main/cov/src/lib/pokitdevice_p.h.gcov.html | 2 +- .../src/lib/pokitdiscoveryagent.cpp.func.html | 14 +-- .../src/lib/pokitdiscoveryagent_p.h.gcov.html | 2 +- main/cov/src/lib/pokitmeter.cpp.func.html | 8 +- main/cov/src/lib/pokitpro.cpp.func.html | 20 ++-- main/cov/src/lib/pokitproducts.cpp.func.html | 40 +++---- main/cov/src/lib/statusservice.cpp.func.html | 72 ++++++------- main/cov/src/lib/statusservice_p.h.gcov.html | 2 +- 59 files changed, 399 insertions(+), 397 deletions(-) diff --git a/main/cov/include/qtpokit/abstractpokitservice.h.gcov.html b/main/cov/include/qtpokit/abstractpokitservice.h.gcov.html index 78213ecbe..731addea1 100644 --- a/main/cov/include/qtpokit/abstractpokitservice.h.gcov.html +++ b/main/cov/include/qtpokit/abstractpokitservice.h.gcov.html @@ -144,7 +144,7 @@ 55 : private: 56 20862 : Q_DECLARE_PRIVATE(AbstractPokitService) 57 : Q_DISABLE_COPY(AbstractPokitService) - 58 : friend class TestAbstractPokitService; + 58 : QTPOKIT_BEFRIEND_TEST(AbstractPokitService) 59 : }; 60 : 61 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/include/qtpokit/calibrationservice.h.gcov.html b/main/cov/include/qtpokit/calibrationservice.h.gcov.html index c3167cca4..e538d97b1 100644 --- a/main/cov/include/qtpokit/calibrationservice.h.gcov.html +++ b/main/cov/include/qtpokit/calibrationservice.h.gcov.html @@ -147,7 +147,7 @@ 58 : private: 59 114 : Q_DECLARE_PRIVATE(CalibrationService) 60 : Q_DISABLE_COPY(CalibrationService) - 61 : friend class TestCalibrationService; + 61 : QTPOKIT_BEFRIEND_TEST(CalibrationService) 62 : }; 63 : 64 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/include/qtpokit/dataloggerservice.h.gcov.html b/main/cov/include/qtpokit/dataloggerservice.h.gcov.html index 782069daa..ea4bd4d7e 100644 --- a/main/cov/include/qtpokit/dataloggerservice.h.gcov.html +++ b/main/cov/include/qtpokit/dataloggerservice.h.gcov.html @@ -216,7 +216,7 @@ 127 : private: 128 532 : Q_DECLARE_PRIVATE(DataLoggerService) 129 : Q_DISABLE_COPY(DataLoggerService) - 130 : friend class TestDataLoggerService; + 130 : QTPOKIT_BEFRIEND_TEST(DataLoggerService) 131 : }; 132 : 133 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/include/qtpokit/deviceinfoservice.h.gcov.html b/main/cov/include/qtpokit/deviceinfoservice.h.gcov.html index 01c49eb11..c17c92165 100644 --- a/main/cov/include/qtpokit/deviceinfoservice.h.gcov.html +++ b/main/cov/include/qtpokit/deviceinfoservice.h.gcov.html @@ -179,7 +179,7 @@ 90 : private: 91 5024 : Q_DECLARE_PRIVATE(DeviceInfoService) 92 : Q_DISABLE_COPY(DeviceInfoService) - 93 : friend class TestDeviceInfoService; + 93 : QTPOKIT_BEFRIEND_TEST(DeviceInfoService) 94 : }; 95 : 96 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/include/qtpokit/dsoservice.h.gcov.html b/main/cov/include/qtpokit/dsoservice.h.gcov.html index 9e62ec7d8..e246c5387 100644 --- a/main/cov/include/qtpokit/dsoservice.h.gcov.html +++ b/main/cov/include/qtpokit/dsoservice.h.gcov.html @@ -215,7 +215,7 @@ 126 : private: 127 570 : Q_DECLARE_PRIVATE(DsoService) 128 : Q_DISABLE_COPY(DsoService) - 129 : friend class TestDsoService; + 129 : QTPOKIT_BEFRIEND_TEST(DsoService) 130 : }; 131 : 132 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/include/qtpokit/multimeterservice.h.gcov.html b/main/cov/include/qtpokit/multimeterservice.h.gcov.html index 7a0d2e39a..797758b56 100644 --- a/main/cov/include/qtpokit/multimeterservice.h.gcov.html +++ b/main/cov/include/qtpokit/multimeterservice.h.gcov.html @@ -197,7 +197,7 @@ 108 : private: 109 342 : Q_DECLARE_PRIVATE(MultimeterService) 110 : Q_DISABLE_COPY(MultimeterService) - 111 : friend class TestMultimeterService; + 111 : QTPOKIT_BEFRIEND_TEST(MultimeterService) 112 : }; 113 : 114 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/include/qtpokit/pokitdevice.h.gcov.html b/main/cov/include/qtpokit/pokitdevice.h.gcov.html index 51a8e5104..f8bac151f 100644 --- a/main/cov/include/qtpokit/pokitdevice.h.gcov.html +++ b/main/cov/include/qtpokit/pokitdevice.h.gcov.html @@ -151,7 +151,7 @@ 62 : private: 63 2562 : Q_DECLARE_PRIVATE(PokitDevice) 64 : Q_DISABLE_COPY(PokitDevice) - 65 : friend class TestPokitDevice; + 65 : QTPOKIT_BEFRIEND_TEST(PokitDevice) 66 : }; 67 : 68 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/include/qtpokit/pokitdiscoveryagent.h.gcov.html b/main/cov/include/qtpokit/pokitdiscoveryagent.h.gcov.html index 819fd04a9..c727f6982 100644 --- a/main/cov/include/qtpokit/pokitdiscoveryagent.h.gcov.html +++ b/main/cov/include/qtpokit/pokitdiscoveryagent.h.gcov.html @@ -136,7 +136,7 @@ 47 : private: 48 534 : Q_DECLARE_PRIVATE(PokitDiscoveryAgent) 49 : Q_DISABLE_COPY(PokitDiscoveryAgent) - 50 : friend class TestPokitDiscoveryAgent; + 50 : QTPOKIT_BEFRIEND_TEST(PokitDiscoveryAgent) 51 : }; 52 : 53 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/include/qtpokit/statusservice.h.gcov.html b/main/cov/include/qtpokit/statusservice.h.gcov.html index 04f2d78f6..30f7ffa70 100644 --- a/main/cov/include/qtpokit/statusservice.h.gcov.html +++ b/main/cov/include/qtpokit/statusservice.h.gcov.html @@ -281,7 +281,7 @@ 192 : private: 193 2486 : Q_DECLARE_PRIVATE(StatusService) 194 : Q_DISABLE_COPY(StatusService) - 195 : friend class TestStatusService; + 195 : QTPOKIT_BEFRIEND_TEST(StatusService) 196 : }; 197 : 198 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/src/cli/abstractcommand.cpp.func.html b/main/cov/src/cli/abstractcommand.cpp.func.html index 058e130e8..ef2f4f8e0 100644 --- a/main/cov/src/cli/abstractcommand.cpp.func.html +++ b/main/cov/src/cli/abstractcommand.cpp.func.html @@ -335,261 +335,261 @@ - _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1EEEEjRK7QStringS5_j - 4564 + 4396 - _ZN15AbstractCommand11parseNumberISt5ratioILl1000000000000000000ELl1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1000000000000000000ELl1EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1000000000000000ELl1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1000000000000000ELl1EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1000000000000ELl1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1000000000000ELl1EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1000000000ELl1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1000000000ELl1EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1000000ELl1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1000000ELl1EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1000ELl1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1000ELl1EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl100ELl1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl100ELl1EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl10ELl1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl10ELl1EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000000000000000000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1ELl1000000000000000000EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000000000000000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1ELl1000000000000000EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000000000000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1ELl1000000000000EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000000000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1ELl1000000000EEEEEjRK7QStringS6_j - 20 + 28 - _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1ELl1000000EEEEEjRK7QStringS6_j - 540 + 392 - _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1ELl1000EEEEEjRK7QStringS6_j - 1496 + 1568 - _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl100EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1ELl100EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl10EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1ELl10EEEEEjRK7QStringS6_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberINSt3__15ratioILl1ELl1EEEEEjRK7QStringS6_j - 420 + 448 - _ZN15AbstractCommand11parseNumberISt5ratioILx1000000000000000000ELx1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1000000000000000000ELl1EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1000000000000000ELx1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1000000000000000ELl1EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1000000000000ELx1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1000000000000ELl1EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1000000000ELx1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1000000000ELl1EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1000000ELx1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1000000ELl1EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1000ELx1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1000ELl1EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx100ELx1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl100ELl1EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx10ELx1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl10ELl1EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1ELx1000000000000000000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000000000000000000EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1ELx1000000000000000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000000000000000EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1ELx1000000000000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000000000000EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1ELx1000000000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000000000EEEEjRK7QStringS5_j - 18 + 16 - _ZN15AbstractCommand11parseNumberISt5ratioILx1ELx1000000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000000EEEEjRK7QStringS5_j - 486 + 432 - _ZN15AbstractCommand11parseNumberISt5ratioILx1ELx1000EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1000EEEEjRK7QStringS5_j - 1206 + 1176 - _ZN15AbstractCommand11parseNumberISt5ratioILx1ELx100EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl100EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1ELx10EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl10EEEEjRK7QStringS5_j 0 - _ZN15AbstractCommand11parseNumberISt5ratioILx1ELx1EEEEjRK7QStringS5_j + _ZN15AbstractCommand11parseNumberISt5ratioILl1ELl1EEEEjRK7QStringS5_j - 378 + 336 - _ZN15AbstractCommand14escapeCsvFieldERK7QString + _ZN15AbstractCommand14escapeCsvFieldERK7QString - 3988 + 2565 - _ZN15AbstractCommand14processOptionsERK18QCommandLineParser + _ZN15AbstractCommand14processOptionsERK18QCommandLineParser - 4876 + 4640 @@ -622,9 +622,9 @@ - _ZNK15AbstractCommand15requiredOptionsERK18QCommandLineParser + _ZNK15AbstractCommand15requiredOptionsERK18QCommandLineParser - 11180 + 11952 diff --git a/main/cov/src/cli/abstractcommand.h.func.html b/main/cov/src/cli/abstractcommand.h.func.html index 306e4072b..4dc48d823 100644 --- a/main/cov/src/cli/abstractcommand.h.func.html +++ b/main/cov/src/cli/abstractcommand.h.func.html @@ -90,7 +90,7 @@ - _ZN15AbstractCommand2lcEv + _ZN15AbstractCommand2lcEv 57636 diff --git a/main/cov/src/cli/abstractcommand.h.gcov.html b/main/cov/src/cli/abstractcommand.h.gcov.html index d184d1612..e09a1d4ee 100644 --- a/main/cov/src/cli/abstractcommand.h.gcov.html +++ b/main/cov/src/cli/abstractcommand.h.gcov.html @@ -93,53 +93,55 @@ 4 : #ifndef DOKIT_ABSTRACTCOMMAND_H 5 : #define DOKIT_ABSTRACTCOMMAND_H 6 : - 7 : #include <QBluetoothDeviceInfo> - 8 : #include <QCommandLineParser> - 9 : #include <QLoggingCategory> - 10 : #include <QObject> - 11 : - 12 : class PokitDiscoveryAgent; + 7 : #include <qtpokit/qtpokit_global.h> + 8 : + 9 : #include <QBluetoothDeviceInfo> + 10 : #include <QCommandLineParser> + 11 : #include <QLoggingCategory> + 12 : #include <QObject> 13 : - 14 16764 : class AbstractCommand : public QObject - 15 : { - 16 828 : Q_OBJECT - 17 : - 18 : public: - 19 : /// Supported output formats. - 20 : enum class OutputFormat { - 21 : Csv, ///< RFC 4180 compliant CSV text. - 22 : Json, ///< RFC 8259 compliant JSON text. - 23 : Text, ///< Plain unstructured text. - 24 : }; - 25 : - 26 : explicit AbstractCommand(QObject * const parent = nullptr); + 14 : class PokitDiscoveryAgent; + 15 : + 16 16840 : class AbstractCommand : public QObject + 17 : { + 18 828 : Q_OBJECT + 19 : + 20 : public: + 21 : /// Supported output formats. + 22 : enum class OutputFormat { + 23 : Csv, ///< RFC 4180 compliant CSV text. + 24 : Json, ///< RFC 8259 compliant JSON text. + 25 : Text, ///< Plain unstructured text. + 26 : }; 27 : - 28 : virtual QStringList requiredOptions(const QCommandLineParser &parser) const; - 29 : virtual QStringList supportedOptions(const QCommandLineParser &parser) const; - 30 : - 31 : static QString escapeCsvField(const QString &field); + 28 : explicit AbstractCommand(QObject * const parent = nullptr); + 29 : + 30 : virtual QStringList requiredOptions(const QCommandLineParser &parser) const; + 31 : virtual QStringList supportedOptions(const QCommandLineParser &parser) const; 32 : - 33 : template<typename R> - 34 : static quint32 parseNumber(const QString &value, const QString &unit, const quint32 sensibleMinimum = 0); - 35 : - 36 : public slots: - 37 : virtual QStringList processOptions(const QCommandLineParser &parser); - 38 : virtual bool start() = 0; - 39 : - 40 : protected: - 41 : QString deviceToScanFor; ///< Device (if any) that were passed to processOptions(). - 42 : PokitDiscoveryAgent * discoveryAgent; ///< Agent for Pokit device descovery. - 43 : OutputFormat format { OutputFormat::Text }; ///< Selected output format. - 44 57708 : static Q_LOGGING_CATEGORY(lc, "dokit.cli.command", QtInfoMsg); ///< Logging category for UI commands. - 45 : - 46 : protected slots: - 47 : virtual void deviceDiscovered(const QBluetoothDeviceInfo &info) = 0; - 48 : virtual void deviceDiscoveryFinished() = 0; - 49 : - 50 : friend class TestAbstractCommand; - 51 : }; - 52 : - 53 : #endif // DOKIT_ABSTRACTCOMMAND_H + 33 : static QString escapeCsvField(const QString &field); + 34 : + 35 : template<typename R> + 36 : static quint32 parseNumber(const QString &value, const QString &unit, const quint32 sensibleMinimum = 0); + 37 : + 38 : public slots: + 39 : virtual QStringList processOptions(const QCommandLineParser &parser); + 40 : virtual bool start() = 0; + 41 : + 42 : protected: + 43 : QString deviceToScanFor; ///< Device (if any) that were passed to processOptions(). + 44 : PokitDiscoveryAgent * discoveryAgent; ///< Agent for Pokit device descovery. + 45 : OutputFormat format { OutputFormat::Text }; ///< Selected output format. + 46 57708 : static Q_LOGGING_CATEGORY(lc, "dokit.cli.command", QtInfoMsg); ///< Logging category for UI commands. + 47 : + 48 : protected slots: + 49 : virtual void deviceDiscovered(const QBluetoothDeviceInfo &info) = 0; + 50 : virtual void deviceDiscoveryFinished() = 0; + 51 : + 52 : QTPOKIT_BEFRIEND_TEST(AbstractCommand) + 53 : }; + 54 : + 55 : #endif // DOKIT_ABSTRACTCOMMAND_H diff --git a/main/cov/src/cli/calibratecommand.cpp.func.html b/main/cov/src/cli/calibratecommand.cpp.func.html index 3b4a6a0a4..e53259a9a 100644 --- a/main/cov/src/cli/calibratecommand.cpp.func.html +++ b/main/cov/src/cli/calibratecommand.cpp.func.html @@ -90,7 +90,7 @@ - _ZN16CalibrateCommand10getServiceEv + _ZN16CalibrateCommand10getServiceEv 0 @@ -146,9 +146,9 @@ - _ZNK16CalibrateCommand15requiredOptionsERK18QCommandLineParser + _ZNK16CalibrateCommand15requiredOptionsERK18QCommandLineParser - 1026 + 1188 diff --git a/main/cov/src/cli/calibratecommand.h.gcov.html b/main/cov/src/cli/calibratecommand.h.gcov.html index aef36724e..826edf368 100644 --- a/main/cov/src/cli/calibratecommand.h.gcov.html +++ b/main/cov/src/cli/calibratecommand.h.gcov.html @@ -120,7 +120,7 @@ 31 : private slots: 32 : void temperatureCalibrated(); 33 : - 34 : friend class TestCalibrateCommand; + 34 : QTPOKIT_BEFRIEND_TEST(CalibrateCommand) 35 : }; diff --git a/main/cov/src/cli/devicecommand.cpp.func.html b/main/cov/src/cli/devicecommand.cpp.func.html index fba45ba65..ff1e04c41 100644 --- a/main/cov/src/cli/devicecommand.cpp.func.html +++ b/main/cov/src/cli/devicecommand.cpp.func.html @@ -90,9 +90,9 @@ - _ZN13DeviceCommand10disconnectEi + _ZN13DeviceCommand10disconnectEi - 468 + 1080 @@ -104,16 +104,16 @@ - _ZN13DeviceCommand15controllerErrorEN20QLowEnergyController5ErrorE + _ZN13DeviceCommand15controllerErrorEN20QLowEnergyController5ErrorE - 76 + 88 - _ZN13DeviceCommand15minCurrentRangeE12PokitProductj + _ZN13DeviceCommand15minCurrentRangeE12PokitProductj - 88 + 76 @@ -160,23 +160,23 @@ - _ZN13DeviceCommand24serviceDetailsDiscoveredEv + _ZN13DeviceCommand24serviceDetailsDiscoveredEv - 814 + 384 - _ZN13DeviceCommand5startEv + _ZN13DeviceCommand5startEv - 76 + 32 - _ZN13DeviceCommand8minRangeIN10PokitMeter12CurrentRangeEEET_j + _ZN13DeviceCommand8minRangeIN10PokitMeter12CurrentRangeEEET_j - 572 + 494 @@ -195,30 +195,30 @@ - _ZN13DeviceCommand8minRangeIN8PokitPro12CurrentRangeEEET_j + _ZN13DeviceCommand8minRangeIN8PokitPro12CurrentRangeEEET_j - 748 + 646 - _ZN13DeviceCommand8minRangeIN8PokitPro12VoltageRangeEEET_j + _ZN13DeviceCommand8minRangeIN8PokitPro12VoltageRangeEEET_j - 722 + 836 - _ZN13DeviceCommand8minRangeIN8PokitPro15ResistanceRangeEEET_j + _ZN13DeviceCommand8minRangeIN8PokitPro15ResistanceRangeEEET_j - 1100 + 950 - _ZN13DeviceCommand8minRangeIN8PokitPro16CapacitanceRangeEEET_j + _ZN13DeviceCommand8minRangeIN8PokitPro16CapacitanceRangeEEET_j - 342 + 396 diff --git a/main/cov/src/cli/devicecommand.h.gcov.html b/main/cov/src/cli/devicecommand.h.gcov.html index 433aa3fd1..cae35b5da 100644 --- a/main/cov/src/cli/devicecommand.h.gcov.html +++ b/main/cov/src/cli/devicecommand.h.gcov.html @@ -135,7 +135,7 @@ 46 : void deviceDiscovered(const QBluetoothDeviceInfo &info) override; 47 : void deviceDiscoveryFinished() override; 48 : - 49 : friend class TestDeviceCommand; + 49 : QTPOKIT_BEFRIEND_TEST(DeviceCommand) 50 : }; 51 : 52 : #endif // DOKIT_DEVICECOMMAND_H diff --git a/main/cov/src/cli/dsocommand.cpp.func.html b/main/cov/src/cli/dsocommand.cpp.func.html index 1cdcdabaa..50b856489 100644 --- a/main/cov/src/cli/dsocommand.cpp.func.html +++ b/main/cov/src/cli/dsocommand.cpp.func.html @@ -174,16 +174,16 @@ - _ZNK10DsoCommand15requiredOptionsERK18QCommandLineParser + _ZNK10DsoCommand15requiredOptionsERK18QCommandLineParser - 1028 + 2242 - _ZNK10DsoCommand16supportedOptionsERK18QCommandLineParser + _ZNK10DsoCommand16supportedOptionsERK18QCommandLineParser - 492 + 1102 diff --git a/main/cov/src/cli/dsocommand.h.gcov.html b/main/cov/src/cli/dsocommand.h.gcov.html index 64fecbc2c..14251bd97 100644 --- a/main/cov/src/cli/dsocommand.h.gcov.html +++ b/main/cov/src/cli/dsocommand.h.gcov.html @@ -132,7 +132,7 @@ 43 : void metadataRead(const DsoService::Metadata &data); 44 : void outputSamples(const DsoService::Samples &samples); 45 : - 46 : friend class TestDsoCommand; + 46 : QTPOKIT_BEFRIEND_TEST(DsoCommand) 47 : }; diff --git a/main/cov/src/cli/flashledcommand.cpp.func.html b/main/cov/src/cli/flashledcommand.cpp.func.html index 6b74de5cd..c12c9ec9b 100644 --- a/main/cov/src/cli/flashledcommand.cpp.func.html +++ b/main/cov/src/cli/flashledcommand.cpp.func.html @@ -97,9 +97,9 @@ - _ZN15FlashLedCommand14processOptionsERK18QCommandLineParser + _ZN15FlashLedCommand14processOptionsERK18QCommandLineParser - 44 + 38 @@ -146,16 +146,16 @@ - _ZNK15FlashLedCommand15requiredOptionsERK18QCommandLineParser + _ZNK15FlashLedCommand15requiredOptionsERK18QCommandLineParser - 190 + 220 - _ZNK15FlashLedCommand16supportedOptionsERK18QCommandLineParser + _ZNK15FlashLedCommand16supportedOptionsERK18QCommandLineParser - 88 + 76 diff --git a/main/cov/src/cli/flashledcommand.h.gcov.html b/main/cov/src/cli/flashledcommand.h.gcov.html index 1a0f75cc8..85a4ef2e6 100644 --- a/main/cov/src/cli/flashledcommand.h.gcov.html +++ b/main/cov/src/cli/flashledcommand.h.gcov.html @@ -119,7 +119,7 @@ 30 : private slots: 31 : void deviceLedFlashed(); 32 : - 33 : friend class TestFlashLedCommand; + 33 : QTPOKIT_BEFRIEND_TEST(FlashLedCommand) 34 : }; diff --git a/main/cov/src/cli/infocommand.cpp.func.html b/main/cov/src/cli/infocommand.cpp.func.html index cfc37e242..c12ca6bd5 100644 --- a/main/cov/src/cli/infocommand.cpp.func.html +++ b/main/cov/src/cli/infocommand.cpp.func.html @@ -104,9 +104,9 @@ - _ZN11InfoCommand24serviceDetailsDiscoveredEv + _ZN11InfoCommand24serviceDetailsDiscoveredEv - 324 + 738 @@ -139,9 +139,9 @@ - _ZNK11InfoCommand15requiredOptionsERK18QCommandLineParser + _ZNK11InfoCommand15requiredOptionsERK18QCommandLineParser - 220 + 190 diff --git a/main/cov/src/cli/infocommand.h.gcov.html b/main/cov/src/cli/infocommand.h.gcov.html index 71120a99a..e179ced00 100644 --- a/main/cov/src/cli/infocommand.h.gcov.html +++ b/main/cov/src/cli/infocommand.h.gcov.html @@ -116,7 +116,7 @@ 27 : private: 28 : DeviceInfoService * service { nullptr }; ///< Bluetooth service this command interracts with. 29 : - 30 : friend class TestInfoCommand; + 30 : QTPOKIT_BEFRIEND_TEST(InfoCommand) 31 : }; diff --git a/main/cov/src/cli/loggerfetchcommand.cpp.func.html b/main/cov/src/cli/loggerfetchcommand.cpp.func.html index e54bf7c74..e150caec9 100644 --- a/main/cov/src/cli/loggerfetchcommand.cpp.func.html +++ b/main/cov/src/cli/loggerfetchcommand.cpp.func.html @@ -90,7 +90,7 @@ - _ZN18LoggerFetchCommand10getServiceEv + _ZN18LoggerFetchCommand10getServiceEv 0 @@ -125,7 +125,7 @@ - _ZN18LoggerFetchCommand24serviceDetailsDiscoveredEv + _ZN18LoggerFetchCommand24serviceDetailsDiscoveredEv 0 diff --git a/main/cov/src/cli/loggerfetchcommand.h.gcov.html b/main/cov/src/cli/loggerfetchcommand.h.gcov.html index 24ab08f07..4e14ef2f4 100644 --- a/main/cov/src/cli/loggerfetchcommand.h.gcov.html +++ b/main/cov/src/cli/loggerfetchcommand.h.gcov.html @@ -118,7 +118,7 @@ 29 : void metadataRead(const DataLoggerService::Metadata &data); 30 : void outputSamples(const DataLoggerService::Samples &samples); 31 : - 32 : friend class TestLoggerFetchCommand; + 32 : QTPOKIT_BEFRIEND_TEST(LoggerFetchCommand) 33 : }; diff --git a/main/cov/src/cli/loggerstartcommand.cpp.func.html b/main/cov/src/cli/loggerstartcommand.cpp.func.html index f117a75f7..5db9f6190 100644 --- a/main/cov/src/cli/loggerstartcommand.cpp.func.html +++ b/main/cov/src/cli/loggerstartcommand.cpp.func.html @@ -90,16 +90,16 @@ - _ZN18LoggerStartCommand10getServiceEv + _ZN18LoggerStartCommand10getServiceEv 0 - _ZN18LoggerStartCommand14processOptionsERK18QCommandLineParser + _ZN18LoggerStartCommand14processOptionsERK18QCommandLineParser - 924 + 798 @@ -153,9 +153,9 @@ - _ZNK18LoggerStartCommand16supportedOptionsERK18QCommandLineParser + _ZNK18LoggerStartCommand16supportedOptionsERK18QCommandLineParser - 836 + 968 diff --git a/main/cov/src/cli/loggerstartcommand.h.gcov.html b/main/cov/src/cli/loggerstartcommand.h.gcov.html index 147dfc6e3..cd139e4c4 100644 --- a/main/cov/src/cli/loggerstartcommand.h.gcov.html +++ b/main/cov/src/cli/loggerstartcommand.h.gcov.html @@ -127,7 +127,7 @@ 38 : private slots: 39 : void settingsWritten(); 40 : - 41 : friend class TestLoggerStartCommand; + 41 : QTPOKIT_BEFRIEND_TEST(LoggerStartCommand) 42 : }; diff --git a/main/cov/src/cli/loggerstopcommand.cpp.func.html b/main/cov/src/cli/loggerstopcommand.cpp.func.html index 6aa9220a2..b9dea5e5b 100644 --- a/main/cov/src/cli/loggerstopcommand.cpp.func.html +++ b/main/cov/src/cli/loggerstopcommand.cpp.func.html @@ -97,9 +97,9 @@ - _ZN17LoggerStopCommand15settingsWrittenEv + _ZN17LoggerStopCommand15settingsWrittenEv - 132 + 114 diff --git a/main/cov/src/cli/loggerstopcommand.h.gcov.html b/main/cov/src/cli/loggerstopcommand.h.gcov.html index beea00bf9..c16c8d187 100644 --- a/main/cov/src/cli/loggerstopcommand.h.gcov.html +++ b/main/cov/src/cli/loggerstopcommand.h.gcov.html @@ -113,7 +113,7 @@ 24 : private slots: 25 : void settingsWritten(); 26 : - 27 : friend class TestLoggerStopCommand; + 27 : QTPOKIT_BEFRIEND_TEST(LoggerStopCommand) 28 : }; diff --git a/main/cov/src/cli/metercommand.cpp.func.html b/main/cov/src/cli/metercommand.cpp.func.html index 1c41e0c1b..25ba0e3e5 100644 --- a/main/cov/src/cli/metercommand.cpp.func.html +++ b/main/cov/src/cli/metercommand.cpp.func.html @@ -111,7 +111,7 @@ - _ZN12MeterCommand15settingsWrittenEv + _ZN12MeterCommand15settingsWrittenEv 0 @@ -160,9 +160,9 @@ - _ZNK12MeterCommand16supportedOptionsERK18QCommandLineParser + _ZNK12MeterCommand16supportedOptionsERK18QCommandLineParser - 988 + 1144 diff --git a/main/cov/src/cli/metercommand.h.gcov.html b/main/cov/src/cli/metercommand.h.gcov.html index 926ffd03e..c906f931b 100644 --- a/main/cov/src/cli/metercommand.h.gcov.html +++ b/main/cov/src/cli/metercommand.h.gcov.html @@ -128,7 +128,7 @@ 39 : void settingsWritten(); 40 : void outputReading(const MultimeterService::Reading &reading); 41 : - 42 : friend class TestMeterCommand; + 42 : QTPOKIT_BEFRIEND_TEST(MeterCommand) 43 : }; diff --git a/main/cov/src/cli/scancommand.cpp.func.html b/main/cov/src/cli/scancommand.cpp.func.html index ad83340a5..de237f13e 100644 --- a/main/cov/src/cli/scancommand.cpp.func.html +++ b/main/cov/src/cli/scancommand.cpp.func.html @@ -90,9 +90,9 @@ - _ZN11ScanCommand13deviceUpdatedERK20QBluetoothDeviceInfo6QFlagsINS0_5FieldEE + _ZN11ScanCommand13deviceUpdatedERK20QBluetoothDeviceInfo6QFlagsINS0_5FieldEE - 1575 + 1440 @@ -111,9 +111,9 @@ - _ZN11ScanCommand23deviceDiscoveryFinishedEv + _ZN11ScanCommand23deviceDiscoveryFinishedEv - 38 + 44 @@ -125,9 +125,9 @@ - _ZN11ScanCommand6toJsonERK10QMultiHashIt10QByteArrayE + _ZN11ScanCommand6toJsonERK10QMultiHashIt10QByteArrayE - 224 + 245 @@ -139,16 +139,16 @@ - _ZN11ScanCommand6toJsonERK5QListI14QBluetoothUuidE + _ZN11ScanCommand6toJsonERK5QListI14QBluetoothUuidE - 228 + 264 - _ZN11ScanCommand6toJsonERK6QFlagsIN20QBluetoothDeviceInfo12ServiceClassEE + _ZN11ScanCommand6toJsonERK6QFlagsIN20QBluetoothDeviceInfo12ServiceClassEE - 558 + 642 @@ -216,9 +216,9 @@ - _ZNK11ScanCommand15requiredOptionsERK18QCommandLineParser + _ZNK11ScanCommand15requiredOptionsERK18QCommandLineParser - 176 + 152 diff --git a/main/cov/src/cli/scancommand.h.gcov.html b/main/cov/src/cli/scancommand.h.gcov.html index 1027bf8eb..21df5b580 100644 --- a/main/cov/src/cli/scancommand.h.gcov.html +++ b/main/cov/src/cli/scancommand.h.gcov.html @@ -128,7 +128,7 @@ 39 : static QString toString(const QBluetoothDeviceInfo::MajorDeviceClass &majorClass); 40 : static QString toString(const QBluetoothDeviceInfo::MajorDeviceClass &majorClass, const quint8 minorClass); 41 : - 42 : friend class TestScanCommand; + 42 : QTPOKIT_BEFRIEND_TEST(ScanCommand) 43 : }; diff --git a/main/cov/src/cli/setnamecommand.cpp.func.html b/main/cov/src/cli/setnamecommand.cpp.func.html index 369ea9520..cc1c6565a 100644 --- a/main/cov/src/cli/setnamecommand.cpp.func.html +++ b/main/cov/src/cli/setnamecommand.cpp.func.html @@ -90,7 +90,7 @@ - _ZN14SetNameCommand10getServiceEv + _ZN14SetNameCommand10getServiceEv 0 @@ -104,14 +104,14 @@ - _ZN14SetNameCommand17deviceNameWrittenEv + _ZN14SetNameCommand17deviceNameWrittenEv - 114 + 132 - _ZN14SetNameCommand24serviceDetailsDiscoveredEv + _ZN14SetNameCommand24serviceDetailsDiscoveredEv 0 @@ -146,9 +146,9 @@ - _ZNK14SetNameCommand15requiredOptionsERK18QCommandLineParser + _ZNK14SetNameCommand15requiredOptionsERK18QCommandLineParser - 572 + 494 diff --git a/main/cov/src/cli/setnamecommand.h.gcov.html b/main/cov/src/cli/setnamecommand.h.gcov.html index 0bd956d0a..7f9073e29 100644 --- a/main/cov/src/cli/setnamecommand.h.gcov.html +++ b/main/cov/src/cli/setnamecommand.h.gcov.html @@ -120,7 +120,7 @@ 31 : private slots: 32 : void deviceNameWritten(); 33 : - 34 : friend class TestSetNameCommand; + 34 : QTPOKIT_BEFRIEND_TEST(SetNameCommand) 35 : }; diff --git a/main/cov/src/cli/settorchcommand.cpp.func.html b/main/cov/src/cli/settorchcommand.cpp.func.html index 915493c95..feea1ace7 100644 --- a/main/cov/src/cli/settorchcommand.cpp.func.html +++ b/main/cov/src/cli/settorchcommand.cpp.func.html @@ -90,23 +90,23 @@ - _ZN15SetTorchCommand10getServiceEv + _ZN15SetTorchCommand10getServiceEv 0 - _ZN15SetTorchCommand14processOptionsERK18QCommandLineParser + _ZN15SetTorchCommand14processOptionsERK18QCommandLineParser - 220 + 190 - _ZN15SetTorchCommand18torchStatusWrittenEv + _ZN15SetTorchCommand18torchStatusWrittenEv - 132 + 114 @@ -153,9 +153,9 @@ - _ZNK15SetTorchCommand16supportedOptionsERK18QCommandLineParser + _ZNK15SetTorchCommand16supportedOptionsERK18QCommandLineParser - 228 + 264 diff --git a/main/cov/src/cli/settorchcommand.h.gcov.html b/main/cov/src/cli/settorchcommand.h.gcov.html index dd5826b4c..0292501cf 100644 --- a/main/cov/src/cli/settorchcommand.h.gcov.html +++ b/main/cov/src/cli/settorchcommand.h.gcov.html @@ -120,7 +120,7 @@ 31 : private slots: 32 : void torchStatusWritten(); 33 : - 34 : friend class TestSetTorchCommand; + 34 : QTPOKIT_BEFRIEND_TEST(SetTorchCommand) 35 : }; diff --git a/main/cov/src/cli/statuscommand.cpp.func.html b/main/cov/src/cli/statuscommand.cpp.func.html index 94984910f..8c5b40822 100644 --- a/main/cov/src/cli/statuscommand.cpp.func.html +++ b/main/cov/src/cli/statuscommand.cpp.func.html @@ -90,30 +90,30 @@ - _ZN13StatusCommand10getServiceEv + _ZN13StatusCommand10getServiceEv 0 - _ZN13StatusCommand14processOptionsERK18QCommandLineParser + _ZN13StatusCommand14processOptionsERK18QCommandLineParser - 44 + 38 - _ZN13StatusCommand18outputDeviceStatusERKN13StatusService21DeviceCharacteristicsE + _ZN13StatusCommand18outputDeviceStatusERKN13StatusService21DeviceCharacteristicsE - 342 + 144 - _ZN13StatusCommand24serviceDetailsDiscoveredEv + _ZN13StatusCommand24serviceDetailsDiscoveredEv - 38 + 16 @@ -146,9 +146,9 @@ - _ZNK13StatusCommand15requiredOptionsERK18QCommandLineParser + _ZNK13StatusCommand15requiredOptionsERK18QCommandLineParser - 220 + 190 diff --git a/main/cov/src/cli/statuscommand.h.gcov.html b/main/cov/src/cli/statuscommand.h.gcov.html index 89cdf242d..07e8fa354 100644 --- a/main/cov/src/cli/statuscommand.h.gcov.html +++ b/main/cov/src/cli/statuscommand.h.gcov.html @@ -118,7 +118,7 @@ 29 : 30 : void outputDeviceStatus(const StatusService::DeviceCharacteristics &chrs); 31 : - 32 : friend class TestStatusCommand; + 32 : QTPOKIT_BEFRIEND_TEST(StatusCommand) 33 : }; diff --git a/main/cov/src/lib/abstractpokitservice.cpp.func.html b/main/cov/src/lib/abstractpokitservice.cpp.func.html index adddb6286..e3c9ea378 100644 --- a/main/cov/src/lib/abstractpokitservice.cpp.func.html +++ b/main/cov/src/lib/abstractpokitservice.cpp.func.html @@ -132,9 +132,9 @@ - _ZN20AbstractPokitServiceC2EP27AbstractPokitServicePrivateP7QObject + _ZN20AbstractPokitServiceC2EP27AbstractPokitServicePrivateP7QObject - 6196 + 4032 @@ -174,30 +174,30 @@ - _ZN27AbstractPokitServicePrivate11toHexStringERK10QByteArrayi + _ZN27AbstractPokitServicePrivate11toHexStringERK10QByteArrayi - 988 + 1144 - _ZN27AbstractPokitServicePrivate12stateChangedEN17QLowEnergyService12ServiceStateE + _ZN27AbstractPokitServicePrivate12stateChangedEN17QLowEnergyService12ServiceStateE - 132 + 114 - _ZN27AbstractPokitServicePrivate13errorOccurredEN17QLowEnergyService12ServiceErrorE + _ZN27AbstractPokitServicePrivate13errorOccurredEN17QLowEnergyService12ServiceErrorE - 38 + 44 - _ZN27AbstractPokitServicePrivate17discoveryFinishedEv + _ZN27AbstractPokitServicePrivate17discoveryFinishedEv - 76 + 32 @@ -209,9 +209,9 @@ - _ZN27AbstractPokitServicePrivate18characteristicReadERK24QLowEnergyCharacteristicRK10QByteArray + _ZN27AbstractPokitServicePrivate18characteristicReadERK24QLowEnergyCharacteristicRK10QByteArray - 264 + 228 @@ -223,9 +223,9 @@ - _ZN27AbstractPokitServicePrivate19createServiceObjectEv + _ZN27AbstractPokitServicePrivate19createServiceObjectEv - 4040 + 9364 @@ -237,9 +237,9 @@ - _ZN27AbstractPokitServicePrivate21characteristicWrittenERK24QLowEnergyCharacteristicRK10QByteArray + _ZN27AbstractPokitServicePrivate21characteristicWrittenERK24QLowEnergyCharacteristicRK10QByteArray - 264 + 228 @@ -265,9 +265,9 @@ - _ZN27AbstractPokitServicePrivate9connectedEv + _ZN27AbstractPokitServicePrivate9connectedEv - 32 + 76 @@ -300,9 +300,9 @@ - _ZNK20AbstractPokitService12autoDiscoverEv + _ZNK20AbstractPokitService12autoDiscoverEv - 114 + 132 @@ -314,9 +314,9 @@ - _ZNK20AbstractPokitService7serviceEv + _ZNK20AbstractPokitService7serviceEv - 38 + 44 diff --git a/main/cov/src/lib/abstractpokitservice_p.h.gcov.html b/main/cov/src/lib/abstractpokitservice_p.h.gcov.html index bc2254050..bad0d506d 100644 --- a/main/cov/src/lib/abstractpokitservice_p.h.gcov.html +++ b/main/cov/src/lib/abstractpokitservice_p.h.gcov.html @@ -160,7 +160,7 @@ 71 : private: 72 114 : Q_DECLARE_PUBLIC(AbstractPokitService) 73 : Q_DISABLE_COPY(AbstractPokitServicePrivate) - 74 : friend class TestAbstractPokitService; + 74 : QTPOKIT_BEFRIEND_TEST(AbstractPokitService) 75 : }; 76 : 77 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/src/lib/calibrationservice.cpp.func.html b/main/cov/src/lib/calibrationservice.cpp.func.html index ac9a200df..0414fd04a 100644 --- a/main/cov/src/lib/calibrationservice.cpp.func.html +++ b/main/cov/src/lib/calibrationservice.cpp.func.html @@ -90,16 +90,16 @@ - _ZN18CalibrationService19readCharacteristicsEv + _ZN18CalibrationService19readCharacteristicsEv - 16 + 38 - _ZN18CalibrationService20calibrateTemperatureEf + _ZN18CalibrationService20calibrateTemperatureEf - 76 + 88 @@ -167,9 +167,9 @@ - _ZN25CalibrationServicePrivate21characteristicWrittenERK24QLowEnergyCharacteristicRK10QByteArray + _ZN25CalibrationServicePrivate21characteristicWrittenERK24QLowEnergyCharacteristicRK10QByteArray - 44 + 38 @@ -195,9 +195,9 @@ - _ZN25CalibrationServicePrivateC2EP20QLowEnergyControllerP18CalibrationService + _ZN25CalibrationServicePrivateC2EP20QLowEnergyControllerP18CalibrationService - 112 + 80 diff --git a/main/cov/src/lib/calibrationservice_p.h.gcov.html b/main/cov/src/lib/calibrationservice_p.h.gcov.html index f23b8f255..6cad7397c 100644 --- a/main/cov/src/lib/calibrationservice_p.h.gcov.html +++ b/main/cov/src/lib/calibrationservice_p.h.gcov.html @@ -120,7 +120,7 @@ 31 : private: 32 38 : Q_DECLARE_PUBLIC(CalibrationService) 33 : Q_DISABLE_COPY(CalibrationServicePrivate) - 34 : friend class TestCalibrationService; + 34 : QTPOKIT_BEFRIEND_TEST(CalibrationService) 35 : }; 36 : 37 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/src/lib/dataloggerservice.cpp.func.html b/main/cov/src/lib/dataloggerservice.cpp.func.html index 74ef991d4..5c0702357 100644 --- a/main/cov/src/lib/dataloggerservice.cpp.func.html +++ b/main/cov/src/lib/dataloggerservice.cpp.func.html @@ -90,9 +90,9 @@ - _ZN17DataLoggerService10stopLoggerEv + _ZN17DataLoggerService10stopLoggerEv - 44 + 38 @@ -111,9 +111,9 @@ - _ZN17DataLoggerService12fetchSamplesEv + _ZN17DataLoggerService12fetchSamplesEv - 44 + 38 @@ -125,16 +125,16 @@ - _ZN17DataLoggerService26enableReadingNotificationsEv + _ZN17DataLoggerService26enableReadingNotificationsEv - 38 + 44 - _ZN17DataLoggerService26readMetadataCharacteristicEv + _ZN17DataLoggerService26readMetadataCharacteristicEv - 88 + 54 @@ -160,9 +160,9 @@ - _ZN17DataLoggerService8maxValueE12PokitProducthNS_4ModeE + _ZN17DataLoggerService8maxValueE12PokitProducthNS_4ModeE - 528 + 456 @@ -230,7 +230,7 @@ - _ZN17DataLoggerServiceC2EP24DataLoggerServicePrivateP7QObject + _ZN17DataLoggerServiceC2EP24DataLoggerServicePrivateP7QObject 0 @@ -258,23 +258,23 @@ - _ZN24DataLoggerServicePrivate18characteristicReadERK24QLowEnergyCharacteristicRK10QByteArray + _ZN24DataLoggerServicePrivate18characteristicReadERK24QLowEnergyCharacteristicRK10QByteArray - 38 + 44 - _ZN24DataLoggerServicePrivate21characteristicChangedERK24QLowEnergyCharacteristicRK10QByteArray + _ZN24DataLoggerServicePrivate21characteristicChangedERK24QLowEnergyCharacteristicRK10QByteArray - 38 + 44 - _ZN24DataLoggerServicePrivate21characteristicWrittenERK24QLowEnergyCharacteristicRK10QByteArray + _ZN24DataLoggerServicePrivate21characteristicWrittenERK24QLowEnergyCharacteristicRK10QByteArray - 38 + 44 @@ -300,16 +300,16 @@ - _ZN24DataLoggerServicePrivateC2EP20QLowEnergyControllerP17DataLoggerService + _ZN24DataLoggerServicePrivateC2EP20QLowEnergyControllerP17DataLoggerService - 784 + 1648 - _ZNK17DataLoggerService8maxValueEhNS_4ModeE + _ZNK17DataLoggerService8maxValueEhNS_4ModeE - 228 + 264 @@ -321,9 +321,9 @@ - _ZNK17DataLoggerService8toStringEhNS_4ModeE + _ZNK17DataLoggerService8toStringEhNS_4ModeE - 1704 + 3648 diff --git a/main/cov/src/lib/dataloggerservice_p.h.gcov.html b/main/cov/src/lib/dataloggerservice_p.h.gcov.html index 8d3b6da8b..dab687209 100644 --- a/main/cov/src/lib/dataloggerservice_p.h.gcov.html +++ b/main/cov/src/lib/dataloggerservice_p.h.gcov.html @@ -128,7 +128,7 @@ 39 : private: 40 114 : Q_DECLARE_PUBLIC(DataLoggerService) 41 : Q_DISABLE_COPY(DataLoggerServicePrivate) - 42 : friend class TestDataLoggerService; + 42 : QTPOKIT_BEFRIEND_TEST(DataLoggerService) 43 : }; 44 : 45 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/src/lib/deviceinfoservice.cpp.func.html b/main/cov/src/lib/deviceinfoservice.cpp.func.html index e49bd1074..5b0c2954e 100644 --- a/main/cov/src/lib/deviceinfoservice.cpp.func.html +++ b/main/cov/src/lib/deviceinfoservice.cpp.func.html @@ -90,9 +90,9 @@ - _ZN17DeviceInfoService19readCharacteristicsEv + _ZN17DeviceInfoService19readCharacteristicsEv - 38 + 44 @@ -125,16 +125,16 @@ - _ZN17DeviceInfoService34readHardwareRevisionCharacteristicEv + _ZN17DeviceInfoService34readHardwareRevisionCharacteristicEv - 88 + 54 - _ZN17DeviceInfoService34readSoftwareRevisionCharacteristicEv + _ZN17DeviceInfoService34readSoftwareRevisionCharacteristicEv - 54 + 88 @@ -181,9 +181,9 @@ - _ZN17DeviceInfoServiceC2EP20QLowEnergyControllerP7QObject + _ZN17DeviceInfoServiceC2EP20QLowEnergyControllerP7QObject - 448 + 580 @@ -237,16 +237,16 @@ - _ZNK17DeviceInfoService12manufacturerEv + _ZNK17DeviceInfoService12manufacturerEv - 776 + 368 - _ZNK17DeviceInfoService12serialNumberEv + _ZNK17DeviceInfoService12serialNumberEv - 368 + 776 diff --git a/main/cov/src/lib/deviceinfoservice_p.h.gcov.html b/main/cov/src/lib/deviceinfoservice_p.h.gcov.html index 5e2304807..e63a7d27a 100644 --- a/main/cov/src/lib/deviceinfoservice_p.h.gcov.html +++ b/main/cov/src/lib/deviceinfoservice_p.h.gcov.html @@ -118,7 +118,7 @@ 29 : private: 30 38 : Q_DECLARE_PUBLIC(DeviceInfoService) 31 : Q_DISABLE_COPY(DeviceInfoServicePrivate) - 32 : friend class TestDeviceInfoService; + 32 : QTPOKIT_BEFRIEND_TEST(DeviceInfoService) 33 : }; 34 : 35 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/src/lib/dsoservice.cpp.func.html b/main/cov/src/lib/dsoservice.cpp.func.html index a769ae2c8..686417541 100644 --- a/main/cov/src/lib/dsoservice.cpp.func.html +++ b/main/cov/src/lib/dsoservice.cpp.func.html @@ -97,9 +97,9 @@ - _ZN10DsoService12fetchSamplesEv + _ZN10DsoService12fetchSamplesEv - 44 + 38 @@ -118,16 +118,16 @@ - _ZN10DsoService26readMetadataCharacteristicEv + _ZN10DsoService26readMetadataCharacteristicEv - 54 + 88 - _ZN10DsoService27disableReadingNotificationsEv + _ZN10DsoService27disableReadingNotificationsEv - 44 + 38 @@ -139,9 +139,9 @@ - _ZN10DsoService28disableMetadataNotificationsEv + _ZN10DsoService28disableMetadataNotificationsEv - 44 + 38 @@ -300,9 +300,9 @@ - _ZNK10DsoService8maxValueEhNS_4ModeE + _ZNK10DsoService8maxValueEhNS_4ModeE - 190 + 220 @@ -314,9 +314,9 @@ - _ZNK10DsoService8toStringEhNS_4ModeE + _ZNK10DsoService8toStringEhNS_4ModeE - 2926 + 1372 diff --git a/main/cov/src/lib/dsoservice_p.h.gcov.html b/main/cov/src/lib/dsoservice_p.h.gcov.html index e5a440cb1..fe4a2fe7e 100644 --- a/main/cov/src/lib/dsoservice_p.h.gcov.html +++ b/main/cov/src/lib/dsoservice_p.h.gcov.html @@ -127,7 +127,7 @@ 38 : private: 39 114 : Q_DECLARE_PUBLIC(DsoService) 40 : Q_DISABLE_COPY(DsoServicePrivate) - 41 : friend class TestDsoService; + 41 : QTPOKIT_BEFRIEND_TEST(DsoService) 42 : }; 43 : 44 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/src/lib/multimeterservice.cpp.func.html b/main/cov/src/lib/multimeterservice.cpp.func.html index 6d27dd254..fed4243a9 100644 --- a/main/cov/src/lib/multimeterservice.cpp.func.html +++ b/main/cov/src/lib/multimeterservice.cpp.func.html @@ -90,9 +90,9 @@ - _ZN17MultimeterService11setSettingsERKNS_8SettingsE + _ZN17MultimeterService11setSettingsERKNS_8SettingsE - 38 + 44 @@ -125,9 +125,9 @@ - _ZN17MultimeterService8maxValueE12PokitProducthNS_4ModeE + _ZN17MultimeterService8maxValueE12PokitProducthNS_4ModeE - 880 + 760 @@ -195,7 +195,7 @@ - _ZN17MultimeterServiceC2EP24MultimeterServicePrivateP7QObject + _ZN17MultimeterServiceC2EP24MultimeterServicePrivateP7QObject 0 @@ -209,9 +209,9 @@ - _ZN24MultimeterServicePrivate14encodeSettingsERKN17MultimeterService8SettingsE + _ZN24MultimeterServicePrivate14encodeSettingsERKN17MultimeterService8SettingsE - 176 + 152 @@ -230,9 +230,9 @@ - _ZN24MultimeterServicePrivate21characteristicWrittenERK24QLowEnergyCharacteristicRK10QByteArray + _ZN24MultimeterServicePrivate21characteristicWrittenERK24QLowEnergyCharacteristicRK10QByteArray - 38 + 44 @@ -258,16 +258,16 @@ - _ZN24MultimeterServicePrivateC2EP20QLowEnergyControllerP17MultimeterService + _ZN24MultimeterServicePrivateC2EP20QLowEnergyControllerP17MultimeterService - 868 + 1168 - _ZNK17MultimeterService7readingEv + _ZNK17MultimeterService7readingEv - 44 + 38 diff --git a/main/cov/src/lib/multimeterservice_p.h.gcov.html b/main/cov/src/lib/multimeterservice_p.h.gcov.html index 5b14ae64a..0eaf4301d 100644 --- a/main/cov/src/lib/multimeterservice_p.h.gcov.html +++ b/main/cov/src/lib/multimeterservice_p.h.gcov.html @@ -126,7 +126,7 @@ 37 : private: 38 114 : Q_DECLARE_PUBLIC(MultimeterService) 39 : Q_DISABLE_COPY(MultimeterServicePrivate) - 40 : friend class TestMultimeterService; + 40 : QTPOKIT_BEFRIEND_TEST(MultimeterService) 41 : }; 42 : 43 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/src/lib/pokitdevice.cpp.func.html b/main/cov/src/lib/pokitdevice.cpp.func.html index 6bf48970f..b803f03fb 100644 --- a/main/cov/src/lib/pokitdevice.cpp.func.html +++ b/main/cov/src/lib/pokitdevice.cpp.func.html @@ -90,9 +90,9 @@ - _ZN11PokitDevice10controllerEv + _ZN11PokitDevice10controllerEv - 932 + 2084 @@ -104,9 +104,9 @@ - _ZN11PokitDevice10multimeterEv + _ZN11PokitDevice10multimeterEv - 152 + 176 @@ -118,9 +118,9 @@ - _ZN11PokitDevice15serviceToStringERK14QBluetoothUuid + _ZN11PokitDevice15serviceToStringERK14QBluetoothUuid - 440 + 380 @@ -146,9 +146,9 @@ - _ZN11PokitDevice6statusEv + _ZN11PokitDevice6statusEv - 336 + 532 @@ -216,23 +216,23 @@ - _ZN11PokitDeviceC2EP18PokitDevicePrivateP7QObject + _ZN11PokitDeviceC2EP18PokitDevicePrivateP7QObject 0 - _ZN11PokitDeviceC2EP20QLowEnergyControllerP7QObject + _ZN11PokitDeviceC2EP20QLowEnergyControllerP7QObject - 420 + 272 - _ZN11PokitDeviceC2ERK20QBluetoothDeviceInfoP7QObject + _ZN11PokitDeviceC2ERK20QBluetoothDeviceInfoP7QObject - 0 + 484 @@ -328,16 +328,16 @@ - _ZNK18PokitDevicePrivate13errorOccurredEN20QLowEnergyController5ErrorE + _ZNK18PokitDevicePrivate13errorOccurredEN20QLowEnergyController5ErrorE - 44 + 38 - _ZNK18PokitDevicePrivate17connectionUpdatedERK30QLowEnergyConnectionParameters + _ZNK18PokitDevicePrivate17connectionUpdatedERK30QLowEnergyConnectionParameters - 44 + 38 @@ -349,16 +349,16 @@ - _ZNK18PokitDevicePrivate17serviceDiscoveredERK14QBluetoothUuid + _ZNK18PokitDevicePrivate17serviceDiscoveredERK14QBluetoothUuid - 44 + 38 - _ZNK18PokitDevicePrivate9connectedEv + _ZNK18PokitDevicePrivate9connectedEv - 48 + 114 diff --git a/main/cov/src/lib/pokitdevice_p.h.gcov.html b/main/cov/src/lib/pokitdevice_p.h.gcov.html index f527a4b1f..566d0d66a 100644 --- a/main/cov/src/lib/pokitdevice_p.h.gcov.html +++ b/main/cov/src/lib/pokitdevice_p.h.gcov.html @@ -159,7 +159,7 @@ 70 : private: 71 : Q_DECLARE_PUBLIC(PokitDevice) 72 : Q_DISABLE_COPY(PokitDevicePrivate) - 73 : friend class TestPokitDevice; + 73 : QTPOKIT_BEFRIEND_TEST(PokitDevice) 74 : }; 75 : 76 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/src/lib/pokitdiscoveryagent.cpp.func.html b/main/cov/src/lib/pokitdiscoveryagent.cpp.func.html index eb092c3ae..6c3f947b7 100644 --- a/main/cov/src/lib/pokitdiscoveryagent.cpp.func.html +++ b/main/cov/src/lib/pokitdiscoveryagent.cpp.func.html @@ -188,28 +188,28 @@ - _ZN19PokitDiscoveryAgentC2EP26PokitDiscoveryAgentPrivateP7QObject + _ZN19PokitDiscoveryAgentC2EP26PokitDiscoveryAgentPrivateP7QObject 0 - _ZN19PokitDiscoveryAgentC2EP26PokitDiscoveryAgentPrivateRK17QBluetoothAddressP7QObject + _ZN19PokitDiscoveryAgentC2EP26PokitDiscoveryAgentPrivateRK17QBluetoothAddressP7QObject 0 - _ZN19PokitDiscoveryAgentC2EP7QObject + _ZN19PokitDiscoveryAgentC2EP7QObject - 6886 + 7745 - _ZN19PokitDiscoveryAgentC2ERK17QBluetoothAddressP7QObject + _ZN19PokitDiscoveryAgentC2ERK17QBluetoothAddressP7QObject 0 @@ -307,9 +307,9 @@ - _ZNK26PokitDiscoveryAgentPrivate8finishedEv + _ZNK26PokitDiscoveryAgentPrivate8finishedEv - 44 + 38 diff --git a/main/cov/src/lib/pokitdiscoveryagent_p.h.gcov.html b/main/cov/src/lib/pokitdiscoveryagent_p.h.gcov.html index b2ea0c471..cb949a180 100644 --- a/main/cov/src/lib/pokitdiscoveryagent_p.h.gcov.html +++ b/main/cov/src/lib/pokitdiscoveryagent_p.h.gcov.html @@ -132,7 +132,7 @@ 43 : private: 44 420 : Q_DECLARE_PUBLIC(PokitDiscoveryAgent) 45 : Q_DISABLE_COPY(PokitDiscoveryAgentPrivate) - 46 : friend class TestPokitDiscoveryAgent; + 46 : QTPOKIT_BEFRIEND_TEST(PokitDiscoveryAgent) 47 : }; 48 : 49 : QTPOKIT_END_NAMESPACE diff --git a/main/cov/src/lib/pokitmeter.cpp.func.html b/main/cov/src/lib/pokitmeter.cpp.func.html index 4aa1d86f4..c0ab2c4f0 100644 --- a/main/cov/src/lib/pokitmeter.cpp.func.html +++ b/main/cov/src/lib/pokitmeter.cpp.func.html @@ -118,16 +118,16 @@ - _ZN10PokitMeter8toStringERKNS_12VoltageRangeE + _ZN10PokitMeter8toStringERKNS_12VoltageRangeE - 4788 + 3192 - _ZN10PokitMeter8toStringERKNS_15ResistanceRangeE + _ZN10PokitMeter8toStringERKNS_15ResistanceRangeE - 2052 + 2208 diff --git a/main/cov/src/lib/pokitpro.cpp.func.html b/main/cov/src/lib/pokitpro.cpp.func.html index e3ef50165..5267d1b6f 100644 --- a/main/cov/src/lib/pokitpro.cpp.func.html +++ b/main/cov/src/lib/pokitpro.cpp.func.html @@ -90,9 +90,9 @@ - _ZN8PokitPro8maxValueERKNS_12CurrentRangeE + _ZN8PokitPro8maxValueERKNS_12CurrentRangeE - 3608 + 3116 @@ -118,30 +118,30 @@ - _ZN8PokitPro8toStringERKNS_12CurrentRangeE + _ZN8PokitPro8toStringERKNS_12CurrentRangeE - 1786 + 2068 - _ZN8PokitPro8toStringERKNS_12VoltageRangeE + _ZN8PokitPro8toStringERKNS_12VoltageRangeE - 1976 + 2288 - _ZN8PokitPro8toStringERKNS_15ResistanceRangeE + _ZN8PokitPro8toStringERKNS_15ResistanceRangeE - 2394 + 2772 - _ZN8PokitPro8toStringERKNS_16CapacitanceRangeE + _ZN8PokitPro8toStringERKNS_16CapacitanceRangeE - 988 + 1060 diff --git a/main/cov/src/lib/pokitproducts.cpp.func.html b/main/cov/src/lib/pokitproducts.cpp.func.html index 152c4e914..61e87927a 100644 --- a/main/cov/src/lib/pokitproducts.cpp.func.html +++ b/main/cov/src/lib/pokitproducts.cpp.func.html @@ -97,23 +97,23 @@ - _Z12pokitProductRK20QLowEnergyController + _Z12pokitProductRK20QLowEnergyController - 80 + 190 - _Z12pokitProductRK5QListI14QBluetoothUuidE + _Z12pokitProductRK5QListI14QBluetoothUuidE - 570 + 520 - _Z14isPokitProductRK20QBluetoothDeviceInfo + _Z14isPokitProductRK20QBluetoothDeviceInfo - 1066 + 1222 @@ -125,16 +125,16 @@ - _Z14isPokitProductRK5QListI14QBluetoothUuidE + _Z14isPokitProductRK5QListI14QBluetoothUuidE - 1846 + 1750 - _Z8toString12PokitProduct + _Z8toString12PokitProduct - 132 + 114 @@ -146,30 +146,30 @@ - _ZN12CurrentRange8maxValueE12PokitProducth + _ZN12CurrentRange8maxValueE12PokitProducth - 660 + 570 - _ZN12CurrentRange8toStringE12PokitProducth + _ZN12CurrentRange8toStringE12PokitProducth - 2004 + 3762 - _ZN12VoltageRange8maxValueE12PokitProducth + _ZN12VoltageRange8maxValueE12PokitProducth - 570 + 660 - _ZN12VoltageRange8toStringE12PokitProducth + _ZN12VoltageRange8toStringE12PokitProducth - 3762 + 2004 @@ -181,9 +181,9 @@ - _ZN15ResistanceRange8toStringE12PokitProducth + _ZN15ResistanceRange8toStringE12PokitProducth - 494 + 404 diff --git a/main/cov/src/lib/statusservice.cpp.func.html b/main/cov/src/lib/statusservice.cpp.func.html index 1cf868ee8..a9bf3863b 100644 --- a/main/cov/src/lib/statusservice.cpp.func.html +++ b/main/cov/src/lib/statusservice.cpp.func.html @@ -104,9 +104,9 @@ - _ZN13StatusService19readCharacteristicsEv + _ZN13StatusService19readCharacteristicsEv - 44 + 38 @@ -125,9 +125,9 @@ - _ZN13StatusService24readStatusCharacteristicEv + _ZN13StatusService24readStatusCharacteristicEv - 54 + 88 @@ -146,37 +146,37 @@ - _ZN13StatusService26disableStatusNotificationsEv + _ZN13StatusService26disableStatusNotificationsEv - 44 + 38 - _ZN13StatusService29readButtonPressCharacteristicEv + _ZN13StatusService29readButtonPressCharacteristicEv - 44 + 38 - _ZN13StatusService30enableTorchStatusNotificationsEv + _ZN13StatusService30enableTorchStatusNotificationsEv - 38 + 44 - _ZN13StatusService31disableTorchStatusNotificationsEv + _ZN13StatusService31disableTorchStatusNotificationsEv - 38 + 44 - _ZN13StatusService32enableButtonPressedNotificationsEv + _ZN13StatusService32enableButtonPressedNotificationsEv - 38 + 44 @@ -188,9 +188,9 @@ - _ZN13StatusService8flashLedEv + _ZN13StatusService8flashLedEv - 38 + 44 @@ -202,9 +202,9 @@ - _ZN13StatusService8toStringERKNS_12ButtonStatusE + _ZN13StatusService8toStringERKNS_12ButtonStatusE - 352 + 388 @@ -216,16 +216,16 @@ - _ZN13StatusService8toStringERKNS_13BatteryStatusE + _ZN13StatusService8toStringERKNS_13BatteryStatusE - 494 + 320 - _ZN13StatusService8toStringERKNS_14ChargingStatusE + _ZN13StatusService8toStringERKNS_14ChargingStatusE - 220 + 190 @@ -300,9 +300,9 @@ - _ZN20StatusServicePrivate16parseButtonPressERK10QByteArray + _ZN20StatusServicePrivate16parseButtonPressERK10QByteArray - 176 + 152 @@ -314,16 +314,16 @@ - _ZN20StatusServicePrivate17serviceDiscoveredERK14QBluetoothUuid + _ZN20StatusServicePrivate17serviceDiscoveredERK14QBluetoothUuid - 176 + 152 - _ZN20StatusServicePrivate18characteristicReadERK24QLowEnergyCharacteristicRK10QByteArray + _ZN20StatusServicePrivate18characteristicReadERK24QLowEnergyCharacteristicRK10QByteArray - 38 + 44 @@ -363,23 +363,23 @@ - _ZN20StatusServicePrivateC2EP20QLowEnergyControllerP13StatusService + _ZN20StatusServicePrivateC2EP20QLowEnergyControllerP13StatusService - 560 + 700 - _ZNK13StatusService10deviceNameEv + _ZNK13StatusService10deviceNameEv - 380 + 188 - _ZNK13StatusService11buttonPressEv + _ZNK13StatusService11buttonPressEv - 188 + 380 @@ -398,9 +398,9 @@ - _ZNK13StatusService6statusEv + _ZNK13StatusService6statusEv - 188 + 380 diff --git a/main/cov/src/lib/statusservice_p.h.gcov.html b/main/cov/src/lib/statusservice_p.h.gcov.html index d6e4dc312..88fc756e5 100644 --- a/main/cov/src/lib/statusservice_p.h.gcov.html +++ b/main/cov/src/lib/statusservice_p.h.gcov.html @@ -127,7 +127,7 @@ 38 : private: 39 76 : Q_DECLARE_PUBLIC(StatusService) 40 : Q_DISABLE_COPY(StatusServicePrivate) - 41 : friend class TestStatusService; + 41 : QTPOKIT_BEFRIEND_TEST(StatusService) 42 : }; 43 : 44 : QTPOKIT_END_NAMESPACE