|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
test.pdfbox.util.TestTextStripperPerformance
public class TestTextStripperPerformance
Test the performance of the PDF text stripper utility.
| Constructor Summary | |
|---|---|
TestTextStripperPerformance(String name)
Test class constructor. |
|
| Method Summary | |
|---|---|
void |
doTestFile(File file,
boolean bLogResult)
Validate text extraction on a single file. |
static void |
main(String[] args)
Command line execution. |
void |
setUp()
Test suite setup. |
static junit.framework.Test |
suite()
Set the tests in the suite for this test class. |
void |
testExtract()
Test to validate text extraction of file set. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestTextStripperPerformance(String name)
name - The name of the test class.| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCase
public void doTestFile(File file,
boolean bLogResult)
throws Exception
file - The file to validatebLogResult - Whether to log the extracted text
Exception - when there is an exception
public void testExtract()
throws Exception
Exception - when there is an exceptionpublic static junit.framework.Test suite()
public static void main(String[] args)
args - Command line arguments.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||