aboutsummaryrefslogtreecommitdiff
path: root/academic/labplot2/p3.patch
blob: e2942e02eaf037186aa2f304826946a35fcda57f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--- 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 <martin.marmsoler@gmail.com>
-
-	SPDX-License-Identifier: GPL-2.0-or-later
-*/
+ *	File                 : BLFFilterTest.h
+ *	Project              : LabPlot
+ *	Description          : Tests for the BLF filter
+ *	--------------------------------------------------------------------
+ *	SPDX-FileCopyrightText: 2023 Martin Marmsoler <martin.marmsoler@gmail.com>
+ * 
+ *	SPDX-License-Identifier: GPL-2.0-or-later
+ */
 #ifndef BLFFILTERTEST_H
 #define BLFFILTERTEST_H
 
@@ -14,15 +14,16 @@
 #include <QtTest>
 
 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<uint8_t>& data);
 	void createBLFFile(const QString& filename, QVector<Vector::BLF::CanMessage2*> messages);
+	#endif
 };
 #endif // BLFFILTERTEST_H