import org.onap.cps.spi.FetchDescendantsOption
import org.onap.cps.spi.exceptions.CpsPathException
-import static org.onap.cps.spi.FetchDescendantsOption.DIRECT_CHILD_ONLY
+import static org.onap.cps.spi.FetchDescendantsOption.DIRECT_CHILDREN_ONLY
import static org.onap.cps.spi.FetchDescendantsOption.INCLUDE_ALL_DESCENDANTS
import static org.onap.cps.spi.FetchDescendantsOption.OMIT_DESCENDANTS
where: 'the following data is used'
scenario | fetchDescendantsOption || expectedNumberOfNodes
'no' | OMIT_DESCENDANTS || 1
- 'direct' | DIRECT_CHILD_ONLY || 7
+ 'direct' | DIRECT_CHILDREN_ONLY || 7
'all' | INCLUDE_ALL_DESCENDANTS || 28
}
where: 'the following data is used'
scenario | fetchDescendantsOption || expectedNumberOfNodesPerAnchor
'no' | OMIT_DESCENDANTS || 1
- 'direct' | DIRECT_CHILD_ONLY || 7
+ 'direct' | DIRECT_CHILDREN_ONLY || 7
'all' | INCLUDE_ALL_DESCENDANTS || 28
}
where: 'the following data is used'
scenario | fetchDescendantsOption || expectedNumberOfNodesPerAnchor
'no' | OMIT_DESCENDANTS || 1
- 'direct' | DIRECT_CHILD_ONLY || 7
+ 'direct' | DIRECT_CHILDREN_ONLY || 7
'all' | INCLUDE_ALL_DESCENDANTS || 28
}