Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028625
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[QA] Automation - Generalminorhave not tried2015-01-15 13:582015-09-07 11:54
ReporteraferrazView Statuspublic 
Assigned Toaferraz 
PrioritylowResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision1fc3c80992d5
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Todmiguelez
Summary

0028625: Process requests should be called directly instead of using a request in TestCosting

DescriptionrunCostingBackground 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.
Steps To ReproduceN/A
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on design defect 00217653.0PR15Q4 closedalostale Openbravo ERP Enable Weld tests in the client.kernel and client.application modules 
depends on defect 00306793.0PR15Q4 closedaferraz Openbravo ERP Order by should be improved in some querys inside Cost Adjustment process 
blocks defect 0029274 closedaferraz Openbravo ERP New TestCosting junit test is very very slow 

-  Notes
(0080072)
hgbot (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
2015-09-07 11:54

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2015-01-15 13:58 aferraz New Issue
2015-01-15 13:58 aferraz Assigned To => aferraz
2015-01-15 14:01 aferraz Relationship added depends on 0021765
2015-03-13 15:15 shuehner Relationship added related to 0029274
2015-07-13 18:07 aferraz Relationship deleted related to 0029274
2015-07-13 18:07 aferraz Relationship added blocks 0029274
2015-08-26 14:29 aferraz Relationship added depends on 0030679
2015-09-04 09:28 hgbot Checkin
2015-09-04 09:28 hgbot Note Added: 0080072
2015-09-04 09:28 hgbot Status new => resolved
2015-09-04 09:28 hgbot Resolution open => fixed
2015-09-04 09:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1fc3c80992d592df81340979f43711e7b04aec69 [^]
2015-09-04 09:28 hgbot Checkin
2015-09-04 09:28 hgbot Note Added: 0080074
2015-09-04 09:28 hgbot Checkin
2015-09-04 09:28 hgbot Note Added: 0080075
2015-09-04 09:28 hgbot Checkin
2015-09-04 09:28 hgbot Note Added: 0080076
2015-09-04 09:28 hgbot Checkin
2015-09-04 09:28 hgbot Note Added: 0080077
2015-09-04 15:46 hudsonbot Checkin
2015-09-04 15:46 hudsonbot Note Added: 0080130
2015-09-04 15:46 hudsonbot Checkin
2015-09-04 15:46 hudsonbot Note Added: 0080132
2015-09-04 15:46 hudsonbot Checkin
2015-09-04 15:46 hudsonbot Note Added: 0080133
2015-09-04 15:46 hudsonbot Checkin
2015-09-04 15:46 hudsonbot Note Added: 0080134
2015-09-04 15:46 hudsonbot Checkin
2015-09-04 15:46 hudsonbot Note Added: 0080135
2015-09-07 11:54 dmiguelez Review Assigned To => dmiguelez
2015-09-07 11:54 dmiguelez Note Added: 0080180
2015-09-07 11:54 dmiguelez Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker