org.jopendocument.dom.spreadsheet
Class SheetTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jopendocument.dom.spreadsheet.SheetTest
All Implemented Interfaces:
junit.framework.Test

public class SheetTest
extends junit.framework.TestCase


Constructor Summary
SheetTest()
           
 
Method Summary
static void assertValid(ODPackage pkg)
           
static void assertValid(ODPackage pkg, boolean expected)
           
 void testCreate()
           
 void testDuplicateRows()
           
 void testEnsureColumnCount()
           
 void testGetCount()
           
 void testGetMutableTableModel()
           
 void testGetTableModel()
           
 void testGetValueAt()
           
 void testGroups()
           
 void testMerge()
           
 void testName()
           
 void testRemoveCol()
           
 void testRemoveRow()
           
 void testRepeated()
           
 void testResolve()
           
 void testSetColumnCount()
           
 void testSetRowCount()
           
 void testSetValueAt()
           
 void testStyle()
           
 void testUsedRange()
           
 void testXY()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SheetTest

public SheetTest()
Method Detail

testCreate

public void testCreate()
                throws java.io.IOException
Throws:
java.io.IOException

testName

public void testName()
              throws java.lang.Exception
Throws:
java.lang.Exception

testSetValueAt

public void testSetValueAt()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testGetValueAt

public void testGetValueAt()

testGetCount

public void testGetCount()

testEnsureColumnCount

public void testEnsureColumnCount()

testSetColumnCount

public void testSetColumnCount()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveCol

public void testRemoveCol()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveRow

public void testRemoveRow()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testSetRowCount

public void testSetRowCount()
                     throws java.io.IOException
Throws:
java.io.IOException

testGetTableModel

public void testGetTableModel()

testGetMutableTableModel

public void testGetMutableTableModel()

testMerge

public void testMerge()
               throws java.io.IOException
Throws:
java.io.IOException

testResolve

public void testResolve()

testDuplicateRows

public void testDuplicateRows()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testXY

public void testXY()
            throws java.lang.Exception
Throws:
java.lang.Exception

testUsedRange

public void testUsedRange()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testGroups

public void testGroups()
                throws java.lang.Exception
Throws:
java.lang.Exception

testRepeated

public void testRepeated()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testStyle

public void testStyle()
               throws java.lang.Exception
Throws:
java.lang.Exception

assertValid

public static void assertValid(ODPackage pkg)

assertValid

public static void assertValid(ODPackage pkg,
                               boolean expected)