Commit Graph

217 Commits

Author SHA1 Message Date
LeoHsiao
caa1acf197 Adjust the format of the command on Windows 2020-09-03 22:29:20 +08:00
LeoHsiao
c7bf5dd12a Adjust line breaks, binary extension on Windows 2020-09-02 23:07:57 +08:00
LeoHsiao
7fc960c520 Add environment variables: EXIV2_HTTP, EXIV2_PORT 2020-09-01 23:19:11 +08:00
LeoHsiao
788f78987c Modify printTest(): Ignore the difference of data_dir 2020-08-31 01:10:10 +08:00
LeoHsiao
23b759bffa Refactor iptctest.sh to iptc_test() 2020-08-30 22:18:47 +08:00
LeoHsiao
ae6976e3e2 Add functions: diff_byte(), diffCheck() 2020-08-30 22:16:06 +08:00
LeoHsiao
4457056157 Mainly optimize utils.py:
- Correct the function name excute() to execute(), and add the stdin parameter to it
- Add logs to class 'HttpServer'
- Adjust the code order in utils.py
2020-08-30 22:15:11 +08:00
LeoHsiao
b6bf32bd5f Rename test cases from 'test*()' format to '*test()' format 2020-08-27 23:12:10 +08:00
LeoHsiao
ca06206f50 Rename class 'Conf' to 'Config' 2020-08-27 20:40:34 +08:00
LeoHsiao
cfaf4e6fa2 Refactor imagetest.sh to test_image() 2020-08-25 22:37:21 +08:00
LeoHsiao
b900cea6cf Rewrite diff() to simulate the output of GNU diff 2020-08-24 22:25:35 +08:00
LeoHsiao
bdf350a2a9 Refactor exiv2-test.sh to test_exiv2() 2020-08-24 00:13:51 +08:00
LeoHsiao
4dc38ab6a2 Add class 'Output' to simulate the stdout buffer 2020-08-23 22:16:45 +08:00
LeoHsiao
d1cb43f360 Remove copyTestFiles() 2020-08-23 17:09:29 +08:00
LeoHsiao
2778125b79 Completed test_io() 2020-08-22 19:35:01 +08:00
LeoHsiao
6f6699c043 Optimize Conf.init() in bash_tests.utils 2020-08-22 15:07:10 +08:00
LeoHsiao
f909fac802 Rename bash_tests.utils as BT 2020-08-22 10:00:14 +08:00
LeoHsiao
a312e7ed92 Optimize cat(), save() and excute() to handle bytes type content 2020-08-21 22:32:47 +08:00
LeoHsiao
6e1c8bc427 Add excute() to replace runTest() 2020-08-21 21:47:04 +08:00
LeoHsiao
d916a60341 Optimize class 'Log' and add class 'Conf' 2020-08-21 21:38:40 +08:00
LeoHsiao
454308e6b2 Rewrite testcase 'icc-test' 2020-08-16 21:04:04 +08:00
LeoHsiao
7753fb909d Add functions: mv, md5sum 2020-08-16 21:03:36 +08:00
LeoHsiao
351af319f2 Rewrite testcase 'exifdata-test' 2020-08-16 19:13:30 +08:00
LeoHsiao
1d1e8dc51a Clear the log buffer after test 2020-08-16 19:08:12 +08:00
LeoHsiao
c990de7dae Rewrite testcase 'crw-test' 2020-08-16 19:07:20 +08:00
LeoHsiao
b11de2ce3d Rewrite testcase 'conversions' 2020-08-16 18:38:43 +08:00
LeoHsiao
37170f4d25 Add some functions to replace shell commands: cp, rm, cat, grep, save, diff 2020-08-16 18:31:29 +08:00
LeoHsiao
736c84c0de Add methods setUp() and tearDown() 2020-08-16 18:28:40 +08:00
LeoHsiao
2667137082 Rewrite testcase 'addmoddel' 2020-08-16 14:38:10 +08:00
LeoHsiao
d19842b198 Define a class 'Log' to merge logs into Python exception message 2020-08-15 22:26:16 +08:00
LeoHsiao
2d0039b3f5 Add default parameter value to the function 'runTest' 2020-08-15 20:29:38 +08:00
LeoHsiao
83efc5df18 Rename the variable output to out 2020-08-15 20:26:43 +08:00
LeoHsiao
ff44e68d4c Rename tests/README.md 2020-08-13 20:30:52 +08:00
LeoHsiao
6773c6c74b Rename bash_test to bash_tests 2020-08-12 20:24:39 +08:00
LeoHsiao
ce2cb73654 Let bash_test read the configuration parameters from suite.conf 2020-08-10 22:54:54 +08:00
LeoHsiao
d231bae4f7 Update the documentation for the test cases 2020-08-10 22:23:57 +08:00
LeoHsiao
15c0366087 Rename unit_test and import it in system_tests.py 2020-08-10 21:45:53 +08:00
LeoHsiao
000b8efb34 Correct ioTest's execution directory 2020-08-03 19:50:21 +08:00
LeoHsiao
e02586db61 Converted two bash test scripts into Python scripts as an example 2020-08-02 20:07:29 +08:00
Robin Mills
b354ad8b2a Might be the last one. Probably not. I want to fix the last-minute surprised of #1219. 2020-05-25 16:46:04 +01:00
clanmills
8bb48893be Add guard in test_issue_547.py to skip when not a debug build. 2020-05-19 18:38:49 +01:00
clanmills
e5bdddc886 fix_547_0.27 2020-05-19 16:13:08 +01:00
clanmills
e7d113dc42 fix_1208_NikonLens_0.27 2020-05-18 20:50:36 +01:00
clanmills
3f4eccd43c Test changes to use -b where necessary. 2020-05-12 10:59:00 +01:00
clanmills
deaed70f7c Test file changes 2020-05-11 19:05:54 +01:00
clanmills
43b06b6814 Don't allow binary into the output stream! 2020-05-11 18:29:35 +01:00
clanmills
089b37a637 make python_tests is with python 3.8 (on several platforms) says "This function reads ..." on every test! 2020-05-06 09:04:23 +01:00
clanmills
fd76cdbdeb Simplified CopyTmpFiles.setUp_file_action() by using _config_variables['tmp_path'] 2020-04-26 11:42:40 +01:00
clanmills
00d89e6523 configure_suite() calls mkdir($tmp_path) if necessary 2020-04-26 09:53:20 +01:00
clanmills
92f2458229 fix_1180_date_separator 2020-04-25 14:31:26 +01:00