0023901: Memory leaks in tests.
authoromy <omy@opencascade>
Thu, 23 May 2013 08:02:14 +0000 (12:02 +0400)
committeromy <omy@opencascade>
Thu, 23 May 2013 08:02:14 +0000 (12:02 +0400)
commit5a77460e4ad02d93ef25881fab7c5123ef0c7695
tree6eb9af6a97028b41945a5522d2ee51abf2f8880a
parent6a7d83c4809e8dbe273dfc5731aa0ba5c79cc10c
0023901: Memory leaks in tests.
1. Removed cyclic reference. Removed field myCommonBlock from BOPDS_PaveBlock;
2. Added data map myMapPBCB in BOPDS_DS. It contains pairs (PaveBlock, CommonBlock);
3. All methods about common block have been shifted from BOPDS_PaveBlock to BOPDS_DS;
4. Test case bugs moddata_2 pro19422_2 has been rewritten to build the correct result.
Test case corrected (TODO removed)
17 files changed:
src/BOPAlgo/BOPAlgo_Builder_1.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_3.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_5.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_7.cxx
src/BOPAlgo/BOPAlgo_Tools.cdl
src/BOPAlgo/BOPAlgo_Tools.cxx
src/BOPDS/BOPDS.cdl
src/BOPDS/BOPDS_DS.cdl
src/BOPDS/BOPDS_DS.cxx
src/BOPDS/BOPDS_DataMapOfPaveBlockCommonBlock.hxx [new file with mode: 0644]
src/BOPDS/BOPDS_PaveBlock.cdl
src/BOPDS/BOPDS_PaveBlock.cxx
src/BOPDS/FILES
src/QANewModTopOpe/QANewModTopOpe_Tools.cxx
tests/bugs/fclasses/bug7287_1
tests/bugs/moddata_2/pro19422_2