From b092f0215e47c1660771969396dcf68f032da6ca Mon Sep 17 00:00:00 2001 From: deniskovalchuk Date: Wed, 27 Mar 2024 00:55:59 +0300 Subject: [PATCH] test: rename test_helpers to test_utils --- test/CMakeLists.txt | 4 ++-- test/client.cpp | 2 +- test/file_list_reply.cpp | 2 +- test/replies.cpp | 2 +- test/{test_helpers.cpp => test_utils.cpp} | 2 +- test/{test_helpers.hpp => test_utils.hpp} | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) rename test/{test_helpers.cpp => test_utils.cpp} (98%) rename test/{test_helpers.hpp => test_utils.hpp} (95%) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 8b6163b2..bc861013 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -22,9 +22,9 @@ set(sources net_utils.cpp replies.cpp reply.cpp - test_helpers.cpp - test_helpers.hpp test_server.hpp + test_utils.cpp + test_utils.hpp utils.cpp) source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" FILES ${sources}) diff --git a/test/client.cpp b/test/client.cpp index 8cdaa6a4..6d66d98d 100644 --- a/test/client.cpp +++ b/test/client.cpp @@ -31,8 +31,8 @@ #include #include #include -#include "test_helpers.hpp" #include "test_server.hpp" +#include "test_utils.hpp" namespace { diff --git a/test/file_list_reply.cpp b/test/file_list_reply.cpp index 771622b5..0bab8f4e 100644 --- a/test/file_list_reply.cpp +++ b/test/file_list_reply.cpp @@ -25,7 +25,7 @@ #include #include #include -#include "test_helpers.hpp" +#include "test_utils.hpp" namespace { diff --git a/test/replies.cpp b/test/replies.cpp index 9227807c..6dc190f9 100644 --- a/test/replies.cpp +++ b/test/replies.cpp @@ -24,7 +24,7 @@ #include #include -#include "test_helpers.hpp" +#include "test_utils.hpp" namespace { diff --git a/test/test_helpers.cpp b/test/test_utils.cpp similarity index 98% rename from test/test_helpers.cpp rename to test/test_utils.cpp index 0833809c..dc43f515 100644 --- a/test/test_helpers.cpp +++ b/test/test_utils.cpp @@ -23,7 +23,7 @@ */ #include -#include "test_helpers.hpp" +#include "test_utils.hpp" namespace ftp::test { diff --git a/test/test_helpers.hpp b/test/test_utils.hpp similarity index 95% rename from test/test_helpers.hpp rename to test/test_utils.hpp index 6a2d8838..42e1f8ad 100644 --- a/test/test_helpers.hpp +++ b/test/test_utils.hpp @@ -22,8 +22,8 @@ * SOFTWARE. */ -#ifndef LIBFTP_TEST_HELPERS_HPP -#define LIBFTP_TEST_HELPERS_HPP +#ifndef LIBFTP_TEST_UTILS_HPP +#define LIBFTP_TEST_UTILS_HPP #include #include @@ -57,4 +57,4 @@ std::string LF(const std::string & str, Strings && ...strs) } } // namespace ftp::test -#endif //LIBFTP_TEST_HELPERS_HPP +#endif //LIBFTP_TEST_UTILS_HPP