test.pdfbox.pdfparser
Class TestPDFParser

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.pdfbox.pdfparser.TestPDFParser
All Implemented Interfaces:
junit.framework.Test

public class TestPDFParser
extends junit.framework.TestCase

This will test the PDF parsing in PDFBox.

Version:
$Revision: 1.1 $
Author:
Ben Litchfield (ben@benlitchfield.com)

Constructor Summary
TestPDFParser(String name)
          Constructor.
 
Method Summary
static void main(String[] args)
          infamous main method.
static junit.framework.Test suite()
          This will get the suite of test that this class holds.
 void testCOSName()
          This will test some cos name parsing.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

TestPDFParser

public TestPDFParser(String name)
Constructor.

Parameters:
name - The name of the test to run.
Method Detail

suite

public static junit.framework.Test suite()
This will get the suite of test that this class holds.

Returns:
All of the tests that this class holds.

main

public static void main(String[] args)
infamous main method.

Parameters:
args - The command line arguments.

testCOSName

public void testCOSName()
                 throws Exception
This will test some cos name parsing.

Throws:
Exception - If there is an exception while parsing.


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.