|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.torque.util.functions.AggregateFunctionTest
public class AggregateFunctionTest
Tests the AggregateFunction class.
Constructor Summary | |
---|---|
AggregateFunctionTest()
|
Method Summary | |
---|---|
void |
testAggregateFunction()
Tests the aggregateFunction constructor without distinct returns the correct SQL. |
void |
testAggregateFunctionWithDistinct()
Tests the aggregateFunction constructor with distinct returns the correct SQL. |
void |
testGetColumnName()
Tests the getColumnName method always returns null. |
void |
testGetFirstArgument()
Tests that getArgument(0) returns the column. |
void |
testGetFullTableName()
Tests the getFullTableName method returns the fullTableName of the column argument. |
void |
testGetSchemaName()
Tests the getSchemaName method returns the schema of the column argument. |
void |
testGetSecondArgument()
Tests that getArgument(1) returns the distinct value. |
void |
testGetSetArguments()
Tests that getArguments and SetArguments work |
void |
testGetTableName()
Tests the getTableName method returns the table of the column argument. |
void |
testGetThirdArgument()
Tests that getArgument(2) returns null. |
void |
testSetColumnNull()
Tests that setColumn cannot be called with a null value. |
void |
testSetFunction()
Tests that setFunction works |
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 |
Constructor Detail |
---|
public AggregateFunctionTest()
Method Detail |
---|
public void testAggregateFunction()
public void testAggregateFunctionWithDistinct()
public void testSetFunction()
public void testGetSetArguments()
public void testGetFirstArgument()
public void testGetSecondArgument()
public void testGetThirdArgument()
public void testSetColumnNull()
public void testGetColumnName()
public void testGetTableName()
public void testGetFullTableName()
public void testGetSchemaName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |