Commit Graph

1175 Commits (02a272798385d54109b845022bd111e642e3c767)

Author SHA1 Message Date
Marius Kintel cf418188b9 Added malformed offset tests 2014-11-27 21:15:29 -05:00
Marius Kintel f36646730d Added some malformed polygon tests 2014-11-27 21:02:35 -05:00
Marius Kintel 75b57cd9b5 Added some malformed polyhedron tests and fixed an assertion bug 2014-11-27 21:00:23 -05:00
Marius Kintel 1cca6c088a Added tests for empty text results 2014-11-27 20:22:18 -05:00
Marius Kintel 77887bc2f8 Added surface not found tests 2014-11-27 19:19:02 -05:00
Marius Kintel 9c628225aa Added some nullspace tests 2014-11-27 19:09:54 -05:00
Marius Kintel 096ba7026d Added test for dxf file not found 2014-11-27 18:52:23 -05:00
Marius Kintel 23f1c4ac3f Updated test results 2014-11-27 17:21:23 -05:00
Marius Kintel 74475395f4 Merge remote-tracking branch 'origin/master' into stack-size-hack
Conflicts:
	src/expr.cc
2014-11-25 17:02:58 -05:00
Marius Kintel b03345ec18 bugfix: dump of list comprehension if expression was buggy 2014-11-25 17:01:10 -05:00
Marius Kintel 8ca812ac1a Added infinite module recursion test 2014-11-25 15:28:48 -05:00
Marius Kintel 259d1b6435 Initialize StackCheck for all test drivers 2014-11-25 15:04:00 -05:00
Marius Kintel 09d85c79ac Merge branch 'stack-size-hack' of github.com:openscad/openscad into stack-size-hack 2014-11-25 14:48:04 -05:00
Torsten Paul 5680dfc0e4 Fix test build. 2014-11-25 20:41:32 +01:00
Marius Kintel 0fa6154bbb Updated test results of all* tests 2014-11-25 14:35:23 -05:00
Marius Kintel df49d9e1a8 Added missing moduledump tests for list comprehension and let 2014-11-25 14:31:54 -05:00
Marius Kintel 07284b86ff Added missing moduledump tests for offset and text 2014-11-25 14:30:03 -05:00
Marius Kintel d73565f59f Added missing moduledump tests for chr, concat, norm, cross, parent_module 2014-11-25 14:28:17 -05:00
Marius Kintel 945be0020f Updated tests 2014-11-25 00:45:19 -05:00
Marius Kintel b2c205ba4c Merge remote-tracking branch 'origin/master' into translation2
Conflicts:
	tests/csgtexttest.cc
2014-11-17 21:56:53 -05:00
Marius Kintel 1afb706461 Merge remote-tracking branch 'origin/master' into translation2 2014-11-17 21:55:19 -05:00
Marius Kintel ea1d561c46 Support variable assignment in local blocks. This should fix #347 but more testing is needed 2014-11-17 00:57:36 -05:00
Marius Kintel 1263042fc9 typo 2014-11-15 17:28:33 -05:00
Marius Kintel 6e5edb5beb No need to run dxfpngtest on #899 2014-11-15 17:04:12 -05:00
Torsten Paul 2d6ac803be Initialize application path. 2014-11-15 22:44:46 +01:00
Torsten Paul 59c4dec623 Merge branch 'master' into translation2 2014-11-12 23:21:42 +01:00
Marius Kintel 1d9b664e85 #899 Updated testcase: Tagged as 2D test 2014-11-11 16:17:21 -05:00
Marius Kintel 43221a78e1 Updated test results after viewAll changes 2014-11-10 16:18:28 -05:00
Marius Kintel 877c010269 #802 Updated test results 2014-11-07 10:03:15 -05:00
Marius Kintel be9853cd20 #791 Added testcase 2014-11-07 09:54:01 -05:00
Marius Kintel aba7ba7665 #584 updated test results 2014-11-07 09:37:25 -05:00
Marius Kintel 4bc3d98509 #1004 Added testcase 2014-11-05 19:25:45 +04:00
Marius Kintel d74450eaad Allow pretty print of tests which fail with a non-zero return code 2014-11-05 19:25:05 +04:00
Marius Kintel 56866bc3d8 #1006 is a duplicate of #945 2014-11-05 19:05:56 +04:00
Marius Kintel 1342db57cf Include debug objects in View All 2014-11-05 18:33:30 +04:00
Marius Kintel 9e882be319 #1005 Added testcase 2014-11-05 18:16:05 +04:00
Marius Kintel 728f1337a2 #1006 Added testcase 2014-11-05 14:33:36 +04:00
Torsten Paul 4306586adf Set OPENSCAD_FONT_PATH also for the normal test cases.
This was already set for the export/import test cases as the exported
CSG files do not have the use<fontfile> statements. Due to differences
in the glyphs between the Liberation 2.00.1 we ship and the system
installed fonts some test cases (e.g. text_on_cube) did also fail.
2014-11-02 22:18:23 +01:00
Marius Kintel 7c677c968f Added text tessellation test 2014-11-02 23:59:15 +04:00
Marius Kintel a68b39ead7 Fix regression related to intersection with empty shapes. Fixes #996 2014-10-31 15:28:26 +04:00
Torsten Paul f66d274c6e Add cubes to test case to ensure something is rendered. 2014-10-21 20:57:50 +02:00
Miro Hrončok a23d463020 Test case for #990 2014-10-21 11:52:46 +02:00
Torsten Paul 6cd441e0f1 Port translation code to use resource path from PlatformUtils. 2014-10-19 01:43:45 +02:00
Torsten Paul afd52b3075 Fix compilation of test cases. 2014-10-19 01:25:23 +02:00
Marius Kintel d20e1efbbd doc 2014-10-13 23:13:48 -04:00
Marius Kintel 1bd15b45a6 #964 another testcase 2014-10-13 22:33:33 -04:00
Marius Kintel 1121c96a11 #964 Added testcases 2014-09-30 19:38:43 -04:00
Marius Kintel f98d565714 Use python's difflib instead of calling the diff cmd. Fixes issue where diff isn't always available on Windows. Fixed #960 2014-09-23 12:36:27 -04:00
Marius Kintel cf8844c19d Added testcase for #947 2014-09-15 18:41:30 -04:00
Marius Kintel 771f764533 Use --render=cgal in export-import tests, added testcase for #936 2014-09-04 17:36:52 -04:00
Marius Kintel f15a177132 Added expected files for #904 2014-09-04 14:43:34 -04:00
Marius Kintel edded0f69d Bugfix: Added missing code for properly comparing booleans 2014-08-26 14:52:22 -04:00
Marius Kintel 95ed3141fd #899 tagged failing test as a bug, added minimal test case 2014-08-24 18:06:19 -04:00
Marius Kintel 39fc1faee5 #584 updated expected image 2014-08-21 01:17:54 -04:00
Marius Kintel 8359c4ad6f #913 updated testcase result 2014-08-21 01:14:17 -04:00
Marius Kintel 54b9c90aef #913 Updated test cases 2014-08-21 00:19:35 -04:00
Marius Kintel 04ac48f21c #913 added testcase 2014-08-20 11:11:18 -04:00
Marius Kintel de6bcb1786 small reorg of cgalutils namespace 2014-08-19 22:02:08 -04:00
Marius Kintel 4f4bf2b0b8 #911 updated test image 2014-08-19 13:14:52 -04:00
Marius Kintel 377811123b #911 Added testcase 2014-08-18 20:03:26 -04:00
Marius Kintel 426d5b9de0 Added missing expected files, disabled export test added by mistake 2014-08-18 19:15:32 -04:00
Marius Kintel 4a1962cb84 #112 Updated test images, added export tests 2014-08-18 15:39:01 -04:00
Marius Kintel ce3b403c9b #337 Added more corner case tests from previous bugs 2014-08-18 01:50:33 -04:00
Marius Kintel e975ac3808 #337 Added more export tests, added failing export tests, handle 2D examples, added empty-union test 2014-08-17 16:06:25 -04:00
Marius Kintel ac22552b84 Added correct expected image 2014-08-17 16:02:00 -04:00
Marius Kintel 2631cf6430 Merge pull request #873 from openscad/builtin-chr
Built-in chr()
2014-08-17 12:44:29 -04:00
Marius Kintel be845d6444 #587 Reorganized some tests to better distinguish between 2D and 3D tests. Added DXF export tests 2014-08-17 11:17:35 -04:00
Marius Kintel c01ea899f1 Missed tagging of lwpolyline tests as 2D 2014-08-15 14:46:22 -04:00
Marius Kintel 97512818cf Missed tagging of projection-cut-tests as 2D 2014-08-15 14:41:50 -04:00
Marius Kintel 99fb4ecb34 Use the same test results for all STL/OFF export-import tests 2014-08-15 13:22:01 -04:00
Marius Kintel 49749da7dd Updated expected image to pass DIFFPNG tests 2014-08-15 13:01:23 -04:00
Marius Kintel 134a1b9706 Removed duplicate DIFFPNG section 2014-08-15 12:12:50 -04:00
Marius Kintel 5133984202 new test results 2014-08-14 17:17:18 -04:00
Marius Kintel e70bc04197 Colormap functionality from pull request #816, mostly by Don Bright, includes new colormaps by shaina 2014-08-14 17:16:24 -04:00
Marius Kintel ab62050727 Merge pull request #886 from openscad/fix-recursive-include
Fix recursive include handling by using canonical path (fixes #885).
2014-08-09 22:28:27 -05:00
Torsten Paul c0c4fdf527 Handle $fn, $fa and $fs for CSG output. 2014-08-03 20:31:03 +02:00
Torsten Paul 164b50b1b7 Add version output to text examples and fix viewport orientation. 2014-08-03 18:38:21 +02:00
Torsten Paul c5ce5a400c Fix recursive include handling by using canonical path (fixes #885). 2014-07-30 00:14:03 +02:00
Marius Kintel 9c1bb00885 Updated expected images 2014-07-24 02:12:36 -04:00
Marius Kintel 20e97ac482 Removed unnecessary test related to old colorscheme experiments 2014-07-24 02:12:07 -04:00
Marius Kintel 40b5028955 Turn off camera debugging 2014-07-23 23:48:46 -04:00
Marius Kintel ff3e65ad16 Updated expected images for 2D tests using autocenter and viewall 2014-07-23 23:36:42 -04:00
Marius Kintel 7de599324b Adjust 2D test handling 2014-07-23 23:36:20 -04:00
Marius Kintel 1c690dfe5d Updated test image (forgotten as it was part of examples) 2014-07-22 18:05:41 -04:00
Marius Kintel d4f769c15c Updated test image (forgotten as it was part of examples) 2014-07-22 17:11:45 -04:00
Don Bright 858afffff8 add more expected images. remove accidentally added intermediate files.
Conflicts:
	tests/regression/offpngtest/demo_cut-expected.png
	tests/regression/offpngtest/difference-expected.png
	tests/regression/offpngtest/fence-expected.png
	tests/regression/offpngtest/rounded_box-expected.png
	tests/regression/offpngtest/surface-expected.png
	tests/regression/offpngtest/translation-expected.png
	tests/regression/stlpngtest/demo_cut-expected.png
	tests/regression/stlpngtest/difference-expected.png
	tests/regression/stlpngtest/fence-expected.png
	tests/regression/stlpngtest/rounded_box-expected.png
	tests/regression/stlpngtest/surface-expected.png
	tests/regression/stlpngtest/translation-expected.png
2014-07-22 17:11:41 -04:00
Marius Kintel c90cb30e50 Synced some remaining fixes from the test_3d_export branch 2014-07-22 16:23:05 -04:00
Don Bright 3b5893144d run the diffpng image comparer without creating an output image, for speed 2014-07-22 16:09:56 -04:00
Marius Kintel 3bd56036a5 Tag all example tests correctly 2014-07-22 16:09:51 -04:00
Don Bright d819ab6d32 new tests for stlpngtest offpngtest
Conflicts:
	tests/regression/offpngtest/demo_cut-expected.png
	tests/regression/offpngtest/difference-expected.png
	tests/regression/offpngtest/fence-expected.png
	tests/regression/offpngtest/rounded_box-expected.png
	tests/regression/offpngtest/surface-expected.png
	tests/regression/offpngtest/translation-expected.png
2014-07-22 16:09:34 -04:00
Don Bright ac27854c8f fix bug where --render was not using proper colorscheme due to
getFacetColor in OGL_helper.h not being overridden in CGAL_renderer.h

Conflicts:
	src/CGALRenderer.cc
	src/CGAL_renderer.h
	src/OGL_helper.h
	src/renderer.cc
	tests/CMakeLists.txt
	tests/export_import_pngtest.py
	tests/regression/stlpngtest/demo_cut-expected.png
	tests/regression/stlpngtest/difference-expected.png
	tests/regression/stlpngtest/fence-expected.png
	tests/regression/stlpngtest/rounded_box-expected.png
	tests/regression/stlpngtest/surface-expected.png
	tests/regression/stlpngtest/translation-expected.png
2014-07-22 15:55:40 -04:00
Marius Kintel 07da269643 Use --render when creating expected images 2014-07-22 15:45:21 -04:00
Marius Kintel dec1abd827 turn off pretty-print debugging 2014-07-22 15:45:05 -04:00
Don Bright 92ef136967 re-doing the test generation for 3d formats that dont preserve color 2014-07-22 15:33:10 -04:00
Don Bright cc6a0978cb add test imgs for offpngtest and stlpngtest. updates to test_cmd and test_pretty_print
to handle missing expected images better and properly report img comparer.
tweak diffpng

Conflicts:
	src/OGL_helper.h
	tests/CMakeLists.txt
	tests/diffpng.cpp
	tests/test_3d_export.py
	tests/test_pretty_print.py
2014-07-22 15:33:08 -04:00
Don Bright 02f91a7413 debugging messages. update diffpng
Conflicts:
	src/Camera.cc
	tests/CMakeLists.txt
2014-07-22 15:21:41 -04:00
Don Bright 3c71753332 tweak improvements for test pretty print logging. new intersection test img files
Conflicts:
	tests/regression/opencsgtest/intersection2-tests-expected.png
	tests/test_pretty_print.py
2014-07-22 15:18:18 -04:00
Don Bright e5bb9d178d add test imgs for offpngtest and stlpngtest. updates to test_cmd and test_pretty_print
to handle missing expected images better and properly report img comparer.
tweak diffpng

Conflicts:
	src/OGL_helper.h
	tests/CMakeLists.txt
	tests/test_3d_export.py
	tests/test_cmdline_tool.py
	tests/test_pretty_print.py
2014-07-22 15:15:53 -04:00
Don Bright 07ad12f154 update diffpng.cpp 2014-07-22 15:09:42 -04:00
Don Bright 4d619a7e38 update diffpng
Conflicts:
	tests/CMakeLists.txt
2014-07-22 15:09:36 -04:00