public function FillPdfMergeTestCase::testPdftkPdfMerging in FillPDF 7
Tests PDF merging using a local install of pdftk.
File
- tests/
FillPdfMergeTestCase.test, line 576
Class
- FillPdfMergeTestCase
- Tests that PDF population and token replacement works.
Code
public function testPdftkPdfMerging() {
$this
->configurePdftkBackend();
if (!fillpdf_pdftk_check()) {
// No pdftk installed, so don't run any assertions.
return;
}
// The testing UI doesn't clearly indicate that these tests are being run by
// default because we delegate to backendTest(). This is a convenience
// marker.
$this
->assertTrue(TRUE, 'Detected pdftk. Running tests.');
$this
->backendTest();
}