Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sumaid
tracker-miners
Commits
d29a08c6
Commit
d29a08c6
authored
Apr 23, 2019
by
Andrea Azzarone
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
functional-tests: Add tracker-extract tests for ps and ps.gz
parent
3b5c92f7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
0 deletions
+46
-0
tests/functional-tests/meson.build
tests/functional-tests/meson.build
+5
-0
tests/functional-tests/test-extraction-data/office/ps-doc.expected.json
...al-tests/test-extraction-data/office/ps-doc.expected.json
+15
-0
tests/functional-tests/test-extraction-data/office/ps-doc.ps
tests/functional-tests/test-extraction-data/office/ps-doc.ps
+11
-0
tests/functional-tests/test-extraction-data/office/psgz-doc.expected.json
...-tests/test-extraction-data/office/psgz-doc.expected.json
+15
-0
tests/functional-tests/test-extraction-data/office/psgz-doc.ps.gz
...nctional-tests/test-extraction-data/office/psgz-doc.ps.gz
+0
-0
No files found.
tests/functional-tests/meson.build
View file @
d29a08c6
...
...
@@ -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',
...
...
tests/functional-tests/test-extraction-data/office/ps-doc.expected.json
0 → 100644
View file @
d29a08c6
{
"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"
}
}
tests/functional-tests/test-extraction-data/office/ps-doc.ps
0 → 100644
View file @
d29a08c6
%!PS
%%Copyright: copyleft
%%Title: Hello World!
%%Creator: vi
%%Pages: 1
%%EndComments
/Courier
20
selectfont
72
500
moveto
(Hello world!)
show
showpage
tests/functional-tests/test-extraction-data/office/psgz-doc.expected.json
0 → 100644
View file @
d29a08c6
{
"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"
}
}
tests/functional-tests/test-extraction-data/office/psgz-doc.ps.gz
0 → 100644
View file @
d29a08c6
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment