Commit Graph

12 Commits

Author SHA1 Message Date
wmayer
e728c3590e TD: [skip ci] Fix coverity warning
Coverity warnings fixed:

CID 316559 (#1 of 1): Uninitialized scalar variable (UNINIT)
3. uninit_use_in_call: Using uninitialized value we. Field we.idx is uninitialized when calling push_back

CID 316549 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
4. uninit_member: Non-static class member pageheight is not initialized in this constructor nor in any functions that it calls.

CID 186161 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member parent is not initialized in this constructor nor in any functions that it calls.

CID 305170 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking this->m_baseFeat suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

CID 186152 (#2 of 2): Uninitialized pointer field (UNINIT_CTOR)
3. uninit_member: Non-static class member m_mdi is not initialized in this constructor nor in any functions that it calls.

CID 192588 (#1 of 1): Same on both sides (CONSTANT_EXPRESSION_RESULT)
pointless_expression
2021-02-21 16:30:30 +01:00
wandererfan
dd794a9e34 [TD]update balloon test case for OriginIsSet 2020-03-20 08:56:07 -04:00
donovaly
72e55ca8a3 fix missing namespaces in SVG files
see https://forum.freecadweb.org/viewtopic.php?f=35&t=42955&start=10#p365470
2020-02-03 07:20:52 -05:00
WandererFan
ec602a0934 [TD]update property name in Balloon test case 2019-12-27 20:27:19 -05:00
donovaly
e583b2a468 DrawViewBalloon: add units there as well
since OriginX/Y depend on DrawView base X/Y

- also adapt the balloon test accordingly
2019-12-01 21:48:46 -05:00
wandererfan
6bb8f19b2c Fix misleading error messages in ProjGroup test 2019-06-08 12:25:00 -04:00
wandererfan
f5681479e3 Add test script for leader line and RTA 2019-05-09 07:31:31 -04:00
Franck Jullien
b5613b2bd8 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
wandererfan
9a99a87a9a Replace static_cast with dynamic_cast
- replace all static_cast with dynamic_cast + error test
2019-03-07 10:58:28 +01:00
wandererfan
7189b8ebc0 Fix segfault on missing Anchor view
- test script did not create Anchor(Front) view.  DPG/DVP did not
  handle missing Anchor properly
2019-03-07 10:58:28 +01:00
WandererFan
4f291f7305 Allow ProgGroup Item AutoPosition from Python 2018-02-11 20:07:57 +01:00
WandererFan
6bd237e41e Update TechDraw Unit Test set
Allow unit test to run in console mode

Change to unique document names for each unit test

Fix error in CMake install for test files

Correct Py3/Py2 unicode error
2018-02-01 19:34:04 +01:00