| test.pdfbox.util.TestTextStripperPerformance
TestTextStripperPerformance | public class TestTextStripperPerformance extends TestCase (Code) | | Test the performance of the PDF text stripper utility.
author: Ben Litchfield version: $Revision: 1.4 $ |
Method Summary | |
public void | doTestFile(File file, boolean bLogResult) Validate text extraction on a single file. | public static void | main(String[] args) Command line execution. | public void | setUp() Test suite setup. | public static Test | suite() Set the tests in the suite for this test class. | public void | testExtract() Test to validate text extraction of file set. |
TestTextStripperPerformance | public TestTextStripperPerformance(String name)(Code) | | Test class constructor.
Parameters: name - The name of the test class. |
doTestFile | public void doTestFile(File file, boolean bLogResult) throws Exception(Code) | | Validate text extraction on a single file.
Parameters: file - The file to validate Parameters: bLogResult - Whether to log the extracted text throws: Exception - when there is an exception |
main | public static void main(String[] args)(Code) | | Command line execution.
Parameters: args - Command line arguments. |
setUp | public void setUp()(Code) | | Test suite setup.
|
suite | public static Test suite()(Code) | | Set the tests in the suite for this test class.
the Suite. |
testExtract | public void testExtract() throws Exception(Code) | | Test to validate text extraction of file set.
throws: Exception - when there is an exception |
|
|