Author: pascal.verdage
Date: 2008-07-21 07:34:27 -0400 (Mon, 21 Jul 2008)
New Revision: 1680
Modified:
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/expr/ExpressionTest.java
Log:
add simple test for groovy
Modified:
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/expr/ExpressionTest.java
===================================================================
---
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/expr/ExpressionTest.java 2008-07-21
11:24:21 UTC (rev 1679)
+++
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/expr/ExpressionTest.java 2008-07-21
11:34:27 UTC (rev 1680)
@@ -61,9 +61,9 @@
execution.setVariable("pv", "hello");
Environment environment = environmentFactory.openEnvironment();
- try {
+ try {
assertEquals("hello", scriptManager.evaluateExpression("#{pv}",
execution, null));
-
+ assertEquals("hello", scriptManager.evaluateExpression("pv",
execution, "groovy"));
} finally {
environment.close();
}
Show replies by date