summaryrefslogtreecommitdiff
path: root/src/rekonq_defines.h
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-08-27 22:09:16 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-08-27 22:44:31 +0300
commit86db843bc53a93dbf566b24df1462a22fccb619a (patch)
treee4a48a8e9053294f62ed5ea1d66d5c8f9d3d901e /src/rekonq_defines.h
parentRename rView to RekonqView (diff)
downloadrekonq-86db843bc53a93dbf566b24df1462a22fccb619a.tar.xz
Add parseCommandLine tests
- use PluginLoader in plugin tests
Diffstat (limited to 'src/rekonq_defines.h')
-rw-r--r--src/rekonq_defines.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/rekonq_defines.h b/src/rekonq_defines.h
index 629d59bc..f56cb5fa 100644
--- a/src/rekonq_defines.h
+++ b/src/rekonq_defines.h
@@ -14,8 +14,12 @@
// ----------------------------------------------------------------------------------------------------
// UNIT TESTS NEED
-#ifndef REKONQ_TEST_EXPORT
-#define REKONQ_TEST_EXPORT __attribute__((visibility("hidden")))
+#ifdef REKONQ_TEST
+#define REKONQ_TEST_VIRTUAL virtual
+#define REKONQ_TEST_PURE = 0
+#else
+#define REKONQ_TEST_VIRTUAL
+#define REKONQ_TEST_PURE
#endif
// ----------------------------------------------------------------------------------------------------