blob: 3a54de29adf05f0c6b02050726b90369832cdc80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
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>
|