diff options
Diffstat (limited to 'ACE/TAO/orbsvcs/tests/InterfaceRepo/IFR_Inheritance_Test/README')
-rw-r--r-- | ACE/TAO/orbsvcs/tests/InterfaceRepo/IFR_Inheritance_Test/README | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/tests/InterfaceRepo/IFR_Inheritance_Test/README b/ACE/TAO/orbsvcs/tests/InterfaceRepo/IFR_Inheritance_Test/README new file mode 100644 index 00000000000..5948342f0c9 --- /dev/null +++ b/ACE/TAO/orbsvcs/tests/InterfaceRepo/IFR_Inheritance_Test/README @@ -0,0 +1,75 @@ +$Id$ + +This is a simple test showing that Interface inheritance +is supported by the Interface Repository. + + --- The test should output: --- +operation InterfaceRoot::get_root +operation InterfaceRoot::get_all_roots +attribute InterfaceRoot::root_attr1 +attribute InterfaceRoot::root_attr2 +attribute InterfaceRoot::root_attr3 +operation SubInterface::get_root +operation SubInterface::get_all_roots +operation SubInterface::set_sub +operation SubInterface::get_all_subs +attribute SubInterface::root_attr1 +attribute SubInterface::root_attr2 +attribute SubInterface::root_attr3 +attribute SubInterface::sub_attr1 +attribute SubInterface::sub_attr2 + +Thanks to Bryan Cassell <BryanCassell@iti-team.com> for identifying +problem and providing non-automated test code. + + +To build this test, the TAO library, the TypeCodeFactory +library, the Interface Repository (the last two found in +TAO/orbsvcs/IFR_Service), and these test files must all be built. +In addition, the Interface Repository requires the TAO_Svc_Utils +library in TAO/orbsvcs/orbsvcs. + +To run this test, either use the Perl script run_test.pl, or + + + +(Windows) +start the Interface Repository by typing + + ..\..\..\IFR_Service\IFR_Service + +in one window, then (in another window) + +REM may need this to avoid error finding CL.EXE +"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" + +%ACE_ROOT%\bin\tao_ifr IFR_Inheritance_Test.idl -ORBInitRef InterfaceRepository=file://if_repo.ior + +and then + + IFR_Inheritance_Test -ORBInitRef InterfaceRepository=file://if_repo.ior + +(Unix) +in this directory, type + + ../../../IFR_Service/IFR_Service & + +then + +%TAO_ROOT%/orbsvcs/IFR_Service/tao_ifr IFR_Inheritance_Test.idl -ORBInitRef InterfaceRepository=file://if_repo.ior + +and then + ./IFR_Inheritance_Test -ORBInitRef InterfaceRepository=file://if_repo.ior + + + +You may use IP multicast discovery by starting the server with "-m 1" +and use the default multicast address for the InterfaceRepository. + + ../../../IFR_Service/IFR_Service -m 1 + +and + + ./IFR_Inheritance_Test + +- Scott Harris <harris_s@ociweb.com>
\ No newline at end of file |