Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Jan 25, 2024
1 parent 70ee1a0 commit af91653
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
15 changes: 10 additions & 5 deletions test/integration/twoProcsSrvCallWithoutInput.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ void wrongResponse(const msgs::Vector3d &/*_rep*/, bool /*_result*/)
/// calls.
TEST_F(twoProcSrvCallWithoutInput, SrvTwoProcs)
{
this->SpawnSubprocess({test_executables::kTwoProcsSrvCallWithoutInputReplier});
this->SpawnSubprocess({
test_executables::kTwoProcsSrvCallWithoutInputReplier});
reset();

transport::Node node;
Expand Down Expand Up @@ -120,7 +121,8 @@ TEST_F(twoProcSrvCallWithoutInput, SrvTwoProcs)
/// should verify that the service call does not succeed.
TEST_F(twoProcSrvCallWithoutInput, SrvRequestWrongRep)
{
this->SpawnSubprocess({test_executables::kTwoProcsSrvCallWithoutInputReplier});
this->SpawnSubprocess({
test_executables::kTwoProcsSrvCallWithoutInputReplier});
msgs::Vector3d wrongRep;
bool result;
unsigned int timeout = 1000;
Expand All @@ -147,7 +149,8 @@ TEST_F(twoProcSrvCallWithoutInput, SrvRequestWrongRep)
/// are used.
TEST_F(twoProcSrvCallWithoutInput, SrvTwoRequestsOneWrong)
{
this->SpawnSubprocess({test_executables::kTwoProcsSrvCallWithoutInputReplier});
this->SpawnSubprocess({
test_executables::kTwoProcsSrvCallWithoutInputReplier});
msgs::Int32 goodRep;
msgs::Vector3d badRep;
bool result;
Expand Down Expand Up @@ -182,7 +185,8 @@ TEST_F(twoProcSrvCallWithoutInput, SrvTwoRequestsOneWrong)
/// getting the list of available services.
TEST_F(twoProcSrvCallWithoutInput, ServiceList)
{
this->SpawnSubprocess({test_executables::kTwoProcsSrvCallWithoutInputReplier});
this->SpawnSubprocess({
test_executables::kTwoProcsSrvCallWithoutInputReplier});
reset();

transport::Node node;
Expand Down Expand Up @@ -225,7 +229,8 @@ TEST_F(twoProcSrvCallWithoutInput, ServiceList)
/// getting information about the service.
TEST_F(twoProcSrvCallWithoutInput, ServiceInfo)
{
this->SpawnSubprocess({test_executables::kTwoProcsSrvCallWithoutInputReplier});
this->SpawnSubprocess({
test_executables::kTwoProcsSrvCallWithoutInputReplier});
reset();

transport::Node node;
Expand Down
3 changes: 2 additions & 1 deletion test/integration/twoProcsSrvCallWithoutInputStress.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ static std::string g_topic = "/foo"; // NOLINT(*)
//////////////////////////////////////////////////
TEST_F(twoProcSrvCallWithoutInput, ThousandCalls)
{
this->SpawnSubprocess({test_executables::kTwoProcsSrvCallWithoutInputReplierInc});
this->SpawnSubprocess({
test_executables::kTwoProcsSrvCallWithoutInputReplierInc});

msgs::Int32 response;
bool result;
Expand Down
3 changes: 2 additions & 1 deletion test/integration/twoProcsSrvCallWithoutInputSync1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ static std::string g_topic = "/foo"; // NOLINT(*)
/// the timeout.
TEST_F(twoProcSrvCallWithoutInputSync1, SrvTwoProcs)
{
this->SpawnSubprocess({test_executables::kTwoProcsSrvCallWithoutInputReplier});
this->SpawnSubprocess({
test_executables::kTwoProcsSrvCallWithoutInputReplier});

int64_t timeout = 500;
msgs::Int32 rep;
Expand Down
3 changes: 2 additions & 1 deletion test/integration/twoProcsSrvCallWithoutOutput.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ void reset()
/// verify that the service call does not succeed.
TEST_F(twoProcSrvCallWithoutOutput, SrvRequestWrongReq)
{
this->SpawnSubprocess({test_executables::kTwoProcsSrvCallWithoutOutputReplier});
this->SpawnSubprocess({
test_executables::kTwoProcsSrvCallWithoutOutputReplier});
msgs::Vector3d wrongReq;

wrongReq.set_x(1);
Expand Down
3 changes: 2 additions & 1 deletion test/integration/twoProcsSrvCallWithoutOutputStress.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ static std::string g_topic = "/foo"; // NOLINT(*)
//////////////////////////////////////////////////
TEST_F(twoProcSrvCallWithoutOuput, ThousandCalls)
{
this->SpawnSubprocess({test_executables::kTwoProcsSrvCallWithoutOutputReplierInc});
this->SpawnSubprocess({
test_executables::kTwoProcsSrvCallWithoutOutputReplierInc});

msgs::Int32 req;
transport::Node node;
Expand Down
1 change: 1 addition & 0 deletions test/test_utils.hh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#include <climits>
#include <iostream>
#include <memory>
#include <random>
#include <string>
#include <vector>
Expand Down

0 comments on commit af91653

Please sign in to comment.