diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-09-24 14:16:26 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-09-24 14:16:26 +0000 |
commit | 12cd15881b0925faaf83c01404f2d7e63075551c (patch) | |
tree | 9e44de81c421f598f92e2c04b6f5fc4e5718c83e /TAO/orbsvcs/tests | |
parent | 735f7b6d8ba95a4f761325e308d357efed955b0d (diff) | |
download | ATCD-12cd15881b0925faaf83c01404f2d7e63075551c.tar.gz |
ChangeLogTag:Wed Sep 24 09:12:42 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/orbsvcs/tests')
-rw-r--r-- | TAO/orbsvcs/tests/FaultTolerance/IOGR/Makefile | 2 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/FaultTolerance/IOGR/svc.conf | 1 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/IOGRTest.cpp | 23 |
3 files changed, 24 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/FaultTolerance/IOGR/Makefile b/TAO/orbsvcs/tests/FaultTolerance/IOGR/Makefile index bc65a7fb265..c83ed85bc05 100644 --- a/TAO/orbsvcs/tests/FaultTolerance/IOGR/Makefile +++ b/TAO/orbsvcs/tests/FaultTolerance/IOGR/Makefile @@ -50,7 +50,7 @@ include $(TAO_ROOT)/taoconfig.mk TAO_FT_LIBS = -lTAO_FTORB -lTAO_IORManip server: $(addprefix $(VDIR),$(SERVER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(TAO_FT_LIBS) $(TAO_SRVR_LIBS) $(POSTLINK) + $(LINK.cc) $(LDFLAGS) -o $@ $^ $(TAO_SRVR_LIBS) $(POSTLINK) Manager: $(addprefix $(VDIR),$(MANAGER_OBJS)) $(LINK.cc) $(LDFLAGS) -o $@ $^ $(TAO_FT_LIBS) $(TAO_SRVR_LIBS) $(POSTLINK) diff --git a/TAO/orbsvcs/tests/FaultTolerance/IOGR/svc.conf b/TAO/orbsvcs/tests/FaultTolerance/IOGR/svc.conf deleted file mode 100644 index d00009e7fee..00000000000 --- a/TAO/orbsvcs/tests/FaultTolerance/IOGR/svc.conf +++ /dev/null @@ -1 +0,0 @@ -dynamic FT_Service_Activate Service_Object * TAO_FTORB:_make_TAO_FT_Service_Activate() "" diff --git a/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/IOGRTest.cpp b/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/IOGRTest.cpp index ffcb018c058..1fee2721fe0 100644 --- a/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/IOGRTest.cpp +++ b/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/IOGRTest.cpp @@ -163,6 +163,29 @@ main (int argc, char *argv[]) ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; + /// Extract the property + FT::TagFTGroupTaggedComponent ftc; + TAO_FT_IOGR_Property tmp_prop; + + retval = + tmp_prop.get_tagged_component (merged.in (), + ftc + ACE_ENV_ARG_PARAMETER); + + ACE_TRY_CHECK; + + ACE_DEBUG ((LM_DEBUG, + "(%P|%t) Testing for tagged component \n")); + + + if ((ftc.object_group_ref_version != 5) && + (ftc.object_group_id != 10)) + ACE_ERROR ((LM_ERROR, + "%P|%t) Not working right \n")); + + + + if (retval) ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\tWe have set the property\n"))); |