Skip to content

Commit

Permalink
test: rename test_helpers to test_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
deniskovalchuk committed Mar 26, 2024
1 parent d8bbf88 commit b092f02
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
2 changes: 1 addition & 1 deletion test/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#include <ftp/observer.hpp>
#include <ftp/stream/istream_adapter.hpp>
#include <ftp/stream/ostream_adapter.hpp>
#include "test_helpers.hpp"
#include "test_server.hpp"
#include "test_utils.hpp"

namespace
{
Expand Down
2 changes: 1 addition & 1 deletion test/file_list_reply.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <ftp/file_list_reply.hpp>
#include "test_helpers.hpp"
#include "test_utils.hpp"

namespace
{
Expand Down
2 changes: 1 addition & 1 deletion test/replies.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <gtest/gtest.h>
#include <ftp/replies.hpp>
#include "test_helpers.hpp"
#include "test_utils.hpp"

namespace
{
Expand Down
2 changes: 1 addition & 1 deletion test/test_helpers.cpp → test/test_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

#include <gtest/gtest.h>
#include "test_helpers.hpp"
#include "test_utils.hpp"

namespace ftp::test
{
Expand Down
6 changes: 3 additions & 3 deletions test/test_helpers.hpp → test/test_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <string>
#include <string_view>
Expand Down Expand Up @@ -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

0 comments on commit b092f02

Please sign in to comment.