details: /erp/devel/pi/rev/983adc08635f
changeset: 12253:983adc08635f
user: Martin Taal <martin.taal <at> openbravo.com>
date: Fri May 20 02:46:34 2011 +1100
summary: Fixes issue 17262: Test registry is empty
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-test-registry.js
| 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 20a74a594545 -r 983adc08635f
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-test-registry.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-test-registry.js
Thu May 19 17:35:35 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-test-registry.js
Fri May 20 02:46:34 2011 +1100
@@ -47,8 +47,10 @@
registry: {},
+ testEnvironment: false,
+
register: function(key, object){
- if (isTestEnvironment) {
+ if (isTestEnvironment || this.testEnvironment) {
isc.Log.logDebug('Registering ' + key + ' in test registry ', 'OB');
this.registry[key] = object;
}
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits