test.pdfbox.pdmodel.interactive.form
Class TestFields

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.pdfbox.pdmodel.interactive.form.TestFields
All Implemented Interfaces:
junit.framework.Test

public class TestFields
extends junit.framework.TestCase

This will test the form fields in PDFBox.

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

Constructor Summary
TestFields(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 testFlags()
          This will test setting field flags on the PDField.
 
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

TestFields

public TestFields(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.

testFlags

public void testFlags()
               throws IOException
This will test setting field flags on the PDField.

Throws:
IOException - If there is an error creating the field.


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