Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011682 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2009-12-08 14:32 | 2009-12-11 00:00 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | dcd4113188f6 | ||||
Projection | none | ETA | none | Target Version | pi | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
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() | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0022548) hgbot (developer) 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 (developer) 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 (viewer) 2009-12-08 22:09 |
An additional changeset is related to this issue: https://code.openbravo.com/erp/devel/pi/rev/dcd4113188f6 [^] |
(0022629) shuehner (administrator) 2009-12-10 12:35 |
tested, now run.all.tests runs fine even with changed default role for openbravo admin. |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |