Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028398Openbravo ERPA. Platformpublic2014-12-12 11:182014-12-30 23:27
aferraz 
aferraz 
normalminoralways
closedfixed 
30Professional Appliance
 
3.0PR15Q1 
alostale
Core
No
0028398: OBBaseTest class should initialize Dal layer in a BeforeClass method
In order to be able to use DAL in a BeforeClass method of any JUnit test, OBBaseTest superclass should initialize Dal layer in a BeforeClass method instead of in a Before method.
N/A
No tags attached.
Issue History
2014-12-12 11:18aferrazNew Issue
2014-12-12 11:18aferrazAssigned To => aferraz
2014-12-12 11:18aferrazModules => Core
2014-12-12 11:18aferrazTriggers an Emergency Pack => No
2014-12-15 10:01hgbotCheckin
2014-12-15 10:01hgbotNote Added: 0072492
2014-12-15 10:01hgbotStatusnew => resolved
2014-12-15 10:01hgbotResolutionopen => fixed
2014-12-15 10:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3b18b7807c27c4891835be34674d7c13d464d9c2 [^]
2014-12-15 10:29aferrazAssigned Toaferraz => alostale
2014-12-17 08:46alostaleAssigned Toalostale => aferraz
2014-12-17 08:47alostaleReview Assigned To => alostale
2014-12-17 09:35hgbotCheckin
2014-12-17 09:35hgbotNote Added: 0072596
2014-12-23 10:23alostaleNote Added: 0072793
2014-12-23 10:23alostaleStatusresolved => closed
2014-12-23 10:23alostaleFixed in Version => 3.0PR15Q1
2014-12-30 23:27hudsonbotCheckin
2014-12-30 23:27hudsonbotNote Added: 0073215
2014-12-30 23:27hudsonbotCheckin
2014-12-30 23:27hudsonbotNote Added: 0073228

Notes
(0072492)
hgbot   
2014-12-15 10:01   
Repository: erp/devel/pi
Changeset: 3b18b7807c27c4891835be34674d7c13d464d9c2
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri Dec 12 13:15:47 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3b18b7807c27c4891835be34674d7c13d464d9c2 [^]

Fixes issue 28398 OBBaseTest should initialize DalLayer in a BeforeClass method

In order to be able to use DAL in a BeforeClass method of any JUnit test, OBBaseTest superclass should initialize Dal layer in a BeforeClass method instead of in a Before method.

---
M src-test/src/org/openbravo/test/base/OBBaseTest.java
---
(0072596)
hgbot   
2014-12-17 09:35   
Repository: erp/devel/pi
Changeset: 014c31adf94a945d4acbb5cdc951f426948b7273
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Dec 17 09:34:28 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/014c31adf94a945d4acbb5cdc951f426948b7273 [^]

Related to issue 28398 OBBaseTest should initialize Dal in a BeforeClass method

Added a static method to initialize DAL layer from BeforeClass method

---
M src-test/src/org/openbravo/test/base/OBBaseTest.java
---
(0072793)
alostale   
2014-12-23 10:23   
code reviewed
(0073215)
hudsonbot   
2014-12-30 23:27   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^]
Maturity status: Test
(0073228)
hudsonbot   
2014-12-30 23:27   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^]
Maturity status: Test