Related to issue 19539: Modify function signature to prevent API change
authorAugusto Mauch <augusto.mauch@openbravo.com>
Wed, 29 Feb 2012 11:46:53 +0100
changeset 15645 7f69d5ac8a7e
parent 15644 42e673c6c4f9
child 15646 42dbbe2c9bec
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.
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))";