Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030384 | Openbravo ERP | 09. Financial management | public | 2015-07-17 09:05 | 2015-09-15 15:56 |
|
Reporter | vmromanos | |
Assigned To | AtulOpenbravo | |
Priority | normal | Severity | trivial | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | dmiguelez |
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 | 0030384: Create a JUnit test for AD_ISORGINCLUDED function |
Description | The AD_ISORGINCLUDED is going to be modified to improve its performance. Before doing this change, we need to be sure we don't enter any regression.
So, it's necessary to create a JUnit test (OBBaseTest) that covers every possible scenario for this function: distinct orgs in the same branch with different levels, in different branches (not included), swapping parent/child order, mixing with organizations of different clients, passing the same organization, organization id that doesn't exist, etc.
The test should be included in src-test folder |
Steps To Reproduce | NA |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-07-17 09:05 | vmromanos | New Issue | |
2015-07-17 09:05 | vmromanos | Assigned To | => Triage Finance |
2015-07-17 09:05 | vmromanos | OBNetwork customer | => No |
2015-07-17 09:05 | vmromanos | Modules | => Core |
2015-07-17 09:05 | vmromanos | Triggers an Emergency Pack | => No |
2015-07-22 10:29 | AtulOpenbravo | Assigned To | Triage Finance => AtulOpenbravo |
2015-07-22 10:29 | AtulOpenbravo | Status | new => scheduled |
2015-07-22 14:45 | shuehner | Note Added: 0079029 | |
2015-07-22 14:45 | shuehner | Issue Monitored: shuehner | |
2015-09-14 18:05 | hgbot | Checkin | |
2015-09-14 18:05 | hgbot | Note Added: 0080387 | |
2015-09-14 18:05 | hgbot | Status | scheduled => resolved |
2015-09-14 18:05 | hgbot | Resolution | open => fixed |
2015-09-14 18:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/023d06d04ececed8a71ca546bfa150d3471f9e48 [^] |
2015-09-14 18:08 | dmiguelez | Review Assigned To | => dmiguelez |
2015-09-14 18:08 | dmiguelez | Note Added: 0080388 | |
2015-09-14 18:08 | dmiguelez | Status | resolved => closed |
2015-09-15 15:56 | hudsonbot | Checkin | |
2015-09-15 15:56 | hudsonbot | Note Added: 0080406 | |
Notes |
|
|
Note: especially for the case of 'id's that do not exist' maybe interesting to define what is intended behavior.
I.e. does it matter to get exact same current behavior?
Or does it not (for that case) |
|
|
(0080387)
|
hgbot
|
2015-09-14 18:05
|
|
Repository: erp/devel/pi
Changeset: 023d06d04ececed8a71ca546bfa150d3471f9e48
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Jul 27 15:09:29 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/023d06d04ececed8a71ca546bfa150d3471f9e48 [^]
Fixes Issue 30384:Junit test cases for AD_ORGISINCLUDED db function
Junit test handles following cases:
* Case I: Distinct Organization in the same branch with different levels.
* Case II: Distinct Organization in the different branch with different levels.
* Case III: Swap parent/child order
* Case IV: Organization with different clients
* Case V: Same Organization
* Case VI: Organization that does not exists.
---
A src-test/src/org/openbravo/test/db/model/functions/Ad_isorgincludedTest.java
---
|
|
|
|
|
|
|
|