Openbravo Issue Tracking System - QA
View Issue Details
0028625QAAutomation - Generalpublic2015-01-15 13:582015-09-07 11:54
aferraz 
aferraz 
lowminorhave not tried
closedfixed 
30Professional Appliance
 
 
dmiguelez
0028625: Process requests should be called directly instead of using a request in TestCosting
runCostingBackground and runPriceBackground methods from TestCosting class, should call "Costing Background process" and "Price Correction Background" processes directly instead of making a request, once WeldUtils class is supported from JUnit tests without tomcat running.
N/A
No tags attached.
depends on design defect 00217653.0PR15Q4 closed alostale Openbravo ERP Enable Weld tests in the client.kernel and client.application modules 
depends on defect 00306793.0PR15Q4 closed aferraz Openbravo ERP Order by should be improved in some querys inside Cost Adjustment process 
blocks defect 0029274 closed aferraz Openbravo ERP New TestCosting junit test is very very slow 
Issue History
2015-01-15 13:58aferrazNew Issue
2015-01-15 13:58aferrazAssigned To => aferraz
2015-01-15 14:01aferrazRelationship addeddepends on 0021765
2015-03-13 15:15shuehnerRelationship addedrelated to 0029274
2015-07-13 18:07aferrazRelationship deletedrelated to 0029274
2015-07-13 18:07aferrazRelationship addedblocks 0029274
2015-08-26 14:29aferrazRelationship addeddepends on 0030679
2015-09-04 09:28hgbotCheckin
2015-09-04 09:28hgbotNote Added: 0080072
2015-09-04 09:28hgbotStatusnew => resolved
2015-09-04 09:28hgbotResolutionopen => fixed
2015-09-04 09:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1fc3c80992d592df81340979f43711e7b04aec69 [^]
2015-09-04 09:28hgbotCheckin
2015-09-04 09:28hgbotNote Added: 0080074
2015-09-04 09:28hgbotCheckin
2015-09-04 09:28hgbotNote Added: 0080075
2015-09-04 09:28hgbotCheckin
2015-09-04 09:28hgbotNote Added: 0080076
2015-09-04 09:28hgbotCheckin
2015-09-04 09:28hgbotNote Added: 0080077
2015-09-04 15:46hudsonbotCheckin
2015-09-04 15:46hudsonbotNote Added: 0080130
2015-09-04 15:46hudsonbotCheckin
2015-09-04 15:46hudsonbotNote Added: 0080132
2015-09-04 15:46hudsonbotCheckin
2015-09-04 15:46hudsonbotNote Added: 0080133
2015-09-04 15:46hudsonbotCheckin
2015-09-04 15:46hudsonbotNote Added: 0080134
2015-09-04 15:46hudsonbotCheckin
2015-09-04 15:46hudsonbotNote Added: 0080135
2015-09-07 11:54dmiguelezReview Assigned To => dmiguelez
2015-09-07 11:54dmiguelezNote Added: 0080180
2015-09-07 11:54dmiguelezStatusresolved => closed

Notes
(0080072)
hgbot   
2015-09-04 09:28   
Repository: erp/devel/pi
Changeset: 1fc3c80992d592df81340979f43711e7b04aec69
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Aug 12 20:50:50 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1fc3c80992d592df81340979f43711e7b04aec69 [^]

Fixes issue 28625 & Fixes issue 29274: Update TestCosting tests

Once dependency injection is supported in junit tests, "Costing Background process" and "Price Correction Background" processes will be directly called in TestCosting tests.
Other requests will also be avoided, calling private methods directly, using Reflection.

---
M src-test/src/org/openbravo/test/AllAntTaskTests.java
M src-test/src/org/openbravo/test/AllWebserviceTests.java
M src-test/src/org/openbravo/test/costing/TestCosting.java
M src/org/openbravo/costing/PriceDifferenceBackground.java
---
(0080074)
hgbot   
2015-09-04 09:28   
Repository: erp/devel/pi
Changeset: 406116e8b8a06097e26d5a18f3b517ed16c81612
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Aug 18 11:44:51 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/406116e8b8a06097e26d5a18f3b517ed16c81612 [^]

Related to issue 28625: Update product names in TestCosting tests

Update how products are created in TestCosting tests to add test name info to product name.

---
M src-test/src/org/openbravo/test/costing/TestCosting.java
---
(0080075)
hgbot   
2015-09-04 09:28   
Repository: erp/devel/pi
Changeset: 13ff36fdab84c15edc64a7439356f251967f5005
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Aug 27 19:04:20 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/13ff36fdab84c15edc64a7439356f251967f5005 [^]

Related to issue 28625: Update some result orders in TestCosting tests

---
M src-test/src/org/openbravo/test/costing/TestCosting.java
---
(0080076)
hgbot   
2015-09-04 09:28   
Repository: erp/devel/pi
Changeset: 913c065da93c3425eff883fce8fc6e40d84153bb
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Aug 31 08:21:25 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/913c065da93c3425eff883fce8fc6e40d84153bb [^]

Related to issue 28625: Add sleeps to R22 and F2 tests to avoid assert errors

---
M src-test/src/org/openbravo/test/costing/TestCosting.java
---
(0080077)
hgbot   
2015-09-04 09:28   
Repository: erp/devel/pi
Changeset: b2ff13290c94bfcc5f11172475ad91ea53780098
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Sep 03 17:50:53 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b2ff13290c94bfcc5f11172475ad91ea53780098 [^]

Related to issue 28625: Fix how Costing Rule is created in TestCosting

---
M src-test/src/org/openbravo/test/costing/TestCosting.java
---
(0080130)
hudsonbot   
2015-09-04 15:46   
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/2c27fe2e93a9 [^]
Maturity status: Test
(0080132)
hudsonbot   
2015-09-04 15:46   
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/2c27fe2e93a9 [^]
Maturity status: Test
(0080133)
hudsonbot   
2015-09-04 15:46   
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/2c27fe2e93a9 [^]
Maturity status: Test
(0080134)
hudsonbot   
2015-09-04 15:46   
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/2c27fe2e93a9 [^]
Maturity status: Test
(0080135)
hudsonbot   
2015-09-04 15:46   
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/2c27fe2e93a9 [^]
Maturity status: Test
(0080180)
dmiguelez   
2015-09-07 11:54   
Code Review + Testing Ok