From cfc500b4192c356a3499040ebb714ec0b5f26584 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Thu, 3 Jun 2021 16:05:08 +0100 Subject: Improve error handling on unexpected 'postfix' Issue-ID: CPS-450 Signed-off-by: ToineSiebelink Change-Id: Ia8be460f4235f7f0c24498f861dbe42137111772 --- .../src/test/groovy/org/onap/cps/cpspath/parser/CpsPathQuerySpec.groovy | 1 + 1 file changed, 1 insertion(+) (limited to 'cps-path-parser/src/test/groovy') diff --git a/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathQuerySpec.groovy b/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathQuerySpec.groovy index 0e7fc35cf4..116c9168e8 100644 --- a/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathQuerySpec.groovy +++ b/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathQuerySpec.groovy @@ -84,6 +84,7 @@ class CpsPathQuerySpec extends Specification { 'end with descendant and more than one attribute separated by "or"' | '//child[@int-leaf=5 or @leaf-name="leaf value"]' 'missing attribute value' | '//child[@int-leaf=5 and @name]' 'incomplete ancestor value' | '//books/ancestor::' + 'unsupported postfix after single value condition (JIRA CPS-450)' | '/parent/child[@id=1]/somePostFix' } def 'Parse cps path using ancestor by schema node identifier with a #scenario.'() { -- cgit 1.2.3-korg