Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008708Openbravo ERPA. Platformpublic2009-04-22 14:112009-06-03 00:00
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
pi 
pi2.50MP1 
Core
No
0008708: Make test cases side effect free
Some of the test cases are not side effect free, i.e. they change the database without rolling back their changes. This should be checked/documented and repaired were possible.
No tags attached.
related to defect 0031816 closed alostale Same unused (disabled) code in 3 junit tests (DalQueryTest, DalTest, DynamicEntityTest) 
Issue History
2009-04-22 14:11mtaalNew Issue
2009-04-22 14:11mtaalAssigned To => mtaal
2009-04-22 14:11mtaalRegression testing => No
2009-04-22 23:28hgbotCheckin
2009-04-22 23:28hgbotNote Added: 0015584
2009-04-22 23:28hgbotStatusnew => resolved
2009-04-22 23:28hgbotResolutionopen => fixed
2009-04-22 23:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/84e4dd5f6502cb4e56177b8db3ef1d6ef8849b14 [^]
2009-06-02 18:22psarobeStatusresolved => closed
2009-06-03 00:00anonymoussf_bug_id0 => 2800234
2016-01-19 07:53alostaleRelationship addedrelated to 0031816

Notes
(0015584)
hgbot   
2009-04-22 23:28   
Repository: erp/devel/pi
Changeset: 84e4dd5f6502cb4e56177b8db3ef1d6ef8849b14
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Apr 22 23:26:31 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/84e4dd5f6502cb4e56177b8db3ef1d6ef8849b14 [^]

Fixes issue 8708,Make test cases side effect free
Fixes issue 8702, Add more javadoc to the public methods in the test cases

---
M src-test/org/openbravo/test/AllQuickAntTaskTests.java
M src-test/org/openbravo/test/AllTests.java
M src-test/org/openbravo/test/ant/AntTasksTest.java
M src-test/org/openbravo/test/ant/BaseAntTest.java
M src-test/org/openbravo/test/ant/RestartTomcatTest.java
M src-test/org/openbravo/test/dal/AllTests.java
M src-test/org/openbravo/test/dal/DalPerformanceInventoryLineTest.java
M src-test/org/openbravo/test/dal/DalPerformanceProductTest.java
M src-test/org/openbravo/test/dal/DalQueryTest.java
M src-test/org/openbravo/test/dal/DalTest.java
M src-test/org/openbravo/test/dal/DynamicEntityTest.java
M src-test/org/openbravo/test/dal/HiddenUpdateTest.java
M src-test/org/openbravo/test/dal/MappingGenerationTest.java
M src-test/org/openbravo/test/dal/ValidationTest.java
M src-test/org/openbravo/test/expression/EvaluationTest.java
M src-test/org/openbravo/test/model/OneToManyTest.java
M src-test/org/openbravo/test/model/RuntimeModelTest.java
M src-test/org/openbravo/test/model/UniqueConstraintTest.java
M src-test/org/openbravo/test/model/UtilsTest.java
M src-test/org/openbravo/test/modularity/DatasetServiceTest.java
M src-test/org/openbravo/test/security/AccessLevelTest.java
M src-test/org/openbravo/test/security/AllowedOrganizationsTest.java
M src-test/org/openbravo/test/security/EntityAccessTest.java
M src-test/org/openbravo/test/security/WritableReadableOrganizationClientTest.java
M src-test/org/openbravo/test/system/SystemServiceTest.java
M src-test/org/openbravo/test/system/SystemValidatorTest.java
M src-test/org/openbravo/test/webservice/BaseWSTest.java
M src-test/org/openbravo/test/webservice/WSReadTest.java
M src-test/org/openbravo/test/webservice/WSUpdateTest.java
M src-test/org/openbravo/test/xml/ClientExportImportTest.java
M src-test/org/openbravo/test/xml/EntityXMLImportTestBusinessObject.java
M src-test/org/openbravo/test/xml/EntityXMLImportTestReference.java
M src-test/org/openbravo/test/xml/EntityXMLImportTestSingle.java
M src-test/org/openbravo/test/xml/EntityXMLImportTestWarning.java
M src-test/org/openbravo/test/xml/EntityXMLIssues.java
M src-test/org/openbravo/test/xml/UniqueConstraintImportTest.java
M src-test/org/openbravo/test/xml/XMLBaseTest.java
A src-test/org/openbravo/test/ant/CallWadTest.java
R src-test/org/openbravo/test/ant/CompileTest.java
R src-test/org/openbravo/test/ant/CreateDatabaseTest.java
R src-test/org/openbravo/test/ant/ImportReferenceDataTest.java
R src-test/org/openbravo/test/ant/LeakTest.java
R src-test/org/openbravo/test/ant/WadTest.java
R src-test/org/openbravo/test/dal/HqlTest.java
R src-test/org/openbravo/test/xml/ClientDataSetCompleteTest.java
---