Test Report

Stylesheet: /build/tests/stubs/constraints-wired.xslt

XSpec: /build/tests/constraints.xspec

Tested: 13 November 2024 at 20:13

Contents

passed: 16 pending: 0 failed: 0 total: 16
zenta:findConstraints finds constraints for an element 6 0 0 6
zenta:checkConstraints checks constraints for an element by running the xpath with $doc and $element as variables 10 0 0 10

zenta:findConstraints finds constraints for an elementpassed: 6 / pending: 0 / failed: 0 / total: 6

zenta:findConstraints finds constraints for an element passed: 6 / pending: 0 / failed: 0 / total: 6
@id is the id of the constraint element Success
@stages is the part of documentation before '|' Success
@xpath is the part of documentation after '|' Success
@id is the id of the constraint element for grandparent's constraint Success
@stages is the part of documentation before '|' for grandparent's constraint Success
@xpath is the part of documentation after '|' for grandparent's constraint Success

zenta:checkConstraints checks constraints for an element by running the xpath with $doc and $element as variablespassed: 10 / pending: 0 / failed: 0 / total: 10

zenta:checkConstraints checks constraints for an element by running the xpath with $doc and $element as variables passed: 10 / pending: 0 / failed: 0 / total: 10
if nothing is returned by xpath there is no error passed: 1 / pending: 0 / failed: 0 / total: 1
nothing means the count of result is zero Success
if xpath returns anything, and error is returned passed: 9 / pending: 0 / failed: 0 / total: 9
details contain the result of the xpath expression Success
details have elementCopy elements instead of element elements Success
@type is 'constraintError' Success
@errorID is an id starting with 'constraintError' Success
@element is the id of violating element Success
@constraintName is the name of the constraint Success
@constraintXpath is the xpath of the constraint Success
@constraintobject is the id of the constraint Success
stage/@value is the stage of the xpath Success