View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026256 | Open CASCADE | OCCT:Application Framework | public | 2015-05-22 11:33 | 2018-06-29 21:19 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | integration request | ||
Status | closed | Resolution | fixed | ||
Target Version | 7.3.0 | Fixed in Version | 7.3.0 | ||
Summary | 0026256: FSD_File and FSD_CmpFile are almost twins | ||||
Description | FSD_CmpFile is a almost copy of FSD_File. Why FSF_CmpFile is not child of FSD_File? | ||||
Steps To Reproduce | N/A (Only optimization of architecture). | ||||
Tags | No tags attached. | ||||
Test case number | persist fsd B1 | ||||
|
It is not correct definition. Both inherit from BaseDriver from Storage which defines in general the framework of a specific driver implementation. Both as BinaryFile as CmpFile implement the same methods in different way taking into account that input data have different nature and structure. I.e. here is used separation by type approach. What is strange here? |
|
90% of the code is the same for both the classes. Would a parent class containing shared code be better approach for further development and support? |
|
Vlad, Check optimization possibility, please. |
|
Branch CR26256 has been created by szy. SHA-1: d8295a297a4526f117d7c03fca040b5bd312b3ec Detailed log of new commits: Author: szy Date: Wed Sep 13 16:43:32 2017 +0300 0026256: FSD_File and FSD_CmpFile are almost twins. //CmpFile inheritance schema is changed. //Additional test - B1 is added to persist/fsd folder. |
2017-09-13 16:47 manager |
bug26256.cmp (13,940 bytes) |
|
Test case B1 requires file bug26256.cmp (attached). |
|
bug26256.cmp has been pushed to shape database. Results of testing: http://jenkins-test-10.nnov.opencascade.com/view/CR26256-master-SZY/view/TESTING/job/CR26256-master-SZY-OCCT-Debian70-64-opt-test-restart/HTML_Report/ http://jenkins-test-10.nnov.opencascade.com/view/CR26256-master-SZY/view/TESTING/job/CR26256-master-SZY-OCCT-Windows-64-VC10-opt-test-restart/HTML_Report/ |
|
Review it, please. Jenkins result =>http://jenkins-test-10.nnov.opencascade.com/view/CR26256-master-SZY/. Testgrid relevant to test modifications: 'persist/fsd' New test case: B1 |
|
Combination: Branch OCCT : CR26256 SHA-1: d8295a297a4526f117d7c03fca040b5bd312b3ec Branch products : master was compiled on Linux, MacOS and Windows platforms and tested on Release mode. Number of compiler warnings: No new/fixed warnings Regressions/Differences/Improvements: No regressions/differences CPU differences: Detected differences have been agreed with developer Image differences : Detected differences have been agreed with developer Memory differences : No differences that require special attention New test cases are OK |
|
Branch CR26256 has been deleted by kgv. SHA-1: d8295a297a4526f117d7c03fca040b5bd312b3ec |
occt: master 547ba1a6 2017-09-13 13:43:32
Committer: bugmaster Details Diff |
0026256: FSD_File and FSD_CmpFile are almost twins. |
Affected Issues 0026256 |
|
mod - src/FSD/FSD_CmpFile.cxx | Diff File | ||
mod - src/FSD/FSD_CmpFile.hxx | Diff File | ||
mod - src/FSD/FSD_File.cxx | Diff File | ||
mod - src/FSD/FSD_File.hxx | Diff File | ||
add - tests/persist/fsd/B1 | Diff File | ||
occt: master 46216226 2017-09-13 13:43:32
Committer: bugmaster Details Diff |
0026256: FSD_File and FSD_CmpFile are almost twins. |
Affected Issues 0026256 |
|
mod - src/FSD/FSD_CmpFile.cxx | Diff File | ||
mod - src/FSD/FSD_CmpFile.hxx | Diff File | ||
mod - src/FSD/FSD_File.cxx | Diff File | ||
mod - src/FSD/FSD_File.hxx | Diff File | ||
add - tests/persist/fsd/B1 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-05-22 11:33 |
|
New Issue | |
2015-05-22 11:33 |
|
Assigned To | => szy |
2015-05-22 17:12 |
|
Status | new => assigned |
2015-05-22 17:19 |
|
Note Added: 0041453 | |
2015-05-22 17:19 |
|
Status | assigned => feedback |
2015-05-22 17:49 |
|
Note Added: 0041455 | |
2015-05-22 17:49 |
|
Status | feedback => assigned |
2015-12-30 16:08 |
|
Assigned To | szy => vro |
2015-12-30 16:09 |
|
Note Added: 0049688 | |
2016-04-16 07:59 |
|
Target Version | 6.9.0 => 7.1.0 |
2016-11-03 17:21 |
|
Target Version | 7.1.0 => 7.2.0 |
2017-07-27 09:43 |
|
Target Version | 7.2.0 => 7.4.0 |
2017-08-23 17:46 |
|
Assigned To | vro => szy |
2017-09-13 16:45 | git | Note Added: 0070506 | |
2017-09-13 16:47 |
|
File Added: bug26256.cmp | |
2017-09-13 16:48 |
|
Note Added: 0070508 | |
2017-09-14 11:35 | bugmaster | Note Added: 0070523 | |
2017-09-14 12:51 |
|
Note Added: 0070527 | |
2017-09-14 12:51 |
|
Assigned To | szy => vro |
2017-09-14 12:51 |
|
Status | assigned => resolved |
2017-09-14 12:51 |
|
Steps to Reproduce Updated | |
2017-09-14 13:07 | bugmaster | Test case number | => persist fsd B1 |
2017-09-14 14:31 | vro | Assigned To | vro => bugmaster |
2017-09-14 14:31 | vro | Status | resolved => reviewed |
2017-09-15 11:13 | bugmaster | Note Added: 0070575 | |
2017-09-15 11:13 | bugmaster | Status | reviewed => tested |
2017-09-17 23:32 | kgv | Severity | just a question => integration request |
2017-09-17 23:32 | kgv | Product Version | Unscheduled => |
2017-09-21 19:33 | bugmaster | Changeset attached | => occt master 547ba1a6 |
2017-09-21 19:33 | bugmaster | Status | tested => verified |
2017-09-21 19:33 | bugmaster | Resolution | open => fixed |
2017-09-21 19:50 | apn | Target Version | 7.4.0 => 7.2.0 |
2017-09-22 12:05 | bugmaster | Target Version | 7.2.0 => 7.4.0 |
2017-09-29 13:26 | bugmaster | Changeset attached | => occt master 46216226 |
2017-09-29 17:11 | git | Note Added: 0070992 | |
2018-02-20 12:59 |
|
Target Version | 7.4.0 => 7.3.0 |
2018-06-29 21:15 |
|
Fixed in Version | => 7.3.0 |
2018-06-29 21:19 |
|
Status | verified => closed |