Added a test for the pdf2txt tool.
This commit is contained in:
parent
9e291a2200
commit
36a09288fa
3 changed files with 7 additions and 0 deletions
BIN
golden-files/input/standard.pdf
Normal file
BIN
golden-files/input/standard.pdf
Normal file
Binary file not shown.
3
golden-files/results/pdf2txt-standard_pdf
Normal file
3
golden-files/results/pdf2txt-standard_pdf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Cover Page
|
||||
|
||||
|
||||
|
|
@ -164,6 +164,10 @@ class ToolsTestCase(unittest.TestCase):
|
|||
(tools.nm, "libieee.a", tools.Status.normal),
|
||||
(tools.nm, "libpcprofile.so", tools.Status.normal)])
|
||||
|
||||
def test_pdf2txt(self):
|
||||
self._sub_tests([
|
||||
(tools.pdf2txt, "standard.pdf", tools.Status.normal)])
|
||||
|
||||
def test_html_syntax(self):
|
||||
self._sub_tests([
|
||||
(tools.html_syntax, "hi.html", tools.Status.problem)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue