Christoph Hasse
cc89dca5a2
feat: rework lens test to account for ambiguous lenses
...
For each lens, its test target is now defined as the list of all lenses
which are possible given that lenses exif values.
4 years ago
Christoph Hasse
a70896c1ac
refactor: use function to calculate raw exif value given aperture
4 years ago
Christoph Hasse
47d518bc65
refactor: move canon lens tests into new test directory
...
This commit does some restructuring to make common utils available
for future similar test for other brands
4 years ago
Alexander Steffen
d7f613c48e
Clean up Canon lens list
...
Fixes some small inconsistencies, so that all lenses use the same format,
that is also shared with other lens databases such as lensfun:
* Always prefix aperture with f/
* Never add .0 to aperture
* Always add mm to focal length
* Always use | A for Sigma Art lenses
4 years ago
Alexander Steffen
fa4ce38d77
Execute test commands always with shell
...
There is no need to handle tests on Windows and Unix differently here.
Always using a shell allows for more flexibility when writing tests.
(rebased by hassec)
4 years ago
Alexander Steffen
73efa4515c
Add test for all known Canon lenses
...
Generates a test case for every known lens from canonCsLensType, that first
sets the corresponding lens metadata and then verifies that exiv2 maps it
to the expected lens description. Only metadata fields that are relevant
for lens identification are modified.
4 years ago
Luis Díaz Más
668001a72d
BMFF python test - Output strings in different lines
4 years ago
Luis Díaz Más
6b6ffd02a7
fix python tests on powershell
4 years ago
Kevin Backhouse
766111f48d
Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-7569-phvm-vwc2
...
(cherry picked from commit f0ff11f044b2c8ddf4792415beb91fd815c633a1)
4 years ago
Luis Díaz Más
0bd2ff32ad
increase timeout
4 years ago
Kevin Backhouse
c372f2677d
Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-8949-hhfh-j7rj
4 years ago
Luis Díaz Más
e8181a2bec
Revert "Remove EPS tests"
...
This reverts commit 6d7d85a1ec988287ec2362e6c6b267860cab89e2.
4 years ago
Kevin Backhouse
9cba1e475a
Stop the test from failing when EXIV2_ENABLE_BMFF=Off.
4 years ago
Kevin Backhouse
285e7a4e72
Fix out-of-bounds read in bmffimage.cpp
4 years ago
Kevin Backhouse
386e464e1f
Regression test for https://github.com/Exiv2/exiv2/issues/1570 .
4 years ago
Kevin Backhouse
dbde0bc536
Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-5p8g-9xf3-gfrr
4 years ago
Kevin Backhouse
e1686ebc38
Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-jgm9-5fw5-pw9p
4 years ago
Luis Díaz Más
5058647a19
Increase the timeout from 20 to 60 seconds
4 years ago
Luis Díaz Más
fa4b69e2bc
Remove EPS tests
4 years ago
Miloš Komarčević
77d31037eb
Improve precision of GPS lat/lon printed values
4 years ago
Miloš Komarčević
bdd23ae328
Improve printing of GPS info
4 years ago
Kevin Backhouse
06d2db6e5f
Use $kerCorruptedMetadata, rather than hard-coded string.
4 years ago
Kevin Backhouse
fadb68718e
Fix test name
4 years ago
Kevin Backhouse
c92ac88cb0
Regression test for https://github.com/Exiv2/exiv2/issues/1530
4 years ago
Robin Mills
cac151ec05
test fix_1522_jp2image_exif_asan
4 years ago
Robin Mills
a750ea2780
Merge pull request #1519 from Exiv2/fix_1503_JXL_bmff
...
Fix 1503 jxl bmff
4 years ago
Robin Mills
0b0cd19927
Fix build breaker in test_issue_1503.py.
4 years ago
Robin Mills
b6da9295b7
Added test file and script.
4 years ago
Robin Mills
b472b07cc4
fix_1504_metacopy_optstring
4 years ago
Robin Mills
c3409a6069
Add test script.
4 years ago
Robin Mills
5c13660f1e
Add optional parameter forgive=False to reportTest() for use by nls_test to avoid false fails.
4 years ago
Robin Mills
da52bb3b0b
Better logic and error message.
4 years ago
Robin Mills
72b73bb146
Sniff for unit_tests.exe!
4 years ago
Robin Mills
bbec658185
Fix LD_LIBRARY_PATH. Add option arg raw=False to runTest() Use raw=True in unit_test.py.
4 years ago
Robin Mills
354a8f6971
Fix comments.
4 years ago
Robin Mills
5e82f260a1
Add python scripts equivalent to test/version_test.sh and unit_test.sh
4 years ago
Robin Mills
ccaa50909a
Add unit_tests to suite.conf
4 years ago
Robin Mills
0c4c3a0213
use raise from test_pr1475*.py
4 years ago
Miloš Komarčević
b3dfabdde0
Merge pull request #1486 from Exiv2/fix_1484_empty_ascii
...
Terminate empty ASCII strings
4 years ago
clanmills
ba6a577ab9
https://github.com/Exiv2/exiv2/pull/1486#issuecomment-796843835
4 years ago
Miloš Komarčević
fa41e52c8a
Add comment and test case
4 years ago
clanmills
bf1be5cb50
fix_1473_LocationShown
4 years ago
Robin Mills
9e2ac47cf9
Merge pull request #1475 from 1div0/BMFF
...
Base Media File Format
4 years ago
Robin Mills
19aab434a5
Move system_tests.runTest() and system_tests.verbose_version() to system_tests.BT
4 years ago
LeoHsiao
9d28943b63
Simplify functions: runTest(), verbose_version()
4 years ago
clanmills
db9bec3e01
Restore -pC --binary to output everything. Test suite updated to suit.
4 years ago
clanmills
c59c53acf5
Trick to avoid msvc issue with final line of base64 data.
4 years ago
clanmills
3bfea0c5d1
This should be it. Test suite fixed.
4 years ago
clanmills
5410395576
Replaced the ugly code in Exiv2::base64encode() and update the test suite.
4 years ago
clanmills
0ad46453ed
With good fortune, bmffimage is ready for review.
4 years ago