kicad/qa
John Beard 346f813814 QA: Add WX_FILENAME split tests
Add some tests of the filename splitting of WX_FILENAME objects.

Interestingly, the result of GetFuillPath on an empty path is
likely wrong as it will imply an absolute path from /. But this is
probably not a used code path. Document the current behaviour as passing
the test.

This unit tests covers the code reported by Coverity 183884 and 183894
(improper use of negative). The find_last_of can return "npos" (-1), but
it's stored as a size_t. This is correct according the WX docs,
and the substr() method it is passed to can handle npos too.
2019-02-25 12:43:31 +00:00
..
common QA: Add WX_FILENAME split tests 2019-02-25 12:43:31 +00:00
common_tools Build: libpolygon provides its own includes 2019-02-04 19:29:31 -08:00
data QA: Move contents qa_shape_poly_set_refactor to qa_common 2019-01-29 08:15:44 -05:00
eeschema qa: Moving eeschema qa to main qa folder 2019-01-09 21:43:23 -08:00
gal/gal_pixel_alignment QA: Comment unused var in test_gal_pixel_alignment 2019-02-18 17:06:48 +00:00
pcb_test_window Build: libpolygon provides its own includes 2019-02-04 19:29:31 -08:00
pcbnew Pcbnew: ignore start values in "first available" grid numbering 2019-02-08 12:15:02 +00:00
pcbnew_tools Build: libpolygon provides its own includes 2019-02-04 19:29:31 -08:00
pcbnew_utils Build: libpolygon provides its own includes 2019-02-04 19:29:31 -08:00
qa_utils gal: pixel alignment hacks, works for Retina display too now. 2019-02-16 20:03:13 +01:00
testcases Fix incompatibilites between Python 2 and Python 3 2018-10-19 09:59:05 +02:00
unit_test_utils Separate ARRAY_OPTIONS to own class in common 2019-01-30 15:41:35 -08:00
CMakeLists.txt gal: pixel alignment hacks, works for Retina display too now. 2019-02-16 20:03:13 +01:00
test.py qa/test.py change to make sure failed tests return 1 in all systems. 2015-02-01 19:20:20 +01:00