org.ujac.util.table.test
Class PivotTableTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ujac.util.table.test.PivotTableTest
All Implemented Interfaces:
junit.framework.Test

public class PivotTableTest
extends junit.framework.TestCase

Name: PivotTableTest
Description: A JUnit test for pivot tables.

Author:
lauerc

Constructor Summary
PivotTableTest()
          Constructs a PivotTableTest instance with specific attributes.
PivotTableTest(String name)
          Constructs a PivotTableTest instance with specific attributes.
 
Method Summary
protected  void setUp()
          Sets up the test case.
 void testPivotTableCount()
          Tests the creation of a PivotTable.
 void testPivotTableCountSingleGroup()
          Tests the creation of a PivotTable.
 void testPivotTableSum()
          Tests the creation of a PivotTable.
 void testPivotTableSumSingleGroup()
          Tests the creation of a PivotTable.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PivotTableTest

public PivotTableTest()
Constructs a PivotTableTest instance with specific attributes.


PivotTableTest

public PivotTableTest(String name)
Constructs a PivotTableTest instance with specific attributes.

Parameters:
name - The name of the test case.
Method Detail

setUp

protected void setUp()
              throws Exception
Sets up the test case.

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.setUp()

testPivotTableSum

public void testPivotTableSum()
                       throws TableException
Tests the creation of a PivotTable.

Throws:
TableException - In case the data table access fails.

testPivotTableSumSingleGroup

public void testPivotTableSumSingleGroup()
                                  throws TableException
Tests the creation of a PivotTable.

Throws:
TableException - In case the data table access fails.

testPivotTableCount

public void testPivotTableCount()
                         throws TableException
Tests the creation of a PivotTable.

Throws:
TableException - In case the data table access fails.

testPivotTableCountSingleGroup

public void testPivotTableCountSingleGroup()
                                    throws TableException
Tests the creation of a PivotTable.

Throws:
TableException - In case the data table access fails.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.