3 This is to test the functionality of the Object Reference Template and
4 the various other conditions that have to be met according to the ORT
7 The various conditions that are tested here are
9 1. That establish_components() and then the components_established()
10 method is called every time a new POA is created.
12 For this, I just create some POAs and keep a count on how
13 many times the establish components is called.
15 2. An ORT is initialized every time a new POA is created.
17 3. Check the identity of the ORT using the adapter_name() and such other
18 methods in the Object Reference Template abstract valuetype.
20 The server and the client are just simple. There will be an
21 interceptor whose establish_components() and components_established()
22 methods should be invoked when a POA is created.
24 4. The other thing to test is that when ever the state of the POA
25 manager changes, the adapter_manager_state_changed() method is
26 invoked. I am not going to do anything about it .. may be just have a
29 5. And, of course that the application's implementation of the
30 make_object() is invoked. I wont do anything in it .. just call
31 create_reference_with_id() again .. may be.
33 6. Simple checks are for checking if -ORBId and -ORBServerId are
34 working. But, this can be checked by passing command line parameters
35 and invoking the corresponding functions to check if they are working
43 ./server -o server.ior -ORBId ORT_test_ORB -ORBServerId ORT_test_server
47 ./client -k file://server.ior