aboutsummaryrefslogtreecommitdiffstats
path: root/integration-test/src/test
diff options
context:
space:
mode:
authorPriyank Maheshwari <priyank.maheshwari@est.tech>2024-11-27 16:38:14 +0000
committerGerrit Code Review <gerrit@onap.org>2024-11-27 16:38:14 +0000
commit10506e09338ecd48cdb38602a67e530f41e75081 (patch)
treec1028a82637d35f76276be95165dbc00da769064 /integration-test/src/test
parentd1df2cdc032b311c97144f68d1b5df81dd079089 (diff)
parenta655c67aa1def9fa5a8924eb6299fb272d6b8f87 (diff)
Merge "Implement ancestor axis in SQL"
Diffstat (limited to 'integration-test/src/test')
-rw-r--r--integration-test/src/test/groovy/org/onap/cps/integration/functional/cps/QueryServiceIntegrationSpec.groovy1
1 files changed, 1 insertions, 0 deletions
diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/functional/cps/QueryServiceIntegrationSpec.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/functional/cps/QueryServiceIntegrationSpec.groovy
index 5c2a4fc665..3b49cfc415 100644
--- a/integration-test/src/test/groovy/org/onap/cps/integration/functional/cps/QueryServiceIntegrationSpec.groovy
+++ b/integration-test/src/test/groovy/org/onap/cps/integration/functional/cps/QueryServiceIntegrationSpec.groovy
@@ -224,6 +224,7 @@ class QueryServiceIntegrationSpec extends FunctionalSpecBase {
'ancestor with parent that does not exist' | '//books/ancestor::parentDoesNoExist/categories' || []
'ancestor does not exist' | '//books/ancestor::ancestorDoesNotExist' || []
'ancestor combined with contains condition' | '//books[contains(@title,"Mat")]/ancestor::bookstore' || ["/bookstore"]
+ 'ancestor is the same as search target' | '//books/ancestor::books' || []
}
def 'Query for attribute by cps path of type ancestor with #scenario descendants.'() {