Commit Graph

192 Commits

Author SHA1 Message Date
Yorik van Havre
0c1289282b Merged latest translations from crowdin 2020-03-05 11:58:03 -03:00
Stefan Tröger
52c64d8a85 Implement and test extension events 2020-02-13 14:39:46 +01:00
donovaly
f2c83ac46b remove program-specific SVG namespaces
while fixing a SVG export issue for techDraw I noticed that some SVG files have program-dependent (and thus not clean) code in it. These are traces of the programs Sodipodi and Inkscape, like e.g. this line:
inkscape:export-filename="/home/yorik/PartDesign_Groove.png

This is unnecessary and FC should not use program-dependent code in the SVG but use instead plain SVG strictly following the SVG specification.

This PR transforms the few affected SVGs to a plain version.
2020-02-07 07:34:49 -05:00
wmayer
9270322d25 Mod: [skip ci] implementation classes don't inherit from UI classes any more 2020-01-10 16:19:35 +01:00
wmayer
f1cd9c05f8 Test: [skip ci] add new tests for quantities 2019-12-19 13:31:12 +01:00
luz.paz
1bc33025d6 LGTM: various fixes for using string operator instead of numeric 2019-10-25 10:33:12 -03:00
wmayer
c903de8af7 Adjust unit test of deleting a parameter group to new behaviour 2019-10-19 22:38:07 +02:00
Philipp M. Fischer
da6091ab93 fix to flush stdout after unit test execution
- added statement to flush the stdout
2019-10-05 16:46:45 +02: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
Yorik van Havre
bd7dd045b3 Test: Allow WBs to know they are being run under test environment 2019-07-21 19:01:39 -03:00
wmayer
7b90ed097c fix false-positive in workbench unit tests 2019-07-07 19:37:33 +02:00
Yorik van Havre
ed386410bc Merged latest translations from crowdin 2019-05-10 19:19:37 -03:00
wmayer
8f2dd00126 add unit test to verify that removing a property alo removes a dependency 2019-03-18 14:31:18 +01:00
Yorik van Havre
dcae6d027e Updated translations 2019-03-06 21:50:08 -03:00
wmayer
34e09b9af3 fix document observer classes to allow to run unit tests multiple times 2019-03-03 13:57:24 +01:00
Yorik van Havre
a70a82e19f Revert "Merged crowdin translations" for investigation due to some problems found in the translation files...
This reverts commit 9032c4c587.
2019-03-02 19:17:44 -03:00
Yorik van Havre
9032c4c587 Merged crowdin translations 2019-02-28 21:53:37 -03:00
Yorik van Havre
f14633d182 Added untranslated 'master' .ts files where missing 2019-02-08 18:50:13 -02:00
Yorik van Havre
ac18ec0d79 Updated translations 2019-02-01 13:54:10 -02:00
cclauss
a17ca7dc05 apply() was removed in Python 3 2019-01-09 10:30:02 +01:00
cclauss
9af7b83538 Missing import FreeCAD and/or FreeCADGui (again) 2019-01-07 12:25:27 -02:00
wmayer
8527b0228e in test_python_syntax fix check for Py3 2019-01-03 10:40:19 +01:00
Yorik van Havre
2ea84272fd Updated translations from crowdin 2018-12-23 13:54:30 -02: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
2af5a983a2 unit test for / operator of Quantity 2018-10-27 15:58:40 +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
wmayer
404b42d0a6 unit tests of Arch and Draft require GUI, improve output of units tests 2018-08-28 19:39:34 +02:00
wmayer
67b5ee0931 now each module registers its unit tests itself 2018-08-28 13:14:16 +02:00
wmayer
8d09cafc33 CMP0050: make Test module aware of cmake policy 2018-08-20 13:58:28 +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
looooo
ab3ec6cc73 py2 fix: open doesn't accept encoding attribute 2018-05-23 19:13:54 +02:00
looooo
71dd8934a7 add python syntax checker 2018-05-23 19:13:54 +02:00
looooo
c801808bed python syntax checker: remove some strange leading characters 2018-05-23 19:13:54 +02:00
luz.paz
a529ba1787 Crowdin: more fixes 2018-05-02 00:50:06 -04:00
luz.paz
fb224b0090 Crowdin: fix in different WBs 2018-05-02 00:50:06 -04:00