org.eclipse.birt.report.tests.model.api
Class TableItemHandleTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.eclipse.birt.report.tests.model.BaseTestCase
              extended byorg.eclipse.birt.report.tests.model.api.TableItemHandleTest
All Implemented Interfaces:
junit.framework.Test

public class TableItemHandleTest
extends BaseTestCase

The test case of the method getColumnCount in TableItemHandle.

See Also:
TableItem

Method Test Case Expected
testGetColumnCount() Gets the maximal column count of tables with dropping headers. Results match with the expected.
Field Summary
 
Fields inherited from class org.eclipse.birt.report.tests.model.BaseTestCase
design, designHandle, GOLDEN_FOLDER, INPUT_FOLDER, OUTPUT_FOLDER, PLUGIN_NAME, PLUGIN_PATH, PLUGINLOC, ROM_DEF_NAME, sessionHandle, TEST_FOLDER, TEST_LOCALE
 
Constructor Summary
TableItemHandleTest(java.lang.String name)
           
 
Method Summary
protected  void setUp()
           
static junit.framework.Test suite()
           
 void testContentLayout()
          Test the table layout.
 void testGetColumnCount()
           
 void testInsertGroup()
          Inserts a new group into the table.
 
Methods inherited from class org.eclipse.birt.report.tests.model.BaseTestCase
compareErrors, compareTextFile, compareTextFileAsResource, createDesign, createDesign, dumpErrors, getClassFolder, getFullQualifiedClassName, openDesign, openDesign, openDesign, openDesign, openDesignAsResource, openDesignAsResource, printSemanticError, printSemanticErrors, printSyntaxError, saveAs, saveAsInTempDir, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableItemHandleTest

public TableItemHandleTest(java.lang.String name)
Parameters:
name -
Method Detail

suite

public static junit.framework.Test suite()

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class BaseTestCase
Throws:
java.lang.Exception

testGetColumnCount

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

testContentLayout

public void testContentLayout()
                       throws java.lang.Exception
Test the table layout.

Throws:
java.lang.Exception

testInsertGroup

public void testInsertGroup()
                     throws java.lang.Exception
Inserts a new group into the table. This is one smoke test. If no exception is thrown, this operation is OK.

Throws:
java.lang.Exception