Skip to content

Commit

Permalink
Update this test because TAO_Stub::add_forward_profiles now alls next…
Browse files Browse the repository at this point in the history
…_profile itself

    * TAO/tests/Permanent_Forward/StubTest.cpp:
  • Loading branch information
jwillemsen committed Jan 25, 2025
1 parent 566229d commit 481cc80
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions TAO/tests/Permanent_Forward/StubTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ is_endpoint (TAO_Profile *profile, const char *host, unsigned short port)
const char * endpoint_host = iiop_endpoint->host();
unsigned short endpoint_port = iiop_endpoint->port();

bool retval =
bool const retval =
ACE_OS::strcmp (endpoint_host, host)==0
&& endpoint_port == port;

Expand All @@ -58,7 +58,7 @@ equal_endpoint (TAO_Profile *profile, TAO_Profile *other)
const char * other_endpoint_host = other_iiop_endpoint->host();
unsigned short other_endpoint_port = other_iiop_endpoint->port();

bool retval =
bool const retval =
ACE_OS::strcmp (endpoint_host, other_endpoint_host)==0
&& endpoint_port == other_endpoint_port;

Expand Down Expand Up @@ -112,7 +112,7 @@ test_forward_permanent (CORBA::ORB_ptr orb)

FRANKS_ASSERT (stub1->forward_profiles () != 0);

profile = stub1->next_profile ();
profile = stub1->profile_in_use ();

FRANKS_ASSERT (is_endpoint (profile, "192.168.1.2", 4444));

Expand Down Expand Up @@ -165,7 +165,7 @@ test_forward_permanent_mix (CORBA::ORB_ptr orb)

FRANKS_ASSERT (stub1->forward_profiles () != 0);

profile = stub1->next_profile ();
profile = stub1->profile_in_use ();

FRANKS_ASSERT (is_endpoint (profile, "192.168.1.2", 2222));

Expand All @@ -174,7 +174,7 @@ test_forward_permanent_mix (CORBA::ORB_ptr orb)

FRANKS_ASSERT (stub1->forward_profiles () != 0);

profile = stub1->next_profile ();
profile = stub1->profile_in_use ();

FRANKS_ASSERT (is_endpoint (profile, "192.168.1.2", 3333));

Expand All @@ -186,7 +186,7 @@ test_forward_permanent_mix (CORBA::ORB_ptr orb)

FRANKS_ASSERT (stub1->forward_profiles () != 0);

profile = stub1->next_profile ();
profile = stub1->profile_in_use ();

FRANKS_ASSERT (is_endpoint (profile, "192.168.1.2", 4444));

Expand All @@ -203,7 +203,7 @@ test_forward_permanent_mix (CORBA::ORB_ptr orb)

FRANKS_ASSERT (stub1->forward_profiles () != 0);

profile = stub1->next_profile ();
profile = stub1->profile_in_use ();

FRANKS_ASSERT (is_endpoint (profile, "192.168.1.2", 2222));

Expand All @@ -212,7 +212,7 @@ test_forward_permanent_mix (CORBA::ORB_ptr orb)

FRANKS_ASSERT (stub1->forward_profiles () != 0);

profile = stub1->next_profile ();
profile = stub1->profile_in_use ();

FRANKS_ASSERT (is_endpoint (profile, "192.168.1.2", 3333));

Expand All @@ -224,7 +224,7 @@ test_forward_permanent_mix (CORBA::ORB_ptr orb)

FRANKS_ASSERT (stub1->forward_profiles () != 0);

profile = stub1->next_profile ();
profile = stub1->profile_in_use ();

FRANKS_ASSERT (is_endpoint (profile, "192.168.1.2", 5555));

Expand Down Expand Up @@ -270,7 +270,7 @@ test_forward (CORBA::ORB_ptr orb)

FRANKS_ASSERT (stub1->forward_profiles () != 0);

profile = stub1->next_profile ();
profile = stub1->profile_in_use ();

FRANKS_ASSERT (is_endpoint (profile, "192.168.1.2", 2222));

Expand All @@ -280,7 +280,7 @@ test_forward (CORBA::ORB_ptr orb)

FRANKS_ASSERT (stub1->forward_profiles () != 0);

profile = stub1->next_profile ();
profile = stub1->profile_in_use ();

FRANKS_ASSERT (is_endpoint (profile, "192.168.1.2", 3333));

Expand Down

0 comments on commit 481cc80

Please sign in to comment.