--- BLFFilterTest.h 2023-03-18 18:11:03.000000000 -0300 +++ BLFFilterTest.h.new 2023-04-17 19:03:30.503938882 -0300 @@ -1,12 +1,12 @@ /* - File : BLFFilterTest.h - Project : LabPlot - Description : Tests for the BLF filter - -------------------------------------------------------------------- - SPDX-FileCopyrightText: 2023 Martin Marmsoler - - SPDX-License-Identifier: GPL-2.0-or-later -*/ + * File : BLFFilterTest.h + * Project : LabPlot + * Description : Tests for the BLF filter + * -------------------------------------------------------------------- + * SPDX-FileCopyrightText: 2023 Martin Marmsoler + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ #ifndef BLFFILTERTEST_H #define BLFFILTERTEST_H @@ -14,15 +14,16 @@ #include namespace Vector { -namespace BLF { -struct CanMessage2; -} // namespace BLF + namespace BLF { + struct CanMessage2; + } // namespace BLF } // namespace Vector class BLFFilterTest : public CommonTest { Q_OBJECT private Q_SLOTS: + #ifdef HAVE_VECTOR_BLF void testInvalidBLF(); void testNotFoundBLF(); void testInvalidDBC(); @@ -42,5 +43,6 @@ void createDBCFile(const QString& filename, const std::string& content); Vector::BLF::CanMessage2* createCANMessage(uint32_t id, uint64_t timestamp, const std::vector& data); void createBLFFile(const QString& filename, QVector messages); + #endif }; #endif // BLFFILTERTEST_H