details:   https://code.openbravo.com/erp/devel/pi/rev/7f69d5ac8a7e
changeset: 15645:7f69d5ac8a7e
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Wed Feb 29 11:46:53 2012 +0100
summary:   Related to issue 19539: Modify function signature to prevent API 
change

When the signature of the function used to test the DynamicExpressionParser was 
modified, it was added a throws Exception clause, which broke the API. This 
change has been reverted to prevent the API change.

diffstat:

 
modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/DynamicExpressionParserTest.java
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 42e673c6c4f9 -r 7f69d5ac8a7e 
modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/DynamicExpressionParserTest.java
--- 
a/modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/DynamicExpressionParserTest.java
  Wed Feb 29 11:47:06 2012 +0100
+++ 
b/modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/DynamicExpressionParserTest.java
  Wed Feb 29 11:46:53 2012 +0100
@@ -27,7 +27,7 @@
 public class DynamicExpressionParserTest extends BaseTest {
 
   @Test
-  public void testRegularExpression() throws Exception {
+  public void testRegularExpression() {
     setSystemAdministratorContext();
     String displayLogic = "((@Financial_Invoice_Line@='N'))";
     String expectedResult = 
"((OB.Utilities.getValue(currentValues,'financialInvoiceLine') === false))";

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to