solvespace/test
whitequark e2e74762f4 Rework path and file operations to be more robust.
This commit updates a *lot* of rather questionable path handling
logic to be robust. Specifically:
  * All path operations go through Platform::Path.
  * All ad-hoc path handling functions are removed, together with
    PATH_SEP. This removes code that was in platform-independent
    parts, but had platform-dependent behavior.
  * Group::linkFileRel is removed; only an absolute path is stored
    in Group::linkFile. However, only Group::linkFileRel is saved,
    with the relative path calculated on the fly, from the filename
    passed into SaveToFile. This eliminates dependence on global
    state, and makes it unnecessary to have separare code paths
    for saved and not yet saved files.
  * In a departure from previous practice, functions with
    platform-independent code but platform-dependent behavior
    are all grouped under platform/. This makes it easy to grep
    for functions with platform-dependent behavior.
  * Similarly, new (GUI-independent) code for all platforms is added
    in the same platform.cpp file, guarded with #ifs. It turns out
    that implementations for different platforms had a lot of shared
    code that tended to go out of sync.
2017-03-11 18:58:53 +00:00
..
constraint Update testsuite after ced4244. 2017-02-06 14:50:21 +00:00
core Collect together and rigorously test all our ad-hoc path functions. 2017-03-11 16:24:12 +00:00
group Add a test for the link group. 2017-03-10 21:19:02 +00:00
request Highlight normals and circle radii that have a degree of freedom. 2017-02-17 04:14:36 +00:00
CMakeLists.txt Collect together and rigorously test all our ad-hoc path functions. 2017-03-11 16:24:12 +00:00
Gentium-R.ttf Add basic test coverage for curve sketching tools. 2016-08-01 11:31:38 +00:00
commit.sh Implement a command-line interface. 2016-11-29 04:01:07 +00:00
debugtool.cpp Make CLI usage text more readable. 2017-03-10 21:05:52 +00:00
harness.cpp Rework path and file operations to be more robust. 2017-03-11 18:58:53 +00:00
harness.h Rework path and file operations to be more robust. 2017-03-11 18:58:53 +00:00