summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/PolicyFactory/README
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/PolicyFactory/README')
-rw-r--r--TAO/tests/Portable_Interceptors/PolicyFactory/README26
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/tests/Portable_Interceptors/PolicyFactory/README b/TAO/tests/Portable_Interceptors/PolicyFactory/README
new file mode 100644
index 00000000000..b9ba6219524
--- /dev/null
+++ b/TAO/tests/Portable_Interceptors/PolicyFactory/README
@@ -0,0 +1,26 @@
+# $Id$
+
+This test verifies that PolicyFactory support is working properly.
+Working PolicyFactory support requires the following on the server side:
+
+1) Ability to register a PolicyFactory through the
+ ORBInitInfo::register_policy_factory() method.
+2) Ability to create a policy through that PolicyFactory.
+3) Ability to create a POA containing that policy, even if the policy
+ is not meant to be used by the POA.
+4) Retrieve the created policy from the POA's policy list via the
+ IORInfo::get_effective_policy() method.
+
+The client side only requires a subset of this list, i.e. items (1)
+and (2), for working PolicyFactory support, so testing the server side
+is enough.
+
+Run the test as follows:
+
+ $ perl run_test.pl
+
+Output should be very similar to the following:
+
+==== Running PolicyFactory test
+
+PolicyFactory test succeeded.