clanmills
14e8c708ed
Fix #1300
2020-09-13 10:27:02 +01:00
LeoHsiao
f99db7d61b
Refactor preview-test.sh to preview_test()
2020-09-06 23:06:19 +08:00
LeoHsiao
478f0e9635
Add find()
2020-09-06 23:04:48 +08:00
LeoHsiao
9e8eae0639
Refactor modify-test.sh to modify_test()
2020-09-06 21:45:46 +08:00
LeoHsiao
cec472132d
Refactor function execute() to class Executer
2020-09-06 21:43:31 +08:00
LeoHsiao
147ed39b3f
Adjust code spacing
2020-09-06 16:01:27 +08:00
LeoHsiao
99be739a9a
Refactor path-test.sh to path_test()
2020-09-06 15:42:38 +08:00
LeoHsiao
356a575b5a
Refactor modify-test.sh to iso65k_test()
2020-09-06 15:14:39 +08:00
LeoHsiao
63b074d690
Deprecated Config.exiv2_ext
2020-09-06 13:11:20 +08:00
LeoHsiao
e976d3795a
Ignore conversions_test() output differences on Windows
2020-09-03 23:31:09 +08:00
LeoHsiao
daa2a6fda5
Ignore printTest() output differences on Windows
2020-09-03 23:00:19 +08:00
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
6773c6c74b
Rename bash_test to bash_tests
2020-08-12 20:24:39 +08:00