Skip to content

Commit

Permalink
iox-#27 Add popo::UntypedServer to test
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hoinkis <[email protected]>
  • Loading branch information
mossmaurice committed Feb 22, 2022
1 parent cacb5d4 commit 4912d9d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions iceoryx_posh/test/integrationtests/test_service_discovery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "iceoryx_posh/iceoryx_posh_types.hpp"
#include "iceoryx_posh/popo/listener.hpp"
#include "iceoryx_posh/popo/untyped_publisher.hpp"
#include "iceoryx_posh/popo/untyped_server.hpp"
#include "iceoryx_posh/popo/wait_set.hpp"
#include "iceoryx_posh/runtime/posh_runtime.hpp"
#include "iceoryx_posh/runtime/service_discovery.hpp"
Expand Down Expand Up @@ -50,8 +51,7 @@ struct Publisher

struct Server
{
/// @todo #27 Replace with iox::popo::UntypedServer once available
using Producer = iox::popo::UntypedPublisher;
using Producer = iox::popo::UntypedServer;
static constexpr MessagingPattern KIND{MessagingPattern::REQ_RES};
};

Expand Down Expand Up @@ -726,8 +726,7 @@ TEST_F(ServiceDiscoveryPubSub_test, FindServiceWithPublisherAndServerWithTheSame
const iox::capro::ServiceDescription SERVICE_DESCRIPTION("Curry", "Chicken tikka", "Ginger");

iox::popo::UntypedPublisher publisher(SERVICE_DESCRIPTION);
/// @todo #27 Replace the type of server with popo::UntypedServer once available
iox::popo::UntypedPublisher server(SERVICE_DESCRIPTION);
iox::popo::UntypedServer server(SERVICE_DESCRIPTION);

auto serviceContainerPubSub = this->sut.findService(SERVICE_DESCRIPTION.getServiceIDString(),
SERVICE_DESCRIPTION.getInstanceIDString(),
Expand Down

0 comments on commit 4912d9d

Please sign in to comment.