MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / ACE_TMAIN

Function ACE_TMAIN

tests/DCPS/ReadCondition/ReadConditionTest.cpp:239–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239int ACE_TMAIN(int argc, ACE_TCHAR *argv[])
240{
241 int ret = 1;
242 try
243 {
244 using namespace DDS;
245 DomainParticipantFactory_var dpf = TheParticipantFactoryWithArgs(argc, argv);
246 DomainParticipant_var dp = dpf->create_participant(23,
247 PARTICIPANT_QOS_DEFAULT, 0, ::OpenDDS::DCPS::DEFAULT_STATUS_MASK);
248
249 ret = run_test_next_instance(dp);
250 ret += run_test_instance(dp);
251
252 dpf->delete_participant(dp);
253 TheServiceParticipant->shutdown();
254 ACE_Thread_Manager::instance()->wait();
255 }
256 catch (const CORBA::BAD_PARAM& ex)
257 {
258 ex._tao_print_exception("Exception caught in ReadConditionTest.cpp:");
259 return 1;
260 }
261 return ret;
262}

Callers

nothing calls this directly

Calls 8

run_test_next_instanceFunction · 0.85
run_test_instanceFunction · 0.85
instanceFunction · 0.85
delete_participantMethod · 0.80
_tao_print_exceptionMethod · 0.80
create_participantMethod · 0.45
shutdownMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected