Skip to content

Commit 7af5619

Browse files
committed
Fix error in decprecated tests
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
1 parent d47cd75 commit 7af5619

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/blackbox/api/fastrtps_deprecated/PubSubReader.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ class PubSubReader
602602
}
603603

604604
#if HAVE_SECURITY
605-
void waitAuthorized(
605+
void wait_authorized(
606606
std::chrono::seconds timeout = std::chrono::seconds::zero(),
607607
unsigned int expected = 1)
608608
{
@@ -628,7 +628,7 @@ class PubSubReader
628628
std::cout << "Reader authorization finished..." << std::endl;
629629
}
630630

631-
void waitUnauthorized()
631+
void wait_unauthorized()
632632
{
633633
std::unique_lock<std::mutex> lock(mutexAuthentication_);
634634

test/blackbox/api/fastrtps_deprecated/PubSubWriter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ class PubSubWriter
563563
}
564564

565565
#if HAVE_SECURITY
566-
void waitAuthorized(
566+
void wait_authorized(
567567
std::chrono::seconds timeout = std::chrono::seconds::zero(),
568568
unsigned int expected = 1)
569569
{

test/blackbox/api/fastrtps_deprecated/PubSubWriterReader.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ class PubSubWriterReader
533533
}
534534

535535
#if HAVE_SECURITY
536-
void waitAuthorized(
536+
void wait_authorized(
537537
unsigned int how_many = 1)
538538
{
539539
std::unique_lock<std::mutex> lock(mutexAuthentication_);
@@ -549,7 +549,7 @@ class PubSubWriterReader
549549
std::cout << "WReader authorization finished..." << std::endl;
550550
}
551551

552-
void waitUnauthorized(
552+
void wait_unauthorized(
553553
unsigned int how_many = 1)
554554
{
555555
std::unique_lock<std::mutex> lock(mutexAuthentication_);

0 commit comments

Comments
 (0)