luz.paz
1bc33025d6
LGTM: various fixes for using string operator instead of numeric
2019-10-25 10:33:12 -03:00
Zheng, Lei
1d274f6697
Test cases changes
...
Slight adjustment of various test cases due to various API changes.
2019-08-17 15:32:48 +02:00
wmayer
8f2dd00126
add unit test to verify that removing a property alo removes a dependency
2019-03-18 14:31:18 +01:00
wmayer
34e09b9af3
fix document observer classes to allow to run unit tests multiple times
2019-03-03 13:57:24 +01:00
wmayer
fe033dee78
make unit tests about document observer more reliably
2018-11-08 16:19:06 +01:00
wmayer
36b9a1c45c
Add unit tests to check the new Prop_NoRecompute value
2018-11-08 10:24:14 +01:00
wmayer
768b1874db
+ minor fix in Document unit tests
2018-11-05 11:21:50 +01:00
wmayer
3443fd9661
replace deprecated failUnless with assertEqual
2018-10-27 17:44:37 +02:00
ickby
c60364772a
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
9bb360bb75
fix bug in PropertyPlacementList::RestoreDocFile
2018-10-22 12:06:54 +02:00
wmayer
dc023afc84
emit signal when starting and finishing to save a document
2018-10-08 14:03:00 +02:00
ickby
11a569b6b4
Make document observer testcases work in cmd line mode
2018-10-08 11:06:25 +02:00
ickby
3e3bfbabf5
Expose edit signals to Gui observer
2018-10-08 11:06:04 +02:00
ickby
a0de8c9a62
Add python document observer for GUI documents
2018-10-08 11:04:56 +02:00
ickby
fb95e3247d
Expose dynamic property signals to python observer
2018-10-08 11:02:31 +02:00
ickby
7ec4fb357c
Improve document observer tests by checking parameters of each call, not only the last one
2018-10-08 11:01:52 +02:00
ickby
f68e36de41
Expose document property changes to python document observer
2018-10-08 11:01:07 +02:00
ickby
e91de65df0
Fix and test the new signals
2018-10-08 10:58:39 +02:00
luz.paz
b214f606c4
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
b6e8718335
fixes #0003586 : App test cases require Part module
2018-09-10 20:00:41 +02:00
luz.paz
a981753d2c
Trailing whitespace fixes
2018-08-18 21:48:42 +02:00
luz.paz
781d007321
Misc. typos
...
Found via `codespell`
Trivial typos
Found via `codespell`
2018-08-18 21:48:42 +02:00
wmayer
bb39cc783a
fixes #0003323 : Crash when clearing transaction list
2018-01-31 23:39:13 +01:00
wmayer
d9627d5311
tmp. disable unit test for link goes out of scope
2018-01-28 00:38:07 +01:00
Unknown
a8ecffb652
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
plgarcia
03427bf675
Add a function to compare 2 double allowing approximation errors
2017-12-13 17:00:38 +01:00
wmayer
489c8c9aef
unit test for backlinks on expressions
2017-10-19 23:49:01 +02:00
Stefan Tröger
f83424d5e9
Remove unneeded debug print in test case
2017-09-09 16:55:55 +02:00
Stefan Tröger
9d4f1b754a
Make sure all relevant links are found for object in GeoFeatureGroup. issue0003150
2017-09-09 16:55:55 +02:00
Stefan Tröger
946e470a6f
Keep backlink consitent during undo/redo. issue 0003150
2017-09-09 16:55:55 +02:00
Stefan Tröger
96f8d944f8
Make Group searching robust for cyclic dependencies. fixes #0002567
2017-09-09 16:55:55 +02:00
Stefan Tröger
83f99ba1b6
Prevent crash on cyclic group relations. fixes #0002567
2017-09-09 16:55:55 +02:00
Stefan Tröger
45d1acf9f3
Test cross GeoFeatureLinks
2017-09-09 16:47:07 +02:00
Stefan Tröger
c0a270a76e
Ensure objects to be in a single GeoFeatureGroup only
2017-09-09 16:47:07 +02:00
Stefan Tröger
f96c69deed
Prevent cross GeoFeatureGroup links on recompute
2017-09-09 16:47:07 +02:00
wmayer
5a32fd5886
unit test: remove property while transaction is active and abort it later
2017-09-08 14:34:33 +02:00
wmayer
ca4488f438
unit test for duplicate links in a group
2017-08-19 19:36:40 +02:00
Stefan Tröger
fa4d67735f
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
f9200f4502
Extend python interface for groups and fix test cases
2017-06-19 15:37:09 +02:00
Stefan Tröger
9fbf118cdd
Group tests and fixes
2017-06-19 15:37:09 +02:00
Stefan Tröger
0487b66738
Links ensure uncyclic graph and correct groups
2017-06-19 15:37:09 +02:00
Stefan Tröger
f0f7125a11
Group: ensure single group only
2017-06-19 15:37:09 +02:00
Stefan Tröger
53ff196c2e
GeoFeatureGroup: add object adds relevant links
2017-06-19 15:37:09 +02:00
wmayer
a2dd176bc2
issue #0002996 : PyObjectBase notification chain can lead to unexpected changes to document
2017-04-27 15:09:28 +02:00
looooo
dcdce7bab2
py3: Test: print
2017-03-02 12:46:57 +01:00
wmayer
f4d8945dd8
issue #2902 : add unit test
2017-02-14 16:41:14 +01:00
wmayer
b72aa9f369
issue #0002902 : PyObjectBase notification chain can lead to unexpected changes to document
2017-02-14 00:32:30 +01:00
Stefan Tröger
d9adc9cd6c
DAG: Add document graph recompute test
2017-01-21 19:15:36 +01:00
wmayer
9a1fadd23e
add unit test for group extension
2016-12-15 16:26:32 +01:00
Stefan Tröger
cd1c753fa2
Extensions: Implement persistence
2016-12-11 19:27:35 +01:00