public class AggregateFunctionTest
extends junit.framework.TestCase
Constructor and Description |
---|
AggregateFunctionTest() |
Modifier and Type | Method and Description |
---|---|
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
|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.