MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / BmffImageboxHandlerLargeAllocation

Class BmffImageboxHandlerLargeAllocation

tests/bugfixes/github/test_issue_1793.py:11–32  ·  view source on GitHub ↗

Regression test for the bug described in: https://github.com/Exiv2/exiv2/issues/1793

Source from the content-addressed store, hash-verified

9 raise unittest.SkipTest('*** requires enable_bmff=1 ***')
10
11class BmffImageboxHandlerLargeAllocation(metaclass=system_tests.CaseMeta):
12 """
13 Regression test for the bug described in:
14 https://github.com/Exiv2/exiv2/issues/1793
15 """
16 url = "https://github.com/Exiv2/exiv2/issues/1793"
17 filename = "$data_path/issue_1793_poc.heic"
18
19 if bSkip:
20 commands=[]
21 retval=[]
22 stdin=[]
23 stderr=[]
24 stdout=[]
25 print("*** test skipped. requires enable_bmff=1***")
26 else:
27 commands = ["$exiv2 $filename"]
28 stdout = [""]
29 stderr = ["""Exiv2 exception in print action for file $filename:
30$kerCorruptedMetadata
31"""]
32 retval = [1]

Callers

nothing calls this directly

Calls 1

printFunction · 0.50

Tested by

no test coverage detected