summaryrefslogtreecommitdiffstats
path: root/cps-ri
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2021-04-20 17:33:09 +0100
committerRishi Chail <rishi.chail@est.tech>2021-04-22 10:46:05 +0000
commit98c078768b2ee6c8ce1a910f42ce46845eacc2c1 (patch)
tree9d40489eabd019eb986ab3bbd67c80fe4f45a6a9 /cps-ri
parent700cd212bb0fdf012c2bdc7c51012daf4ecce9d7 (diff)
Document legacy CPS Path functionality
Issue-ID: CPS-334 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ib5266c7b30097661d97f8a499eaddc738dda0539
Diffstat (limited to 'cps-ri')
-rw-r--r--cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsDataPersistenceServiceSpec.groovy7
1 files changed, 4 insertions, 3 deletions
diff --git a/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsDataPersistenceServiceSpec.groovy b/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsDataPersistenceServiceSpec.groovy
index a2c7a09478..24aa3d41fa 100644
--- a/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsDataPersistenceServiceSpec.groovy
+++ b/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsDataPersistenceServiceSpec.groovy
@@ -382,8 +382,9 @@ class CpsDataPersistenceServiceSpec extends CpsPersistenceSpecBase {
and:
result.stream().findFirst().get().xpath == expectedXPath
where: 'the following data is used'
- scenario | cpsPath || expectedXPath
- 'fully unique descendant name' | '//grand-child-202' || '/parent-200/child-202/grand-child-202'
- 'descendant name match end of other node' | '//child-202' || '/parent-200/child-202'
+ scenario | cpsPath || expectedXPath
+ 'fully unique descendant name' | '//grand-child-202' || '/parent-200/child-202/grand-child-202'
+ 'descendant name and parent' | '//child-202/grand-child-202' || '/parent-200/child-202/grand-child-202'
+ 'descendant name match end of other node' | '//child-202' || '/parent-200/child-202'
}
}