Skip to content

Commit

Permalink
Address reviewer feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Nov 27, 2023
1 parent a07d9f7 commit 03d7a27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
15 changes: 3 additions & 12 deletions log/test/integration/ChirpParams.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 Open Source Robotics Foundation
* Copyright (C) 2023 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -17,22 +17,13 @@

#include "ChirpParams.hh"

#include <string>
#include <vector>

static constexpr const char* kTopicChirpExe = TOPIC_CHIRP_EXE;

namespace gz::transport::log::test
{
//////////////////////////////////////////////////
/// \brief Similar to testing::forkAndRun(), except this function
/// specifically calls the INTEGRATION_topicChirp_aux process and passes
/// it arguments to determine how it should chirp out messages over its
/// topics.
/// \param _topics A list of topic names to chirp on
/// \param _chirps The number of messages to chirp out. Each message
/// will count up starting from the value 1 and ending with the value
/// _chirps.
/// \return A handle to the process. This can be used with
/// testing::waitAndCleanupFork().
gz::utils::Subprocess BeginChirps(
const std::vector<std::string> &_topics,
const int _chirps,
Expand Down
5 changes: 3 additions & 2 deletions log/test/integration/ChirpParams.hh
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ namespace gz::transport::log::test
/// specifically calls the INTEGRATION_topicChirp_aux process and passes
/// it arguments to determine how it should chirp out messages over its
/// topics.
/// \param _topics A list of topic names to chirp on
/// \param _chirps The number of messages to chirp out. Each message
/// \param[in] _topics A list of topic names to chirp on
/// \param[in] _chirps The number of messages to chirp out. Each message
/// will count up starting from the value 1 and ending with the value
/// _chirps.
/// \param[in] _paritionName Gz transport partition to use for the test
/// \return A handle to the process. This can be used with
/// testing::waitAndCleanupFork().
gz::utils::Subprocess BeginChirps(
Expand Down

0 comments on commit 03d7a27

Please sign in to comment.