Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.poi.poifs » storage » [javadoc | source]
org.apache.cocoon.poi.poifs.storage
public class: TestBATBlock [javadoc | source]
java.lang.Object
   TestCase
      org.apache.cocoon.poi.poifs.storage.TestBATBlock
Class to test BATBlock functionality
Constructor:
 public TestBATBlock(String name) 
    Constructor TestBATBlock
    Parameters:
    name -
Method from org.apache.cocoon.poi.poifs.storage.TestBATBlock Summary:
main,   testCalculateXBATStorageRequirements,   testCreateBATBlocks,   testCreateXBATBlocks,   testEntriesPerBlock,   testEntriesPerXBATBlock,   testGetXBATChainOffset
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.poi.poifs.storage.TestBATBlock Detail:
 public static  void main(String[] ignored_args) 
    main method to run the unit tests
 public  void testCalculateXBATStorageRequirements() 
    test calculateXBATStorageRequirements
 public  void testCreateBATBlocks() throws IOException 
    Test the createBATBlocks method. The test involves setting up various arrays of int's and ensuring that the correct number of BATBlocks is created for each array, and that the data from each array is correctly written to the BATBlocks.
 public  void testCreateXBATBlocks() throws IOException 
    test createXBATBlocks
 public  void testEntriesPerBlock() 
    test entriesPerBlock
 public  void testEntriesPerXBATBlock() 
    test entriesPerXBATBlock
 public  void testGetXBATChainOffset() 
    test getXBATChainOffset