Commit Graph

636 Commits (c36f5e1c477c9af51080e9fbaf6bd6e55eb0c47c)

Author SHA1 Message Date
Marius Kintel c36f5e1c47 Removed old code made redundant by tests 2010-10-31 12:54:23 +01:00
Marius Kintel 192e514aca fixed minor merge mistake 2010-10-31 12:52:26 +01:00
Marius Kintel aa21cda5c7 How to run tests 2010-10-31 02:42:39 +02:00
Marius Kintel 819ae6d181 bugfix: Matrix initialization state was wrong, made CSGTermRenderer fail 2010-10-31 02:42:39 +02:00
Marius Kintel 455a8e22c1 Added cgaltest 2010-10-31 02:42:39 +02:00
Marius Kintel a248852f6c Make it possible to run the tests without and -expected file 2010-10-31 02:42:39 +02:00
Marius Kintel 049b16608a Added CSGTermRenderer 2010-10-31 02:42:39 +02:00
Marius Kintel fdcbb4cf97 Improved CSGTermRenderer to a testable point 2010-10-31 02:42:39 +02:00
Marius Kintel 3f66c23731 Reenabled CGAL rendering 2010-10-31 02:42:39 +02:00
Marius Kintel c902b803e9 bugfix: copy&paste error 2010-10-31 02:42:39 +02:00
Marius Kintel 728f4ac790 Moved more tests from test-code to tests 2010-10-31 02:42:39 +02:00
Marius Kintel 067bc0ab31 Added more tests 2010-10-31 02:42:39 +02:00
Marius Kintel 6536184759 tag the output dir to avoid collision with executable name 2010-10-31 02:42:39 +02:00
Marius Kintel aa71ac8e0d moved dumptest to tests dir to enable building from cmake 2010-10-31 02:42:39 +02:00
Marius Kintel 15fdbe2936 dxftess-*.cc are included from dxftess.cc and shouldn't be built 2010-10-31 02:42:39 +02:00
Marius Kintel 41b15c04c0 intersection_for now dumps correctly 2010-10-31 02:42:38 +02:00
Marius Kintel 8a0ddf4e5b CSGTermRenderer refactor: minor update 2010-10-31 02:42:38 +02:00
Marius Kintel d0390c41a2 Added AbstractNode::name(), changed CSGTextRenderer to use this instead of the rtti name 2010-10-31 02:42:38 +02:00
Marius Kintel 93f3d4a1b6 CSGTermRenderer refactoring: Added matrix to traversal state 2010-10-31 02:42:38 +02:00
Marius Kintel c868525c67 cosmetics 2010-10-31 02:42:38 +02:00
Marius Kintel d172c353a2 Test should fail if cmd is not found 2010-10-31 02:42:38 +02:00
Marius Kintel f0b49ee9e9 Started refactoring of render_csg_term() into a visitor 2010-10-31 02:42:38 +02:00
Marius Kintel f2323c78b3 Better error output when cmd is not found 2010-10-31 02:42:38 +02:00
Marius Kintel 22b74585d8 Moved regression tests to tests directory 2010-10-31 02:42:38 +02:00
Marius Kintel 2b8bd3b4f3 Added support for specifying parameters to programs being tested 2010-10-31 02:42:38 +02:00
Marius Kintel 8cda80e8f3 assert fix (forgot to set root node on the tree) + mix. coding style fixes + a note to remember that this is the visitor refactor version 2010-10-31 02:42:38 +02:00
Marius Kintel 75d18642cc Compile fixes after working in test-code/ 2010-10-31 02:42:38 +02:00
Marius Kintel 5de0ad5f49 Mac OS X 32-bit build has been fixed 2010-10-31 02:42:37 +02:00
Marius Kintel 7f08361422 Added DXF export test 2010-10-31 02:42:37 +02:00
Marius Kintel 57153a38d2 Ignore tests without -expected files, refactored into function 2010-10-31 02:42:37 +02:00
Marius Kintel 69b1b6711d Support specifying output suffix 2010-10-31 02:42:37 +02:00
Marius Kintel 723db774f3 Export DXF to stream 2010-10-31 02:42:37 +02:00
Marius Kintel cdc87f3567 Regression test howto 2010-10-31 02:42:37 +02:00
Marius Kintel 14da5b7e67 output to stdout 2010-10-31 02:42:37 +02:00
Marius Kintel e46f9dab2f export to stream for stdout/stderr output support 2010-10-31 02:42:37 +02:00
Marius Kintel b4d03c4d8f doc 2010-10-31 02:42:37 +02:00
Marius Kintel d887b4f633 removed unused headers 2010-10-31 02:42:37 +02:00
Marius Kintel 8fafb720ca Don't assert dimension - groups without geometry will have dimension 0 2010-10-31 02:42:37 +02:00
Marius Kintel a38cd8d0f1 bugfix: render_polyset() returned NULL when DAT file wasn't found -> crash 2010-10-31 02:42:37 +02:00
Marius Kintel dee4f85572 Added cgal tests to CTest 2010-10-31 02:42:37 +02:00
Marius Kintel 7d9baec9ce Added note about absolute filenames 2010-10-31 02:42:36 +02:00
Marius Kintel 30d6f20048 Updated expected files with correct timestamps 2010-10-31 02:42:36 +02:00
Marius Kintel a8064004b4 Output errors to stderr instead of a log file 2010-10-31 02:42:36 +02:00
Marius Kintel e38a3d0379 printing the dump is redundant for this test. removed it 2010-10-31 02:42:36 +02:00
Marius Kintel 22466ac2db Expected files for csgtext test 2010-10-31 02:42:36 +02:00
Marius Kintel 8c028d95d0 Added csgtext tests 2010-10-31 02:42:36 +02:00
Marius Kintel 3000e9d5e8 Create expecteddir if necessary 2010-10-31 02:42:36 +02:00
Marius Kintel 9642787a27 Regression test system 2010-10-31 02:42:36 +02:00
Marius Kintel f61ae3f515 Added expected test results for dumptest 2010-10-31 02:42:36 +02:00
Marius Kintel 9a8d81a626 Added comment about absolute paths 2010-10-31 02:42:36 +02:00