Commit Graph

395 Commits

Author SHA1 Message Date
Uwe
3a50f95be4 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
wmayer
b4c480737f Test: [skip ci] set direct connection mode as otherwise the test will fail 2022-07-05 15:28:28 +02:00
0penBrain
5dcd27df93 Gui: test for ILoggerBlocker 2022-07-05 13:35:18 +02:00
wmayer
45d7151dfa Test: [skip ci] unit test for fix of Vector2d::Rotate 2022-07-04 16:53:47 +02:00
wmayer
b50e0485d9 Test: ignore UnicodeEncodeError in TestMetadata.test_file_path 2022-06-30 13:32:29 +02:00
wmayer
898b1007b9 Test: use codecs.open in TestMetadata.test_file_path 2022-06-29 15:51:42 +02:00
wmayer
82bbe47d68 Test: set encoding to utf-8 in TestMetadata.test_file_path 2022-06-29 12:28:02 +02:00
wmayer
448b1ec9f3 Test: [skip ci] test file path with utf-8 <-> utf-16 conversion 2022-06-29 11:23:15 +02:00
wmayer
e07cfa09bb Test: extend test for enumeration 2022-06-28 21:24:19 +02:00
wmayer
35919e2a75 Test: [skip ci] test for fixed Rotation::inverse() 2022-06-20 12:39:22 +02:00
wmayer
b8434f2ddc Test: [skip ci] extend test for issue #6949 2022-06-11 16:10:09 +02:00
0penBrain
6e587d130d Expression: add unit test for issue #6948 2022-06-11 15:59:06 +02:00
0penBrain
38ec63cba1 [Bugfix] Expression: fix precedence+associativity management in parenthesis removal
Fixes #6948
2022-06-11 15:59:06 +02:00
wmayer
f37574e809 Base: raise TypeError if Vector is multiplied with unsupported type 2022-06-04 13:21:04 +02:00
Benjamin Alterauge
03f3852617 List all available test units, if none is selected.
From the command line (FreeCADCmd) only which not need the GUI.

A better description

Grammatically improvement

Use PrintMessage
2022-05-31 02:03:11 +02:00
Yorik van Havre
1e034cc47f Merged crowdin translations 2022-05-27 11:28:55 +02:00
wmayer
1383b47659 Test: [skip ci] add unit tests for PR #6907 2022-05-24 14:17:44 +02:00
Kuzemko Alexsandr
b903e949ae Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
wmayer
61bc913fe5 Test: [skip ci] test matrix element order 2022-05-17 11:47:40 +02:00
luz paz
6e86375e8f [TestWB] fix source comment typo in
[skip ci]
2022-05-17 02:28:47 +02:00
wmayer
00fea5057c Test: [skip ci] unit test for Commands related to PR #6889 2022-05-16 13:33:32 +02:00
wmayer
cca62bd8b5 Test: unit test for sub-objects related to PR #6888 2022-05-16 11:29:18 +02:00
wmayer
4ae98779c1 Test: unit test for sub-objects related to PR #6838 2022-05-14 16:32:19 +02:00
Yorik van Havre
0680ad5558 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
ab5a6d83a1 Updated ts files 2022-05-05 15:20:57 +02:00
wmayer
dc53e6dce1 App: fix restoring the attributes of a dynamic property
For more details see: https://forum.freecadweb.org/viewtopic.php?p=591465#p591465
2022-05-03 16:52:54 +02:00
wmayer
b160d9b7e0 Test: [skip ci] add unit tests for Prop_None and Prop_Output 2022-05-03 11:46:04 +02:00
wmayer
cd65de7e44 Base: fix conversion from Placement to Matrix
See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=61000
2022-04-29 13:45:50 +02:00
wmayer
3f89b656e4 Test: [skip ci] add missing unit test for PR #6787: fix property conflict in App::Link restore 2022-04-25 14:50:47 +02:00
Yorik van Havre
a4a0d11eca Merged crowdin translations 2022-04-21 14:18:33 +02:00
wmayer
2abda1e0a0 Test: [skip ci] add test code of issue #6735 as unit test 2022-04-13 12:59:16 +02:00
wmayer
b47029998e Base: fix handling of path separators in parameter group names 2022-03-29 14:54:03 +02:00
Chris Hennes
d353bea5dc Test: PR4556 Step 3: sort QGridLayout by row-col 2022-03-28 10:43:25 -05:00
wmayer
924d779fc7 Points: include header with export macros 2022-03-24 20:46:47 +01:00
wmayer
97330443a2 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
Chris Hennes
9fe1bdb092 App: Add Metadata content type test 2022-03-21 09:24:51 -05:00
Uwe
ea5b45b92c [Test] remove Xerces 2022-03-20 22:45:52 +01:00
Uwe
b480826091 [Test] remove Python.h 2022-03-20 22:42:09 +01:00
Chris Hennes
1fb1524492 Test: Change Metadata exception tests to use assertRaises 2022-03-17 19:09:01 -05:00
Stefan Brüns
0a844f1ca3 [Test] Fix tkinter module name for python 3
The module name changed from uppercase Tkinter to tkinter.
2022-03-17 15:20:42 +01:00
wmayer
200e4be033 Test: [skip ci] fix installation directory of metadata test files 2022-03-15 20:34:02 +01:00
Yorik van Havre
6efe74a554 Merged crowdin translations 2022-03-14 12:21:01 +01:00
wmayer
0054cbddaa Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
Chris Hennes
2fc9c93235 App: Improve Metadata error handling
Report XML parse exception details.
2022-03-13 21:01:47 -05:00
Chris Hennes
2ac4e60ab5 App: Fix Metadata Py constructors
Also adds unit tests for the corrected Copy and Default constructors.
2022-03-13 21:01:47 -05:00
Chris Hennes
84bc5ea5d1 Test: Add first tests for Metadata 2022-03-11 20:15:44 -06:00
wmayer
92ec0d2334 Test: fix unit test 'Menu' 2022-03-11 13:57:56 +01:00
wmayer
fa0e6dfa9e App: correctly handle int as argument for ocumentPy::getObject
Add a unit test to confirm correct behaviour
2022-03-09 23:02:22 +01:00
Uwe
bda12907de [Gui] rename the Qt header list 2022-03-07 20:35:38 +01:00
Stefan Brüns
271abecb53 Test: Provide more useful information when unit translation fails
Add the input quantity and the target scheme to the exception output.
Also make the output formatting more canonical and remove the unused
"s" temporary.
2022-03-06 11:20:09 -05:00