Commit Graph

119 Commits

Author SHA1 Message Date
wmayer
6ae540b053 fixes #0003137: Unit UserString wrong 2017-07-24 16:52:03 +02:00
Markus Lampert
5e4533c959 Removing dependency on lxml - fixed some bugs on deleting a job and all it's sub components. 2017-06-21 11:41:35 -07:00
Markus Lampert
bd9ae7bc25 Disable exception catching in tests to figure out why TestPathApp cannot be imported on the build system. 2017-06-21 11:41:35 -07:00
wmayer
feaaf452fb Qt5: set color to progress bar using style sheet 2017-06-19 18:54:25 +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
Stefan Tröger
2d3c655ced Group tests and fixes 2017-06-19 15:37:09 +02:00
Stefan Tröger
a1d9622eb5 Links ensure uncyclic graph and correct groups 2017-06-19 15:37:09 +02:00
Stefan Tröger
94082a2f73 Group: ensure single group only 2017-06-19 15:37:09 +02:00
Stefan Tröger
538853e5f4 GeoFeatureGroup: add object adds relevant links 2017-06-19 15:37:09 +02:00
Bernd Hahnebach
0a387ea8e9 Test: add a def to run all test case clases from a test module 2017-05-27 20:38:50 -03:00
Yorik van Havre
de4d33cb84 Updated translations 2017-05-25 10:04:05 -03:00
looooo
7dd0b9b4e6 Test: simplified command to run single test 2017-05-04 00:19:37 +02:00
wmayer
8c1aca1fb8 issue #0002996: PyObjectBase notification chain can lead to unexpected changes to document 2017-04-27 15:09:28 +02:00
Yorik van Havre
9f44809e9e Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
looooo
5e6993a28c py3: Test: gathering diff of py3-branch
ec9dcf7453d44ce21e6ab5e460293006a49e7ccc
2017-03-02 12:46:57 +01:00
looooo
12a8c0fbe8 py3: Test: print 2017-03-02 12:46:57 +01:00
Priit Laes
fea91f701b python: Test: *.py: Fix python3 syntax 2017-03-02 12:46:57 +01:00
wmayer
3646f15022 issue #2902: add unit test 2017-02-14 16:41:14 +01:00
wmayer
d0e6253041 issue #0002902: PyObjectBase notification chain can lead to unexpected changes to document 2017-02-14 00:32:30 +01:00
wmayer
7ba2217617 py3: ported module init to python3 2017-02-04 15:56:31 +01:00
Markus Lampert
1f4d010f40 Restored exception masking - although i'm not sure it's a good thing. 2017-01-28 11:46:17 -08:00
Markus Lampert
19798c1e08 Refactored cmake file once again - exposing root exception. 2017-01-28 11:46:17 -08:00
Markus Lampert
74d4a4322f Hooked Path tests into global unit test target. 2017-01-28 11:46:16 -08:00
Stefan Tröger
0e83976698 DAG: Add document graph recompute test 2017-01-21 19:15:36 +01:00
looooo
8d8dec9f3d python3: dict.has_key("key") --> "key" in dict 2017-01-20 00:06:58 -02:00
wmayer
69de741365 set layout of text of progress bar in unit test dialog 2017-01-16 18:48:18 +01:00
Alexander Gryson
456e77de3f Update multiple workbenches
Workbenches updated:
* Complete
* Image
* Inspection
* Material
* MeshPart
* Points
* Reverse Engineering
* Start
* Test
* Web
2016-12-26 12:23:07 -02:00
wmayer
6ad093ee5c add unit test for group extension 2016-12-15 16:26:32 +01:00
wmayer
743b83e853 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8 remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
Stefan Tröger
b09ca0c787 Extensions: Implement persistence 2016-12-11 19:27:35 +01:00
wmayer
ab58d648c2 run test for extensions in view provider only in Gui mode 2016-12-04 20:53:30 +01:00
Stefan Tröger
2760498524 Extensions: Fix ViewProvider extension test 2016-12-04 19:58:46 +01:00
Stefan Tröger
5ea603977f Extensions: Fix ViewProvider python interface 2016-12-04 17:35:00 +01:00
wwmayer
bc7dd1e18f Merge pull request #357 from mlampert/PathGeom
Path: Path->Wire transformation and other goemetry helpers.
2016-12-01 12:48:03 +01:00
Stefan Tröger
ee4abeea5e Extensions: "hasExtension" for python types -fix 0002785 2016-11-28 22:15:09 +01:00
ml
b866ccea5e First pointless path unit test 2016-11-18 15:41:04 -08:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
b5cbaae73a move handling of dynamic properties from FeaturePythonPyT to DocumentObjectPy 2016-11-09 16:09:21 +01:00
Stefan Tröger
ab6151e71a Extension: Fix test case 2016-10-08 12:48:34 +02:00
Stefan Tröger
f0f31ff94c Extensions: Make Python Integration work 2016-10-08 12:48:34 +02:00
wmayer
5c87f182eb Add enum test 2016-09-24 16:47:41 +02:00
wmayer
b34c9fec96 fix -Wextra in Test 2016-09-21 21:15:10 +02:00
wmayer
4c9b486954 fix crash when saving a document after aborting a pending transaction 2016-08-31 17:58:55 +02:00
Sergo
765a4ad820 Test: test moving features from one part to another 2016-08-24 19:11:26 +02:00
Ian Rees
554e8af594 Allow unit test suite to run with missing modules. 2016-08-10 13:57:23 +02:00
WandererFan
8f0fc1aadf Add unit tests for TechDraw 2016-07-11 15:32:16 +02:00
Yorik van Havre
66e33b066a Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
Bruce Lacey
131ce6834a Exit with non-zero status when unit tests fail.
1.  Enhanced TestApp.py to return the unittest TestResult object to the calling method
2.  FreeCADTest.py now checks the TestResult object.  If all tests pass, FreeCADTest.py exits with a 0 however if any tests fail, then it exits with 1.  FreeCADTest.py calls os._exit() with the exit code instead of sys.exit() because Base::Interpreter:SystemExitException intercepts sys.exit() calls and swallows the exit code so there is no way to propogate the non-zero code from the python test cases through the interpreter to the shell in the current call stack.
2016-03-09 21:57:57 -08:00