diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-09-09 10:08:01 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-14 08:50:47 +0300 |
commit | b10895dd611057bf09c8142d9ebb55263db4faf0 (patch) | |
tree | c3577fb00fe4212f90e1fd283d7fb8bda975a775 /src/rekonq_test.hpp | |
parent | Add clazy cmake preset (diff) | |
download | rekonq-RKNQ-11-main-window.tar.xz |
Rework SearchEngineRKNQ-11-main-window
Diffstat (limited to 'src/rekonq_test.hpp')
-rw-r--r-- | src/rekonq_test.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/rekonq_test.hpp b/src/rekonq_test.hpp new file mode 100644 index 00000000..ff30b8cf --- /dev/null +++ b/src/rekonq_test.hpp @@ -0,0 +1,27 @@ +/* ============================================================ + * The rekonq project + * ============================================================ + * SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2022 aqua <aqua@iserlohn-fortress.net> + * ============================================================ + * Description: rekonq test definitions + * ============================================================ */ + +#pragma once + +// GTest and GMock +#include <gtest/gtest.h> + +// ------------------------------------------------------------ +// UNIT TESTS NEED + +#ifdef REKONQ_TEST +#define REKONQ_TEST_VIRTUAL virtual +#define REKONQ_TEST_PURE = 0 +#else +#define REKONQ_TEST_VIRTUAL +#define REKONQ_TEST_PURE +#endif + +// ------------------------------------------------------------ +// GTest Matchers |