details:   https://code.openbravo.com/erp/devel/pi/rev/4414f6d9140b
changeset: 23061:4414f6d9140b
user:      Aaron Calero <aaron.calero <at> openbravo.com>
date:      Tue May 20 11:46:57 2014 +0200
summary:   Fixed issue 26535: It would be nice to access variable result on 
CalloutInfo class (nested class of SimpleCallout)

diffstat:

 src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r d9ce373c75da -r 4414f6d9140b 
src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java        Tue May 
20 09:38:17 2014 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java        Tue May 
20 11:46:57 2014 +0200
@@ -380,5 +380,12 @@
     protected void executeCodeInBrowser(String value) {
       addResult("JSEXECUTE", value);
     }
+
+    /**
+     * Returns the value of the result variable as a String
+     */
+    public String getResult() {
+      return result.toString();
+    }
   }
 }

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to