org.shapelogic.reporting
Class TableDefinitionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.shapelogic.reporting.TableDefinitionTest
All Implemented Interfaces:
junit.framework.Test

public class TableDefinitionTest
extends junit.framework.TestCase

Test of TableDefinition.

Author:
Sami Badawi

Field Summary
static java.lang.String COLUMN_NAME0
           
static java.lang.String COLUMN_NAME1
           
static java.lang.String STREAM_NAME0
           
static java.lang.String STREAM_NAME1
           
static java.lang.String STREAM_NAME2
           
static java.lang.String STREAM_NAME3
           
 
Constructor Summary
TableDefinitionTest()
           
 
Method Summary
static org.shapelogic.reporting.TableDefinition makeTableDefinition(org.shapelogic.calculation.RecursiveContext recursiveContext)
           
static org.shapelogic.reporting.TableDefinition makeTableDefinitionDirectCalc(org.shapelogic.calculation.RecursiveContext recursiveContext)
           
static org.shapelogic.reporting.TableDefinition makeTableDefinitionDirectStream(org.shapelogic.calculation.RecursiveContext recursiveContext)
           
 void testOneColumnNoContext()
           
 void testOneColumnWithContext()
           
 void testOneColumnWithContextDirectCalc()
           
 void testOneColumnWithContextDirectStream()
           
 void testOneColumnWithContextDirectStreamSortedReverseOrder()
           
 void testOneColumnWithContextDirectStreamSortedSameOrder()
           
 void testOneColumnWithContextDirectStreamSortedSelelectOne()
           
 void testOneColumnWithContextDirectStreamSortedSelelectOneNew()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STREAM_NAME0

public static final java.lang.String STREAM_NAME0
See Also:
Constant Field Values

STREAM_NAME1

public static final java.lang.String STREAM_NAME1
See Also:
Constant Field Values

STREAM_NAME2

public static final java.lang.String STREAM_NAME2
See Also:
Constant Field Values

STREAM_NAME3

public static final java.lang.String STREAM_NAME3
See Also:
Constant Field Values

COLUMN_NAME0

public static final java.lang.String COLUMN_NAME0
See Also:
Constant Field Values

COLUMN_NAME1

public static final java.lang.String COLUMN_NAME1
See Also:
Constant Field Values
Constructor Detail

TableDefinitionTest

public TableDefinitionTest()
Method Detail

testOneColumnNoContext

public void testOneColumnNoContext()

makeTableDefinition

public static org.shapelogic.reporting.TableDefinition makeTableDefinition(org.shapelogic.calculation.RecursiveContext recursiveContext)

makeTableDefinitionDirectStream

public static org.shapelogic.reporting.TableDefinition makeTableDefinitionDirectStream(org.shapelogic.calculation.RecursiveContext recursiveContext)

makeTableDefinitionDirectCalc

public static org.shapelogic.reporting.TableDefinition makeTableDefinitionDirectCalc(org.shapelogic.calculation.RecursiveContext recursiveContext)

testOneColumnWithContext

public void testOneColumnWithContext()

testOneColumnWithContextDirectStream

public void testOneColumnWithContextDirectStream()

testOneColumnWithContextDirectStreamSortedSameOrder

public void testOneColumnWithContextDirectStreamSortedSameOrder()

testOneColumnWithContextDirectStreamSortedReverseOrder

public void testOneColumnWithContextDirectStreamSortedReverseOrder()

testOneColumnWithContextDirectStreamSortedSelelectOne

public void testOneColumnWithContextDirectStreamSortedSelelectOne()

testOneColumnWithContextDirectStreamSortedSelelectOneNew

public void testOneColumnWithContextDirectStreamSortedSelelectOneNew()

testOneColumnWithContextDirectCalc

public void testOneColumnWithContextDirectCalc()


Copyright © 2009. All Rights Reserved.