53 Commits

Author SHA1 Message Date
Thomas BERNARD
40fc2f2bee
tests: improve error msg for Test_Calculate_relative_path() 2020-04-11 20:42:51 +02:00
Thomas Bernard
6338f865ad tests: avoid \\ in path (win32) 2020-02-26 00:58:54 +01:00
Thomas Bernard
542fdf3312
tests: Test_Calculate_relative_path() 2020-02-26 00:36:06 +01:00
Thomas Bernard
29095b60e0
tests: '<' is forbidden in XML attributes 2020-02-23 14:39:40 +01:00
Thomas Bernard
d8365ca8be
testformats.c: error messages 2020-02-23 13:50:06 +01:00
Thomas BERNARD
684862de7d more test message 2020-02-17 23:02:52 +01:00
Thomas Bernard
05c25bd746
improve test-report.xml output 2020-02-17 00:53:25 +01:00
Thomas Bernard
0a3c608059
Test_* functions return error message for report.xml 2020-02-17 00:38:52 +01:00
Thomas Bernard
4eee27953c
generate a test report in junit format
should improve gitlab-ci output
2020-02-16 23:07:12 +01:00
Thomas Bernard
1664c8410d
fix Test_Packbits()
(64 characters is too low for the Win32 %TEMP% path)
should fix the appveyor build
2020-02-15 19:02:36 +01:00
Thomas Bernard
3d53a91046
add Test_File_exists()
Tests the following functions :
* File_exists()
* Directory_exists()
* Extract_filename()
* For_each_directory_entry()
* Remove_path()
2020-02-15 11:58:08 +01:00
Thomas Bernard
1b28ed0909
add Test_Realpath() 2020-02-15 11:46:49 +01:00
Thomas Bernard
3864aa3905
use proper temporary path for win32 instead of /tmp 2020-02-15 11:46:36 +01:00
Thomas Bernard
62422ed6ed
Read_Write_bytes 2020-02-15 11:46:36 +01:00
Thomas Bernard
47e1ee496e
tests: build for win32 2020-02-15 11:46:25 +01:00
Thomas Bernard
f4ec35d8e4
testio.c: Read_*/Write_* functions 2020-02-15 11:46:24 +01:00
Thomas Bernard
3947a2ffd3
shows which tests failed 2020-02-15 11:46:20 +01:00
Thomas Bernard
1f601d06ae
support Atari ST CA1 format (Crack Art) 2020-01-19 14:31:44 +01:00
Thomas Bernard
8fec161073
errno.h is needed under linux 2020-01-04 10:44:20 +01:00
Thomas Bernard
22eddf1071
C64 Test files written in the same location as other test files 2020-01-04 10:35:02 +01:00
Thomas Bernard
19dec01d4f
Save_PRG() supports C64 hires bitmap mode 2020-01-02 01:55:50 +01:00
Thomas Bernard
0dcee6acc3
move PackBits packing code to packbits.c
new functions :
- PackBits_pack_init()
- PackBits_pack_add()
- PackBits_pack_flush()
2020-01-02 00:07:00 +01:00
Thomas Bernard
e656139f93
fix memleak in Test_C64_Formats()
see 72a956a98df72fa3e1ea574406c06ac19df770ae
2020-01-02 00:00:27 +01:00
Thomas Bernard
de271ec3dd
Save to C64 PRG autoload format
still to do :
packbits packing
2020-01-02 00:00:27 +01:00
Thomas Bernard
bf8347e4d9
ANSI colors in test program output 2020-01-02 00:00:26 +01:00
Thomas Bernard
7e276e105a
improve C64 formats tests 2020-01-02 00:00:26 +01:00
Thomas Bernard
a5f2989577
Test C64 format + reorganize Save_C64_multi() 2020-01-02 00:00:26 +01:00
Thomas Bernard
347a42acc7 Test MSX .SC2 (loading) 2019-12-30 15:06:48 +01:00
Thomas Bernard
24a09c1569
tests: remove .pal/.GO2/.KIT files after test 2019-12-21 21:22:57 +01:00
Thomas Bernard
1fba07db99
tests for Load_GOS/Load_SCR/Save_GOS/Save_SCR 2019-12-21 21:01:47 +01:00
Thomas Bernard
bba018de51 fix comments 2019-12-08 12:38:26 +01:00
Thomas Bernard
697d88a105
cleanup test declarations for IFF formats 2019-12-08 11:57:28 +01:00
Thomas Bernard
b62bc3e958
test the Atari ST formats Save_XXX() functions 2019-12-08 11:47:55 +01:00
Thomas Bernard
d6811b881b test TNY format 2019-12-08 11:13:10 +01:00
Thomas Bernard
966b1e58c3
reduce the amount of compilation warnings 2019-12-07 14:24:02 +01:00
Thomas Bernard
bcbedab22d
packbits optimization #2 2019-12-07 14:08:47 +01:00
Thomas Bernard
de15e1036f
packbits optimization #1 2019-12-07 14:08:47 +01:00
Thomas Bernard
8f25341244
also check the Saving/Loading of picture palette 2019-12-07 13:55:20 +01:00
Thomas Bernard
3555eb86bb
check that the file is saved in the right format 2019-12-07 13:44:28 +01:00
Thomas Bernard
f026c3f04b
test Save_xxx functions 2019-12-07 13:23:46 +01:00
Thomas Bernard
4918c9efa5
Load_XXX() functions test 2019-12-04 23:59:11 +01:00
Thomas Bernard
4fa256398c add function Get_image_mode()
just as there is Set_image_mode()
2019-11-29 01:03:45 +01:00
Thomas Bernard
f8c06cd575 add test for Test_PRG() 2019-11-29 00:09:36 +01:00
Thomas Bernard
317239c9cf
update file format tests 2019-11-23 19:50:13 +01:00
Thomas Bernard
64b2761f14
Test of CPC Formats 2019-11-23 11:27:57 +01:00
Thomas Bernard
e2321c2abe
test for formats 2019-11-21 23:13:03 +01:00
Thomas Bernard
d44f972c11
test Convert_24b_bitmap_to_256() 2019-11-19 22:26:03 +01:00
Thomas Bernard
d56915edc6
test unpacking of PackBits() 2019-11-19 22:26:03 +01:00
Thomas Bernard
3ba4472626
add Test_Packbits() 2019-11-19 22:26:03 +01:00
Thomas Bernard
cd1349fdab
tests/mockloadsave.c: add some debug output 2019-11-19 22:26:03 +01:00