wmayer
1e71c7ce5b
Test: explicitly switch on undo/redo mode in testIssue4649
2021-12-10 00:04:40 +01:00
wmayer
c618f069a1
Test: disable a test that fails in command line mode
2021-12-09 21:32:02 +01:00
wmayer
5dc14d2e48
Test: add unit test for issue 0004649
2021-12-09 18:47:38 +01:00
Zheng, Lei
27f24c069d
Test: fix test case
...
Adding dynamic property with an invalid name or existing name is now an
error, because there is no easy way for Python code to find out the name
of a property if it is auto renamed.
2021-11-21 19:03:53 -06:00
Bernd Waibel
203d408429
[Test] fix failing test
...
Solves an issue with the test module when running test-suite
as described in
https://forum.freecadweb.org/viewtopic.php?f=10&t=58099
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net >
2021-04-28 22:09:55 +02:00
Chris Hennes
6b16e12d7c
[OTHER] Catch only Exception, not BaseException
2021-02-11 11:52:45 +01:00
Stefan Tröger
ec5ac30756
Remove ExtensionProxy and rely on default Python proxy for extensions. fixes #0004534
2021-01-30 16:00:48 +01:00
Markus Lampert
5ba83fc393
Expose PropertyEnumeration values list to python.
2020-12-31 20:06:02 -08:00
luz paz
26636dbbad
Test: Fix header uniformity, whitespace, doxygen headers
2020-11-18 08:58:06 +01:00
wmayer
a08435a53c
App: add documentation to PropertyCleaner
...
move global variables static variables of PropertyCleaner
add unit test for removal of property in onBeforeChange
2020-03-21 18:33:08 +01:00
Stefan Tröger
7b79012ae1
Implement and test extension events
2020-02-13 14:39:46 +01:00
luz.paz
30d2e29e0c
LGTM: various fixes for using string operator instead of numeric
2019-10-25 10:33:12 -03:00
Zheng, Lei
de93446a1c
Test cases changes
...
Slight adjustment of various test cases due to various API changes.
2019-08-17 15:32:48 +02:00
wmayer
b979366e9c
add unit test to verify that removing a property alo removes a dependency
2019-03-18 14:31:18 +01:00
wmayer
a8a6c6572f
fix document observer classes to allow to run unit tests multiple times
2019-03-03 13:57:24 +01:00
wmayer
72314b0154
make unit tests about document observer more reliably
2018-11-08 16:19:06 +01:00
wmayer
ec46f95192
Add unit tests to check the new Prop_NoRecompute value
2018-11-08 10:24:14 +01:00
wmayer
e8d5075b43
+ minor fix in Document unit tests
2018-11-05 11:21:50 +01:00
wmayer
550d62bb6a
replace deprecated failUnless with assertEqual
2018-10-27 17:44:37 +02:00
ickby
d5cbee5543
Persistence: Test cases for content dump
...
It turned our that the document could not be dumped as the xml specifier was used as first element. As the dumping added the <content> element around it was invalid. However, content is required to read properties. Hence the xml element generation was moved.
2018-10-27 16:15:30 +02:00
wmayer
5f6a6cde9c
fix bug in PropertyPlacementList::RestoreDocFile
2018-10-22 12:06:54 +02:00
wmayer
bf4dd7920e
emit signal when starting and finishing to save a document
2018-10-08 14:03:00 +02:00
ickby
b84edf59af
Make document observer testcases work in cmd line mode
2018-10-08 11:06:25 +02:00
ickby
761881fe99
Expose edit signals to Gui observer
2018-10-08 11:06:04 +02:00
ickby
835c75421f
Add python document observer for GUI documents
2018-10-08 11:04:56 +02:00
ickby
7a71379c58
Expose dynamic property signals to python observer
2018-10-08 11:02:31 +02:00
ickby
ccb108dc3d
Improve document observer tests by checking parameters of each call, not only the last one
2018-10-08 11:01:52 +02:00
ickby
b08738c15b
Expose document property changes to python document observer
2018-10-08 11:01:07 +02:00
ickby
617114a072
Fix and test the new signals
2018-10-08 10:58:39 +02:00
luz.paz
360e581672
Misc. typo and whitespace fixes
...
ref: https://forum.freecadweb.org/viewtopic.php?f=3&t=30988#p256964
along with other misc. fixes
2018-09-19 17:26:03 +02:00
wmayer
09a8cd6faa
fixes #0003586 : App test cases require Part module
2018-09-10 20:00:41 +02:00
luz.paz
60bd74aaad
Trailing whitespace fixes
2018-08-18 21:48:42 +02:00
luz.paz
fab9cad50f
Misc. typos
...
Found via `codespell`
Trivial typos
Found via `codespell`
2018-08-18 21:48:42 +02:00
wmayer
5e16cb9792
fixes #0003323 : Crash when clearing transaction list
2018-01-31 23:39:13 +01:00
wmayer
5d1fb6937e
tmp. disable unit test for link goes out of scope
2018-01-28 00:38:07 +01:00
Unknown
e3eca59173
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
plgarcia
c42330ef0a
Add a function to compare 2 double allowing approximation errors
2017-12-13 17:00:38 +01:00
wmayer
28578fa390
unit test for backlinks on expressions
2017-10-19 23:49:01 +02:00
Stefan Tröger
104c7db3f9
Remove unneeded debug print in test case
2017-09-09 16:55:55 +02:00
Stefan Tröger
efe33757ee
Make sure all relevant links are found for object in GeoFeatureGroup. issue0003150
2017-09-09 16:55:55 +02:00
Stefan Tröger
b2874ec0dc
Keep backlink consitent during undo/redo. issue 0003150
2017-09-09 16:55:55 +02:00
Stefan Tröger
4fa3005343
Make Group searching robust for cyclic dependencies. fixes #0002567
2017-09-09 16:55:55 +02:00
Stefan Tröger
03721b91b8
Prevent crash on cyclic group relations. fixes #0002567
2017-09-09 16:55:55 +02:00
Stefan Tröger
b28c5aa5ba
Test cross GeoFeatureLinks
2017-09-09 16:47:07 +02:00
Stefan Tröger
7f34cbe733
Ensure objects to be in a single GeoFeatureGroup only
2017-09-09 16:47:07 +02:00
Stefan Tröger
2b7e0dc327
Prevent cross GeoFeatureGroup links on recompute
2017-09-09 16:47:07 +02:00
wmayer
0dbfd492be
unit test: remove property while transaction is active and abort it later
2017-09-08 14:34:33 +02:00
wmayer
2ae441ff9d
unit test for duplicate links in a group
2017-08-19 19:36:40 +02:00
Stefan Tröger
fd0d3f1a39
Revert link integrity checks in properties
...
The DAG test is not needed anymore as the relevant functions are non-DAG save now, and the other check will be moved to the recompute as it is not efficient or save to do it in the links itself.
2017-06-19 15:37:09 +02:00
Stefan Tröger
1d10dd2835
Extend python interface for groups and fix test cases
2017-06-19 15:37:09 +02:00