org.kuali.rice.kew.support.xstream
Class XStreamSafeEvaluatorTest
java.lang.Object
org.kuali.rice.kew.support.xstream.XStreamSafeEvaluatorTest
public class XStreamSafeEvaluatorTest
- extends Object
Method Summary |
void |
setUp()
Set up an XPath instance using our XPathHelper which should configure the namespace and
WorkflowFunctionResolver for us. |
void |
testContextRelativeExpressions()
Tests the usage of XPath expressions which are evaluated relative to a particular context (i.e. |
void |
testEvaluation()
|
void |
testTerminalReferences()
Tests the case where the last node that resulted from the evaulation of the xpath has a "reference" attribute
on it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XStreamSafeEvaluatorTest
public XStreamSafeEvaluatorTest()
setUp
public void setUp()
throws Exception
- Set up an XPath instance using our XPathHelper which should configure the namespace and
WorkflowFunctionResolver for us.
- Throws:
Exception
testEvaluation
public void testEvaluation()
throws Exception
- Throws:
Exception
testTerminalReferences
public void testTerminalReferences()
throws Exception
- Tests the case where the last node that resulted from the evaulation of the xpath has a "reference" attribute
on it. I found a bug where this last "reference" attribute was not being evaluated and resolved to the
proper node.
This method also does some testing of chaining of reference nodes (i.e. a node has a reference to a node
which has a reference to another node).
- Throws:
Exception
testContextRelativeExpressions
public void testContextRelativeExpressions()
throws Exception
- Tests the usage of XPath expressions which are evaluated relative to a particular context (i.e. starts with a ".").
This tests the resolution to EN-100.
- Throws:
Exception
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.