Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020264Openbravo ERPA. Platformpublic2012-04-13 11:092012-09-18 09:43
marvintm 
marvintm 
normalminorhave not tried
newopen 
5
 
 
Core
No
0020264: Some JUnit tests have had to be disabled due to the new sample data
Some JUnit tests have been disabled after the new sample data has been included in pi. The reason is mainly due to the tests assuming some things which are not true in the new data (such as the existance of Sales Orders in "draft" status, or the existance of inventory lines).

The list of tests currently disabled is the following:


src-test/org/openbravo/test/dal/DalPerformanceInventoryLineTest.java
testACreateInventoryLine
testBReadAndAddLine

src-test/org/openbravo/test/dal/IssuesTest.java
test13281And13283

src-test/org/openbravo/test/model/OneToManyTest.java
testAddOrderLine
testDeleteChild

src-test/org/openbravo/test/xml/EntityXMLImportTestReference.java
test1Warehouse
test2Warehouse
test3Warehouse
test4Warehouse

src-test/org/openbravo/test/xml/EntityXMLImportTestWarning.java
testUpdatingOtherOrganizationWarning

Attempt to execute these tests in new sample data. Notice that they fail, each for their own reason.
No tags attached.
Issue History
2012-04-13 11:09marvintmNew Issue
2012-04-13 11:09marvintmAssigned To => marvintm
2012-04-13 11:09marvintmModules => Core
2012-09-18 09:43alostaleNote Added: 0052185
2012-09-18 09:43alostaleTypedefect => design defect

Notes
(0052185)
alostale   
2012-09-18 09:43   
Updating to design defect as it requires to reimplement some of these tests.