Skip to content
Snippets Groups Projects
Unverified Commit 4e984fe6 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

Relocate catch2 helper macros from alib2std

It really makes no sense to have it inside alib2std component. Moved
into separate tests/ folder.
parent 32527bb7
No related branches found
No related tags found
1 merge request!154Dev tp cmake ci
Pipeline #83462 passed with warnings
......@@ -34,6 +34,7 @@ include(CTest)
if(BUILD_TESTING)
include(Catch)
add_subdirectory(lib/catch2)
include_directories(${PROJECT_SOURCE_DIR}/tests)
configure_file(
${PROJECT_SOURCE_DIR}/CMake/configure_tests.hpp.in
${PROJECT_BINARY_DIR}/configure_tests.hpp
......
#include <catch2/extensions/HelperMacros.h>
#include <testing.h>
 
#include "sax/SaxParseInterface.h"
#include "sax/SaxComposeInterface.h"
......
#include <catch2/extensions/HelperMacros.h>
#include <testing.h>
 
#include <alib/functional>
 
......
#include <catch2/extensions/HelperMacros.h>
#include <testing.h>
 
#include <alib/string>
#include <alib/iostream>
......
#include <catch2/catch.hpp>
#include <catch2/extensions/HelperMacros.h>
#include <testing.h>
#include <alib/variant>
#include <alib/set>
#include <alib/algorithm>
......
#ifndef _ALIB2STD_CATCH2_
#define _ALIB2STD_CATCH2_
#ifndef _ALT_CATCH2_HELPERS_
#define _ALT_CATCH2_HELPERS_
 
#include <catch2/catch.hpp>
 
......@@ -8,4 +8,4 @@
#define REQUIRE_IMPLY(x,y) REQUIRE ( ( ! ( x ) || ( y ) ) )
#define REQUIRE_EXCLUSIVE_OR(x,y) REQUIRE ( ( ( !( x ) && ( y ) ) || ( ( x ) && !( y ) ) ) )
 
#endif /* _ALIB2STD_CATCH2_ */
#endif /* _ALT_CATCH2_HELPERS_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment