Skip to content

Commit c37c00f

Browse files
Renaming tcp_dsr_args.hpp and unit test to dsr_args.hpp, to contain both TCP and UDP command line parsing.
1 parent 2beaea9 commit c37c00f

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

test/test_data_blaster/tcp_dsr_args.hpp renamed to test/test_data_blaster/dsr_args.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
*
33
* @ingroup test_module
44
*
5-
* @brief Parse command line arguments for the TCP data sender / receiver (DSR).
5+
* @brief Parse command line arguments for the data sender / receiver (DSR), both
6+
* TCP and UDP (UDP to be implemented later).
67
*
78
* @author (fill in)
89
*
@@ -13,8 +14,8 @@
1314
*
1415
*/
1516

16-
#ifndef TCP_DSR_ARGS_HPP_INCLUDED
17-
#define TCP_DSR_ARGS_HPP_INCLUDED
17+
#ifndef DSR_ARGS_HPP_INCLUDED
18+
#define DSR_ARGS_HPP_INCLUDED
1819

1920
#include <string>
2021
#include <cstddef> // std::size_t

test/test_data_blaster/tcp_dsr_args_test.cpp renamed to test/test_data_blaster/dsr_args_test.cpp

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,27 @@
22
*
33
* @ingroup test_module
44
*
5-
* @brief Unit tests for tcp_dsr_args.hpp.
5+
* @brief Unit tests for dsr_args.hpp.
66
*
77
* @author (fill in)
88
*
9-
* Copyright (c) 2019 by Cliff Green, (fill in)
9+
* Copyright (c) 2019 by (fill in)
1010
*
1111
* Distributed under the Boost Software License, Version 1.0.
1212
* (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
1313
*
1414
*/
1515

1616
#include "catch2/catch.hpp"
17-
#include "test_data_blaster/tcp_dsr_args.hpp"
17+
#include "test_data_blaster/dsr_args.hpp"
1818

1919
TEST_CASE("TCP DSR arguments test", "[tcp_dsr_args_test]") {
2020

2121
}
22+
23+
/*
24+
TEST_CASE("UDP DSR arguments test", "[udp_dsr_args_test]") {
25+
26+
}
27+
*/
28+

0 commit comments

Comments
 (0)