From 98c078768b2ee6c8ce1a910f42ce46845eacc2c1 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Tue, 20 Apr 2021 17:33:09 +0100 Subject: Document legacy CPS Path functionality Issue-ID: CPS-334 Signed-off-by: ToineSiebelink Change-Id: Ib5266c7b30097661d97f8a499eaddc738dda0539 --- .../org/onap/cps/spi/impl/CpsDataPersistenceServiceSpec.groovy | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cps-ri/src/test/groovy') 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 a2c7a0947..24aa3d41f 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' } } -- cgit 1.2.3-korg