summaryrefslogtreecommitdiff
path: root/ACE/TAO/tests/Multiple/README
blob: 069e8d9bfd216c141c224a868cddb5c4c32f9f3e (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<$Id$>

This test make sure that the collocation scheme works fine in case
of diamond shaped multiple inheritance.  The case taken into account
is the following:

                      Top
                     /   \
                 Left     Right
                     \   /
                    Bottom

The IDL file Multiple.idl, defines four IDL interface that satisfy
the relation expressed by the former figure.

The test is designed in such a way that error caused by the wrong
behaviour are detected and signaled.

To run the test you can do the following:

1. Unix Like platform

$ make-----------------------<BOTTOM>-------------------------------
The Test Completed Successfully. Congratulations!


Calling ShutDown on Top.


D:\Devel\ACE_wrappers\TAO\tests\Multiple>Client.exe


$ run_test.pl

-or-

$ server
$ client

In this case the the ORB will use *ThruPOA* collocation for non RT-CORBA
applications.

$ server -ORBCollocationStrategy direct
$ client

In this case the ORB will use *Direct* collocation for non RT-CORBA
applications.

$ server -ORBCollocation no
$ client

Collocation is disabled in this case.

The right output of the client should in any case be the one outlined
below. Anyhow the test is self checking so it will detect wrong answer
caused by weirdness in the collocation.


------------------------<TOP>-------------------------------


Calling all method supported by the Interface Top

Call to <top_quote> returned with success: Ciao

------------------------<TOP>-------------------------------

------------------------<LEFT>-------------------------------


Calling all method supported by the Interface Left

Call to <top_quote> returned with success: Ciao
Call to <left_quote> returned with success: Hola

------------------------<LEFT>-------------------------------

------------------------<RIGHT>-------------------------------


Calling all method supported by the Interface Right

Call to <top_quote> returned with success: Ciao
Call to <right_quote> returned with success: Hello

------------------------<RIGHT>-------------------------------

-----------------------<BOTTOM>-------------------------------


Calling all method supported by the Interface Bottom

Call to <top_quote> returned with success: Ciao
Call to <left_quote> returned with success: Hola
Call to <right_quote> returned with success: Hello
Call to <bottom_quote> returned with success: Previet

-----------------------<BOTTOM>-------------------------------


The Test Completed Successfully. Congratulations!

Calling ShutDown on Top.