3 This test verifies that PolicyFactory support is working properly.
4 Working PolicyFactory support requires the following on the server side:
6 1) Ability to register a PolicyFactory through the
7 ORBInitInfo::register_policy_factory() method.
8 2) Ability to create a policy through that PolicyFactory.
9 3) Ability to create a POA containing that policy, even if the policy
10 is not meant to be used by the POA.
11 4) Retrieve the created policy from the POA's policy list via the
12 IORInfo::get_effective_policy() method.
14 The client side only requires a subset of this list, i.e. items (1)
15 and (2), for working PolicyFactory support, so testing the server side
18 Run the test as follows:
22 Output should be very similar to the following:
24 ==== Running PolicyFactory test
26 PolicyFactory test succeeded.