Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0011682 | Openbravo ERP | A. Platform | public | 2009-12-08 14:32 | 2009-12-11 00:00 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | pi | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0011682: Testclasses must preferably use the default set user context methods |
Description | The BaseTest class provides different methods to set the user context. As some test classes make assumptions about the default role of a user testclasses should preferably use one of these methods:
BaseTest.setSystemAdministratorContext()
BaseTest.setBigBazaarAdminContext()
BaseTest.setBigBazaarUserContext()
|
Steps To Reproduce | |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-12-08 14:32 | mtaal | New Issue | |
2009-12-08 14:32 | mtaal | Assigned To | => mtaal |
2009-12-08 14:32 | mtaal | OBNetwork customer | => No |
2009-12-08 14:37 | mtaal | Type | feature request => defect |
2009-12-08 16:46 | hgbot | Checkin | |
2009-12-08 16:46 | hgbot | Note Added: 0022548 | |
2009-12-08 16:46 | hgbot | Status | new => resolved |
2009-12-08 16:46 | hgbot | Resolution | open => fixed |
2009-12-08 16:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/26e665271d0e3989ccfe82392cf9c8b30652ee46 [^] |
2009-12-08 22:09 | hgbot | Checkin | |
2009-12-08 22:09 | hgbot | Note Added: 0022551 | |
2009-12-08 22:09 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/26e665271d0e3989ccfe82392cf9c8b30652ee46 [^] => http://code.openbravo.com/erp/devel/pi/rev/dcd4113188f6732ac1aba0feb6047974b7dc44e2 [^] |
2009-12-08 22:09 | mtaal | Note Added: 0022552 | |
2009-12-10 12:35 | shuehner | Note Added: 0022629 | |
2009-12-10 12:35 | shuehner | Status | resolved => closed |
2009-12-11 00:00 | anonymous | sf_bug_id | 0 => 2912324 |
Notes |
|
(0022548)
|
hgbot
|
2009-12-08 16:46
|
|
Repository: erp/devel/pi
Changeset: 26e665271d0e3989ccfe82392cf9c8b30652ee46
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Dec 08 16:45:52 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/26e665271d0e3989ccfe82392cf9c8b30652ee46 [^]
fixes issue 11682: Testclasses must preferably use the default set user context methods
---
M src-test/org/openbravo/test/base/BaseTest.java
M src-test/org/openbravo/test/dal/DalComplexQueryRequisitionTest.java
M src-test/org/openbravo/test/dal/DalComplexQueryTestOrderLine.java
M src-test/org/openbravo/test/dal/DalConnectionProviderTest.java
M src-test/org/openbravo/test/dal/DalCopyTest.java
M src-test/org/openbravo/test/dal/DalPerformanceInventoryLineTest.java
M src-test/org/openbravo/test/dal/DalQueryTest.java
M src-test/org/openbravo/test/dal/DalStoredProcedureTest.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/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/modularity/DBPrefixTest.java
M src-test/org/openbravo/test/modularity/DatasetServiceTest.java
M src-test/org/openbravo/test/modularity/TableNameTest.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/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
---
|
|
|
(0022551)
|
hgbot
|
2009-12-08 22:09
|
|
Repository: erp/devel/pi
Changeset: dcd4113188f6732ac1aba0feb6047974b7dc44e2
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Dec 08 22:08:32 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/dcd4113188f6732ac1aba0feb6047974b7dc44e2 [^]
fix related to issue 11682: Testclasses must preferably use the default set user context methods
---
M src-test/org/openbravo/test/base/BaseTest.java
M src-test/org/openbravo/test/security/EntityAccessTest.java
---
|
|
|
(0022552)
|
mtaal
|
2009-12-08 22:09
|
|
|
|
|
tested, now run.all.tests runs fine even with changed default role for openbravo admin. |
|