Commit Graph

314 Commits

Author SHA1 Message Date
Yorik van Havre
1ae780d3b1 Merged crowdin translations 2022-10-17 15:12:16 +02:00
wmayer
9f8cfe22f8 App: add tests for cell rows and absolute cells 2022-10-13 20:16:48 +02:00
Yorik van Havre
4ca1b838a9 Merged crowdin translations 2022-10-06 12:48:05 +02:00
Chris Hennes
bc27561ea5 Test: Add more tag testing to Metadata tests 2022-10-03 19:13:48 -07:00
wmayer
bdb1e22fc0 [skip ci] Debian patches:
* Fix FTBFS on armhf/armel, undefined GL_PROJECTION (issue 1014875)
* Disable syntax checks for some Python modules
2022-09-06 14:40:10 +02:00
wmayer
5f91eaa5eb TD: modernize C++: replace 'typedef' with 'using' 2022-08-30 10:59:39 +02:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
Jonas Bähr
46cee50bd5 Fix build on MacOS-X 10.14: missing Xerces include dir
This undoes most of the Xerces related part of the commits listed below.
The issue resolved here is that the Xerces include dir *is* set in the
CMakeLists.txt of src/Base, but it got removed from various App and Gui
dirs in src/Mod. If those now include a header from src/Base, which
itself includes xercesc, the build fails using Apple clang version 11.0.0
(clang-1100.0.33.17) on Mojave, configured using cmake 3.22.1, with
errors like the following:

In file included from .../src/Mod/Part/App/FeaturePartBoolean.cpp:34:
In file included from .../src/App/Application.h:33:
.../src/Base/Parameter.h:54:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
 #include <xercesc/util/XercesDefs.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Finally, a full list of the commits that introduced this spurious include
dir optimization for reference:
- Drawing: commit f4411478d106ba9f4827754a50efa53bd7767a66
- Image: commit e3476815c04c571199779bd1e444b950e6398025
- Import: commit b7b264e52c8fd97e83987c4ce42ce563170c8918
- Inspection: commit 1f64d8b1b8fcabe983c6e5e624d65766b4429ea0
- Mesh: commit 5a8fed0720d681cdbb9fedc840d2532c4f2f6042
- Part: commit 26bb65f11f4b51e5e47b65b2d6049ece10705a83
- PartDesign: commit f4e49f2aecf08f2337e84510ed019b7fa4b685a3
- Path: commit e3d9cc98577d2073297d55ffd8de28dd50f8444c
- Points: commit 09f3e867cdccd31294cced4e3c73015d3add3f4a
- Raytracing: commit 7b92dedc53f09e2ce8365408f3003e5700aebfc8
- ReverseEnginering: commit eeacc51ad0cd82e5f17d63207f78f79eb20bf9a9
- Robot: commit 4d06684cbd0328e4f43c78b5dab7e7fcebab148d
- Sketcher: commit 079125665495a08a7e2e2a4f01da406128dca625
- Spreadsheet: commit 514097954e95c04a7ec9d7e8ec1afc3aac3dd8d
- Start: commit 2ea2bb0dc393d7b8b41e9137c6d4ae40ce29719d
- Surface: commit 272268dd6c0b460ae9aeecdf371495ea26aa044d
- TechDraw: commit c70fdc3e0aa6b409626a6fa6b7266d05f3338c6d
- Test: commit 49a07b121e08e9bf3fef0f414a8da5602533592e
- Web: commit a93a23d7e4da13b2d5c37ac087b2dcf41aae197d
2022-08-24 07:40:04 +02:00
wmayer
3f07755a8f Test: add test feature for unit tests 2022-08-22 15:46:40 +02:00
wmayer
b485f7943c Base: expose enum NumberFormat to Python 2022-08-15 11:12:53 +02:00
wmayer
86be2871d4 Test: unit test for handling of the factor of F/m
This test is supposed to cause a failure because of the wrong factor of F/m for SI1 and SI2 in commit 2f0824be
2022-08-14 20:17:13 +02:00
wmayer
35478e5aef Test: [skip ci] failUnless is deprecated, replace it with assertTrue 2022-08-14 19:06:39 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
wmayer
00bdd16dff Base: extend Placement/Rotation API
* Add Placement::isSame() and expose to Python
* Add Placement::multRight/Placement::multLeft
* Fix PlacementPy::rotate
* Add Rotation::multRight/Rotation::multLeft
* Add a test feature FeatureTestPlacement for uni tests
* Add unit tests
2022-08-09 11:54:05 +02:00
Uwe
474981d7b6 [Test] remove unnecessary Python check
we only support Python 3
2022-07-31 05:28:47 +02:00
luz paz
aec90797b4 Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-30 22:41:31 -04:00
wmayer
a693b1bf4e Test: [skip ci] fix typo 2022-07-27 13:35:34 +02:00
wmayer
f3b02a487f App/Test: implement unit test for PR #7250 2022-07-27 13:22:00 +02:00
Uwe
140e89e858 Mod: remove some more superfluous Boolean checks 2022-07-19 02:40:59 +02:00
Uwe
32ab100ed5 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
wmayer
b3e8efc9f9 Test: [skip ci] set direct connection mode as otherwise the test will fail 2022-07-05 15:28:28 +02:00
0penBrain
faf0d02945 Gui: test for ILoggerBlocker 2022-07-05 13:35:18 +02:00
wmayer
9cddd7f226 Test: [skip ci] unit test for fix of Vector2d::Rotate 2022-07-04 16:53:47 +02:00
wmayer
80e01ef0b7 Test: ignore UnicodeEncodeError in TestMetadata.test_file_path 2022-06-30 13:32:29 +02:00
wmayer
fc8ccd59ed Test: use codecs.open in TestMetadata.test_file_path 2022-06-29 15:51:42 +02:00
wmayer
4265755534 Test: set encoding to utf-8 in TestMetadata.test_file_path 2022-06-29 12:28:02 +02:00
wmayer
046b42c95b Test: [skip ci] test file path with utf-8 <-> utf-16 conversion 2022-06-29 11:23:15 +02:00
wmayer
02718d99bb Test: extend test for enumeration 2022-06-28 21:24:19 +02:00
wmayer
3c1c4a13e8 Test: [skip ci] test for fixed Rotation::inverse() 2022-06-20 12:39:22 +02:00
wmayer
36208f38e0 Test: [skip ci] extend test for issue #6949 2022-06-11 16:10:09 +02:00
0penBrain
7892f31c31 Expression: add unit test for issue #6948 2022-06-11 15:59:06 +02:00
0penBrain
d96a7ac9d8 [Bugfix] Expression: fix precedence+associativity management in parenthesis removal
Fixes #6948
2022-06-11 15:59:06 +02:00
wmayer
e3c384263c Base: raise TypeError if Vector is multiplied with unsupported type 2022-06-04 13:21:04 +02:00
Benjamin Alterauge
086547c490 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
2dffe82cda Merged crowdin translations 2022-05-27 11:28:55 +02:00
wmayer
fc9e19aafb Test: [skip ci] add unit tests for PR #6907 2022-05-24 14:17:44 +02:00
Kuzemko Alexsandr
c266f16c53 Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
wmayer
4ea3c8678b Test: [skip ci] test matrix element order 2022-05-17 11:47:40 +02:00
luz paz
ad067cdf7e [TestWB] fix source comment typo in
[skip ci]
2022-05-17 02:28:47 +02:00
wmayer
4393dfae8c Test: [skip ci] unit test for Commands related to PR #6889 2022-05-16 13:33:32 +02:00
wmayer
f4a0387dc9 Test: unit test for sub-objects related to PR #6888 2022-05-16 11:29:18 +02:00
wmayer
fbb992b578 Test: unit test for sub-objects related to PR #6838 2022-05-14 16:32:19 +02:00
Yorik van Havre
996994da55 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
a62092d498 Updated ts files 2022-05-05 15:20:57 +02:00
wmayer
d0f47f2afa 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
94dceaf09a Test: [skip ci] add unit tests for Prop_None and Prop_Output 2022-05-03 11:46:04 +02:00
wmayer
80c900cf52 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
a6d0338d0b 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
1fbd1fb38d Merged crowdin translations 2022-04-21 14:18:33 +02:00
wmayer
0cfb853549 Test: [skip ci] add test code of issue #6735 as unit test 2022-04-13 12:59:16 +02:00