Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (NOT Catch2_FOUND)
FetchContent_Declare(
Catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v2.13.9)
GIT_TAG v3.5.3)

FetchContent_MakeAvailable(Catch2)

Expand All @@ -35,7 +35,7 @@ add_executable(
target_include_directories(unit_tests PUBLIC ${CATCH_MODULE_PATH})
target_link_libraries(
unit_tests
PRIVATE Catch2::Catch2
PRIVATE Catch2::Catch2WithMain
PRIVATE cppzmq
PRIVATE ${CMAKE_THREAD_LIBS_INIT}
)
Expand Down
2 changes: 1 addition & 1 deletion tests/buffer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq.hpp>

#ifdef ZMQ_CPP17
Expand Down
2 changes: 1 addition & 1 deletion tests/codec_multipart.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq_addon.hpp>

#ifdef ZMQ_CPP11
Expand Down
2 changes: 1 addition & 1 deletion tests/context.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq.hpp>

#if (__cplusplus >= 201703L)
Expand Down
3 changes: 1 addition & 2 deletions tests/message.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#define CATCH_CONFIG_MAIN
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq.hpp>

#if defined(ZMQ_CPP11)
Expand Down
2 changes: 1 addition & 1 deletion tests/multipart.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq_addon.hpp>

#ifdef ZMQ_HAS_RVALUE_REFS
Expand Down
2 changes: 1 addition & 1 deletion tests/recv_multipart.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq_addon.hpp>
#ifdef ZMQ_CPP11

Expand Down
2 changes: 1 addition & 1 deletion tests/send_multipart.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq_addon.hpp>
#ifdef ZMQ_CPP11

Expand Down
2 changes: 1 addition & 1 deletion tests/socket.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq.hpp>
#ifdef ZMQ_CPP11
#include <future>
Expand Down
2 changes: 1 addition & 1 deletion tests/socket_ref.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq.hpp>
#ifdef ZMQ_CPP11

Expand Down
2 changes: 1 addition & 1 deletion tests/testutil.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq.hpp>

#if defined(ZMQ_CPP11)
Expand Down
2 changes: 1 addition & 1 deletion tests/utilities.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include <zmq.hpp>

#if defined(ZMQ_CPP11) && !defined(ZMQ_CPP11_PARTIAL)
Expand Down