Skip to content

Commit

Permalink
TypeSupportPlugin Should Use ConsolidatedMessenger
Browse files Browse the repository at this point in the history
  • Loading branch information
iguessthislldo committed Jun 6, 2024
1 parent 0928f86 commit d46f463
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 34 deletions.
15 changes: 1 addition & 14 deletions tests/DCPS/TypeSupportPlugin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
/TypeSupportPluginUser
/TypeSupportPluginC.cpp
/TypeSupportPluginC.h
/TypeSupportPluginC.inl
/TypeSupportPluginS.cpp
/TypeSupportPluginS.h
/TypeSupportPluginTypeSupportC.cpp
/TypeSupportPluginTypeSupportC.h
/TypeSupportPluginTypeSupportC.inl
/TypeSupportPluginTypeSupport.idl
/TypeSupportPluginTypeSupportImpl.cpp
/TypeSupportPluginTypeSupportImpl.h
/TypeSupportPluginTypeSupportS.cpp
/TypeSupportPluginTypeSupportS.h
/TypeSupportPlugin
4 changes: 2 additions & 2 deletions tests/DCPS/TypeSupportPlugin/TypeSupportPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ int ACE_TMAIN(int argc, ACE_TCHAR* argv[])
DDS::DomainParticipantFactory_var dpf = TheParticipantFactoryWithArgs(argc, argv);

ACE_DLL ts_plugin;
if (ts_plugin.open(ACE_TEXT("TypeSupportPlugin"))) {
if (ts_plugin.open(ACE_TEXT("ConsolidatedMessengerIdl"))) {
ACE_ERROR((LM_ERROR, "ERROR: Failed to open the type support library\n"));
return 1;
}

const char* type_name = "TopicType";
const char* const type_name = "Messenger::Message";
ACE_DEBUG((LM_DEBUG, "Getting TypeSupport for %C\n", type_name));
DDS::TypeSupport_var ts = Registered_Data_Types->lookup(0, type_name);
if (!ts) {
Expand Down
5 changes: 0 additions & 5 deletions tests/DCPS/TypeSupportPlugin/TypeSupportPlugin.idl

This file was deleted.

13 changes: 1 addition & 12 deletions tests/DCPS/TypeSupportPlugin/TypeSupportPlugin.mpc
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
project(TypeSupportPlugin): dcps_test {
TypeSupport_Files {
dcps_ts_flags += -Gxtypes-complete
TypeSupportPlugin.idl
}

Source_Files {
}
}

project(TypeSupportPluginUser): dcps_test {
exename = TypeSupportPluginUser
project: dcps_cm {
Source_Files {
TypeSupportPlugin.cpp
}
Expand Down
4 changes: 3 additions & 1 deletion tests/DCPS/TypeSupportPlugin/run_test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
use lib "$ENV{DDS_ROOT}/bin";
use PerlDDS::Run_Test;

PerlDDS::add_lib_path('../ConsolidatedMessengerIdl');

my $test = new PerlDDS::TestFramework();
$test->process('test', 'TypeSupportPluginUser', join(' ', @ARGV));
$test->process('test', 'TypeSupportPlugin', join(' ', @ARGV));
$test->start_process('test');
exit $test->finish(60);

0 comments on commit d46f463

Please sign in to comment.