Commit d29a08c6 authored by Andrea Azzarone's avatar Andrea Azzarone 🚴

functional-tests: Add tracker-extract tests for ps and ps.gz

parent 3b5c92f7
......@@ -16,8 +16,13 @@ extractor_tests = [
'office/office-doc',
'office/powerpoint',
'office/pdf-doc',
'office/ps-doc'
]
if get_option('unzip_ps_gz_files')
extractor_tests += 'office/psgz-doc'
endif
functional_tests = [
'300-miner-basic-ops',
'301-miner-resource-removal',
......
{
"test": {
"Filename": "ps-doc.ps",
"Comment": "PS document from the office tools"
},
"metadata": {
"nfo:pageCount": 1,
"nie:copyright": "copyleft",
"nco:creator": {
"nco:fullname": "vi",
"@type": "nco:Contact"
},
"@type": "nfo:PaginatedTextDocument"
}
}
%!PS
%%Copyright: copyleft
%%Title: Hello World!
%%Creator: vi
%%Pages: 1
%%EndComments
/Courier
20 selectfont
72 500 moveto
(Hello world!) show
showpage
{
"test": {
"Filename": "psgz-doc.ps.gz",
"Comment": "PS.GZ document from the office tools"
},
"metadata": {
"nfo:pageCount": 1,
"nie:copyright": "copyleft",
"nco:creator": {
"nco:fullname": "vi",
"@type": "nco:Contact"
},
"@type": "nfo:PaginatedTextDocument"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment