summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortworm <tworm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-10 18:11:02 +0000
committertworm <tworm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-10 18:11:02 +0000
commitcc33561d5fccc33a5868e298b31dfe54ea02cc40 (patch)
treea69159369d17f3f6d5613dc678c0f3b609e35f92
parentdd1bb510cbd47891aff2cec885a2a1b8ce6d634e (diff)
downloadATCD-cc33561d5fccc33a5868e298b31dfe54ea02cc40.tar.gz
Added section about implementation
-rw-r--r--TAO/orbsvcs/tests/Concurrency/README35
1 files changed, 33 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/Concurrency/README b/TAO/orbsvcs/tests/Concurrency/README
index 94ac73e20e5..07fd0ced426 100644
--- a/TAO/orbsvcs/tests/Concurrency/README
+++ b/TAO/orbsvcs/tests/Concurrency/README
@@ -49,7 +49,8 @@ repeat command just sets a global variable in the test, i.e. the last
repeat command is the one that will take effect - the whole script is
run the specified number of times.
-An example of a script (assuming it's called 'test.cfg'):
+An example of a script (assuming it's called 'test.cfg' - comments are
+not supported):
// Start a new CC_client with test.txt as script file
start test.txt;
@@ -77,4 +78,34 @@ directory:
extended_tests.cfg The same as running ./CC_client -e '1;test'
./CC_client -e '2;test'
./CC_client -e '3;test'
- test.dinphil Dining philosophers. Uses test.phil[1-5] \ No newline at end of file
+ test.dinphil Dining philosophers. Uses test.phil[1-5]
+
+----------------------------------------
+
+THE IMPLEMENTATION
+
+The implementation of the concurrency service tests is located in
+the $TAO_ROOT/orbsvcs/tests/Concurrency directory and consists of
+the following files:
+
+ CC_client.{h,cpp} contain initialization and the main function.
+
+ CC_tests.{h,cpp} The old tests [-b] and [-e] options to CC_client
+
+ CC_command.{h,cpp} The commands that can be used in the scripting
+ language are implemented in these files. The list of
+ commands to execute is also implemented here.
+
+ CC_command.l The lex file for the script language.
+
+ CC_command.y The yacc file for the script language.
+
+ CC_command.tab.{h,cpp} and lex.CC_command.cpp Derived files from
+ the lex and yacc files.
+
+ CC_naming_service.{h,cpp} A wrapper class around the necessary
+ naming service functinallity for the tests.
+
+ CC_test_utils.{h,cpp} provides a namespace for utility functions.
+
+ test.* Test scripts for the concurrency service. \ No newline at end of file