Commit Graph

71 Commits

Author SHA1 Message Date
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
triplus
93c7a6bcac Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Yorik van Havre
f93b1b26df Added updated translations from crowdin - fixes #2443 2016-02-26 18:32:02 -03:00
wmayer
c29ce382f6 + translation fixes 2016-02-13 16:48:24 +01:00
Yorik van Havre
fa87413f7d Added draft & arch tests to the Test GUI 2016-02-05 16:47:36 -02:00
Yorik van Havre
3106ca7df3 Added slovenian language 2016-02-03 13:36:51 -02:00
Yorik van Havre
758b0778d4 Updated translations with latest from crowdin 2016-02-01 23:32:58 -02:00
wmayer
16819e29bb + write unit tests for Spreadsheet and expression stuff 2016-01-26 15:07:29 +01:00
wmayer
f3b8d7cbc1 + simplify porting of Test module to Python3 2016-01-20 10:26:12 +01:00
Mateusz Skowroński
6942c23895 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
f48f0f69be Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
0695552cff QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
b0d6ffc5b2 + clean-up, fix and new methods added in unit test module 2015-10-19 21:51:43 +02:00
wmayer
4ac649d3ec + add more unit tests for bounding box 2015-10-19 17:27:55 +02:00
wmayer
91a0203981 + truncate text when too long in message box in unit test panel and show the full text in detailed section 2015-10-17 14:33:54 +02:00
wmayer
f6023d36d2 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
6b67d4a4e7 + replace old C casts with static_cast in generated C++ code, remove unused parent structure of Python classes, support of -1 as return value of setCustomAttributes 2015-09-27 22:08:08 +02:00
wmayer
896b566dd9 + test command to show race conditions in Console class
+ fix race conditions in Console class
2015-08-13 18:57:52 +02:00
wmayer
529947769d + make FEM unittest more platform independent 2015-08-05 11:31:14 +02:00
Przemo Firszt
9e439b7087 Tests, Units: Add Density test
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
Przemo Firszt
2d0c9810e2 Tests, Units: Fix formatting
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
wmayer
c2c83a353b + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
Przemo Firszt
aaf1495fde Test: Fix formatting in TestApp.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 14:03:44 +01:00
wmayer
d2b7b730d3 + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
9f9df364fd + apply Debian patch: unittest to stdout 2015-07-09 15:29:45 +02:00
wmayer
8bf52f861b + unit test for PropertyEnumeration 2015-04-26 22:17:32 +02:00
wmayer
92149d10b7 + fix broken unit test 2015-04-25 21:58:41 +02:00
Yorik van Havre
87911ca46b Updated ts files from source 2015-02-27 18:56:51 -03:00
Yorik van Havre
7f98d14930 Updated translations from crowdin 2015-02-27 18:46:03 -03:00
Yorik van Havre
3e78e68f39 Updated base translation files for crowdin 2015-01-13 20:00:09 -02:00
wmayer
3398513a28 + remove useless stuff from Init files 2015-01-13 16:19:19 +01:00
Sebastian Hoogen
46a00d1380 remove support for automake 2014-11-26 10:26:30 +01:00
jriegel
103ae7c2ad move build specifier in own cMake group 2014-08-03 20:53:19 +02:00
Yorik van Havre
867f526d3b Updated translations 2014-05-24 17:35:20 -03:00
wmayer
6ac93e9d72 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
mdinger
1498e99cef Move python module prefix and suffix properties into macro to be set together 2014-05-03 16:00:30 +02:00
wmayer
67edfb895b + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
e2bd648e9a Remove unnecessary quotes. 2014-04-30 13:41:16 +02:00
mdinger
3e3ce381f6 Apply SET_BIN_DIR macro to Mod 2014-04-30 13:41:13 +02:00
Yorik van Havre
bc73f76a63 Updated ts files from source 2014-03-10 20:36:59 -03:00
wmayer
f0d8650c3c + Fix broken unit tests 2014-02-25 15:24:10 +01:00
wmayer
2241f2ad1c + fixes #0001364: Issue 1256 is not actually fixed 2014-01-24 13:54:57 +01:00
jriegel
87c8d5b022 Switching the UnitsApi to the new Quantity system 2013-12-03 19:03:08 +01:00
WandererFan
70e0431341 Add Draft makePathArray and _PathArray
Add Draft PathArray GUI tool
2013-11-28 11:42:14 -02:00
wmayer
201042692d 0001278: No build possible with current CMake version 2.8.12 2013-10-22 10:33:18 +02:00
wmayer
3590e6fc7b +Relicense from GPL to LGPL 2013-09-19 11:21:03 +02:00
Yorik van Havre
3b8708ef71 Arch: Added test suite 2013-08-15 19:24:54 -03:00
Yorik van Havre
2aacbf46e1 Draft: Added test suite 2013-08-15 19:24:54 -03:00