diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-10-14 23:01:59 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-10-14 23:01:59 +0000 |
commit | 7bff427daa1cd30ced137ac71cb4177dc9376476 (patch) | |
tree | 187941a090e26bf84dcbb7a883094f6df315a48c /TAO/tests/Abstract_Interface/README | |
parent | 7c86532ccf7e0e71da4a9c46fc4eacdc2380dbc7 (diff) | |
download | ATCD-7bff427daa1cd30ced137ac71cb4177dc9376476.tar.gz |
ChangeLogTag: Mon Oct 14 17:50:12 2002 Jeff Parsons <parsons@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/tests/Abstract_Interface/README')
-rw-r--r-- | TAO/tests/Abstract_Interface/README | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/TAO/tests/Abstract_Interface/README b/TAO/tests/Abstract_Interface/README new file mode 100644 index 00000000000..f4607cafe2a --- /dev/null +++ b/TAO/tests/Abstract_Interface/README @@ -0,0 +1,49 @@ +# $Id$ + +Description: + +This code contains some simple tests of abstract interfaces. + +Note: + +The test for passing state with a valuetype is based on the code +in TAO/tests/OBV/Forward. A simple valuetype tree is constructed +by defining valuetypes that can contain other valuetypes as a root +or as left and right branches. All nodes also contain a string name. +The tree is constructed on the server side and the root is passed back to the +client in an OUT argument as an abstract interface. The valuetype +is extracted, and the contents of the tree are displayed. + +The other two tests are for operations of an interface passed as an +abstract interface. A derived interface is passed to the client in +an OUT argument as an abstract interface which is the parent of the +derived interface's base class. The base class operation is called +directly on the abstract interface by the client. Then the interface +itself is extracted and cast to the derived type. Finally, both the +base class and the derived class operations are called by the client. + +In the final test, an operation called on the abstract interface +is made to throw a user exception deliberately to test exception +handling. + +Usage: + +The server will put the passer object's IOR into a file with a default +name known to the client. However, the filename may be changed with: + +$ server -o <filename> + +in which case the client should be run as follows: + +$ client -k file://<filename> + +Other client command line options: + +-d Enable test output for debugging +-s Test the passing of state only +-o Test operations only +-e Test exception handling only + +The last three options are mutually exclusive and will override +any previous test selection options. The default behavior is to run +all three tests.
\ No newline at end of file |