Search in sources :

Example 1 with BooleanValueNode

use of org.xwiki.notifications.filters.expression.BooleanValueNode in project xwiki-platform by xwiki.

the class ExpressionNodeToHQLConverterTest method parseWithBooleanValueNode.

@Test
public void parseWithBooleanValueNode() {
    assertEquals("true", parser.parse(new BooleanValueNode(true)).getQuery());
    assertEquals("false", parser.parse(new BooleanValueNode(false)).getQuery());
}
Also used : BooleanValueNode(org.xwiki.notifications.filters.expression.BooleanValueNode) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 BooleanValueNode (org.xwiki.notifications.filters.expression.BooleanValueNode)1