Skip to content

Commit

Permalink
Prepares the test to facilitate the testing of the selectedKeys funct…
Browse files Browse the repository at this point in the history
…ionality
  • Loading branch information
CesarCoelho committed Oct 17, 2023
1 parent 24a0350 commit 2de0302
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ The consumer checks that the expected keys are received and only them (see table
!*> Sub scenario definitions
|scenario| entity request | with shared broker |
|ensure |prepare test to use the following subscription key values | A.[null].[null].[null],A.2.[null].[null],A.2.3.[null],A.2.3.4,B.[null].[null].[null],Q.2.3.[null] | and shared broker | @shared |
|ensure |subscribe to subscription key names | A.[null].[null].[null] | and expected entities | A.[null].[null].[null] |
|ensure |subscribe to subscription key names | A.*.[null].[null] | and expected entities | A.[null].[null].[null],A.2.[null].[null] |
|ensure |subscribe to subscription key names | A.*.*.* | and expected entities | A.[null].[null].[null],A.2.[null].[null],A.2.3.[null],A.2.3.4 |
|ensure |subscribe to subscription key names | A.2.[null].[null] | and expected entities | A.2.[null].[null] |
|ensure |subscribe to subscription key names | A.2.*.[null] | and expected entities | A.2.[null].[null],A.2.3.[null] |
|ensure |subscribe to subscription key names | *.2.*.[null] | and expected entities | A.2.[null].[null],A.2.3.[null],Q.2.3.[null] |
|ensure |subscribe to subscription key names | B.*.*.* | and expected entities | B.[null].[null].[null] |
|ensure |subscribe with key names | A.[null].[null].[null] | and select keys | [null] | and expected key values | A.[null].[null].[null] |
|ensure |subscribe with key names | A.*.[null].[null] | and select keys | [null] | and expected key values | A.[null].[null].[null],A.2.[null].[null] |
|ensure |subscribe with key names | A.*.*.*| and select keys | [null] | and expected key values | A.[null].[null].[null],A.2.[null].[null],A.2.3.[null],A.2.3.4 |
|ensure |subscribe with key names | A.2.[null].[null] | and select keys | [null] | and expected key values | A.2.[null].[null] |
|ensure |subscribe with key names | A.2.*.[null] | and select keys | [null] | and expected key values | A.2.[null].[null],A.2.3.[null] |
|ensure |subscribe with key names | *.2.*.[null] | and select keys | [null] | and expected key values | A.2.[null].[null],A.2.3.[null],Q.2.3.[null] |
|ensure |subscribe with key names | B.*.*.* | and select keys | [null] | and expected key values | B.[null].[null].[null] |
|ensure |publish deregister |
***********!

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ public static Union parseNumberKeyValue(String s) {
}
}

public boolean subscribeToSubscriptionKeyNamesAndExpectedEntities(String keyValues, String expectedEntities)
throws Exception {
public boolean subscribeWithKeyNamesAndSelectKeysAndExpectedKeyValues(String keyValues,
String selectedKeys, String expectedEntities) throws Exception {
logMessage("EntityRequestTestProcedure.subscribeToEntityKeyValuesAndExpectedEntities({"
+ keyValues + "},{" + expectedEntities + "})");

Expand Down

0 comments on commit 2de0302

Please sign in to comment.