diff options
Diffstat (limited to 'CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/README')
-rw-r--r-- | CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/README | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/README b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/README deleted file mode 100644 index b276b44a76f..00000000000 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/README +++ /dev/null @@ -1,40 +0,0 @@ - - -This is a plain DDS test, which test the use of 2 different query conditions, followed through a -readcondition. - -Use a sample with { - string symbol; //@key - long iteration; -} - -The sender writes samples with symbol <KEY_1> and <KEY_2> and iteration <1> through <3> -The receiver uses a querycondition with 'iteration > 1 AND iteration < 3' and use a -read_w_condition with this querycondition. - -What we expect is that the receiver receives two samples (key_1 and key_2) with iteration 2. - -Next, the sender writes samples with symbol <KEY_1> and <KEY_2> and iteration <4> through <6> -The receiver changes the querycondition with 'iteration > 4 AND iteration < 6' and use a -read_w_condition with this querycondition. - -What we expect is that the receiver receives two samples (key_1 and key_2) with iteration 5. - -Next, the sender writes samples with symbol <KEY_1> and <KEY_2> and iteration <7> through <9> -The receiver deletes the query condition and creates the next readcondition: - "DDS_NOT_READ_SAMPLE_STATE,DDS_NEW_VIEW_STATE | DDS_NOT_NEW_VIEW_STATE,DDS_ALIVE_INSTANCE_STATE | DDS_NOT_ALIVE_INSTANCE_STATE" -and uses a read_w_condition with this readcondition and number of samples = DDS_LENGTH_UNLIMITED. - -(This test (QueryCondition/DDS) differs with the test QueryCondition/DDS_OneByOne that the DDS_OneByOne test does use a loop with -read_w_condition with this readcondition and number of samples = 1.) - - -What we expect is that the receiver receives samples (key_1 and key_2) with iterations between 1 and 9, except 2 and 5 which -are already received before. - -Next we check the number of samples in DDS with a plain read. -What we expect is that the receiver receives all 18 samples. - - - - |