|
||||||||||
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.BaseTestCase
org.apache.torque.sql.SqlBuilderTest
public class SqlBuilderTest
Tests for SqlExpression
Field Summary |
---|
Fields inherited from class org.apache.torque.BaseTestCase |
---|
CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, tableMap |
Constructor Summary | |
---|---|
SqlBuilderTest()
|
Methods inherited from class org.apache.torque.BaseTestCase |
---|
setUp |
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 |
---|
public SqlBuilderTest()
Method Detail |
---|
public void testAndString() throws Exception
Exception
public void testOrString() throws Exception
Exception
public void testAndCriterions() throws Exception
Exception
public void testOrCriterions() throws Exception
Exception
public void testAndVerbatimSqlReplacementNull() throws Exception
Exception
public void testAndVerbatimSqlWithReplacements() throws Exception
Exception
public void testAndVerbatimSqlWithFromColumns() throws Exception
Exception
public void testOrVerbatimSqlReplacementNull() throws Exception
Exception
public void testOrVerbatimSqlWithReplacements() throws Exception
Exception
public void testOrVerbatimSqlWithFromColumns() throws Exception
Exception
public void testWhereVerbatimSqlReplacementNull() throws Exception
Exception
public void testWhereVerbatimSqlWithReplacements() throws Exception
Exception
public void testWhereVerbatimSqlWithFromColumns() throws Exception
Exception
public void testignoreCaseUnknownColumnType() throws Exception
Exception
public void testIgnoreCaseStringColumnType() throws Exception
Exception
public void testIgnoreCaseIntegerColumnType() throws Exception
Exception
public void testOrderByDesc() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void testOrderByAsc() throws Exception
Exception
public void testOrderByNullColumn() throws Exception
Exception
public void testOrderByMultiple() throws Exception
Exception
public void testOrderByWithDefaultSchema() throws Exception
Exception
public void testOrderByWithFunction() throws Exception
Exception
public void testOrderByWithAsColumn() throws Exception
Exception
public void testOrderByWithAsColumnIgnoreCase() throws Exception
Exception
public void testOrderByWithAsColumnAndAliasIgnoreCase() throws Exception
Exception
public void testOrderByAscendingIgnoreCaseString() throws Exception
Exception
public void testOrderByAscendingIgnoreCaseInteger() throws Exception
Exception
public void testOrderByAscendingIgnoreCaseStringInCriteria() throws Exception
Exception
public void testOrderByAscendingIgnoreCaseIntegerInCriteria() throws Exception
Exception
public void testOrderByDescendingIgnoreCaseString() throws Exception
Exception
public void testOrderByDescendingIgnoreCaseInteger() throws Exception
Exception
public void testOrderByDescendingIgnoreCaseStringInCriteria() throws Exception
Exception
public void testOrderByDescendingIgnoreCaseIntegerInCriteria() throws Exception
Exception
public void testAlias() throws Exception
Exception
public void testAliasWithDefaultSchema() throws Exception
Exception
public void testAliasWithIgnoreCaseUnknownColumnType() throws Exception
Exception
public void testAliasWithSubquery() throws Exception
Exception
public void testAliasWithSubqueryAndReplacements() throws Exception
Exception
public void testAliasWithIgnoreCaseStringColumnType() throws Exception
Exception
public void testAliasWithIgnoreCaseIntegerColumnType() throws Exception
Exception
public void testAliasWithIgnoreCaseStringColumnTypeAndDefaultSchema() throws Exception
Exception
public void testAliasWithIgnoreCaseIntegerColumnTypeAndDefaultSchema() throws Exception
Exception
public void testAsColumn() throws Exception
Exception
public void testAsColumnWithIgnoreCaseUnknownColumn() throws Exception
Exception
public void testAsColumnWithIgnoreCaseStringColumn() throws Exception
Exception
public void testAsColumnWithIgnoreCaseIntegerColumn() throws Exception
Exception
public void testAsColumnWithIgnoreCaseStringColumnAndDefaultSchema() throws Exception
Exception
public void testAsColumnWithIgnoreCaseIntegerColumnAndDefaultSchema() throws Exception
Exception
public void testInnerJoinImplicit() throws Exception
Exception
public void testInnerJoinImplicitWithComparison() throws Exception
Exception
public void testInnerJoinExplicit() throws Exception
Exception
public void testInnerJoinWithExcplicitExistingRightTable() throws Exception
Exception
public void testInnerJoinWithExcplicitExistingRightTableAndOperator() throws Exception
Exception
public void testInnerJoinExcplicitWithExistingRightAndLeftTable() throws Exception
Exception
public void testInnerJoinExplicitWithComplicatedCondition() throws Exception
Exception
public void testLeftJoin() throws Exception
Exception
public void testLeftJoinWithExistingRightTable() throws Exception
Exception
public void testRightJoin() throws Exception
Exception
public void testRightJoinWithExistingRightTable() throws Exception
Exception
public void testInnerJoinImplicitWithAlias() throws Exception
Exception
public void testInnerJoinImplicitWithAliasAndAsColumn() throws Exception
Exception
public void testInnerJoinImplicitWithDefaultSchema() throws Exception
Exception
public void testInnerJoinImplicitWithAliasAndDefaultSchema() throws Exception
Exception
public void testInnerJoinImplicitWithAliasAndSchema() throws Exception
Exception
public void testInnerJoinImplicitWithSubqueryAndReplacements() throws Exception
Exception
public void testInnerJoinImplicitWithComplicatedCondition() throws Exception
Exception
public void testDistinct() throws Exception
Exception
public void testGroupBy() throws Exception
Exception
public void testLimitPostgresql() throws Exception
Exception
public void testOffsetPostgresql() throws Exception
Exception
public void testLimitOffsetPostgresql() throws Exception
Exception
public void testLimitMysql() throws Exception
Exception
public void testOffsetMysql() throws Exception
Exception
public void testLimitOffsetMysql() throws Exception
Exception
public void testLimitOracle() throws Exception
Exception
public void testOffsetOracle() throws Exception
Exception
public void testLimitOffsetOracle() throws Exception
Exception
public void testSelectForUpdate() throws Exception
Exception
public void testHaving() throws Exception
Exception
public void testSelectColumnWithoutTable() throws Exception
Exception
public void testCustom() throws Exception
Exception
public void testCustomLvalueNull() throws Exception
Exception
public void testCriterionCustomSql() throws Exception
Exception
public void testCriterionCustomNoString() throws Exception
Exception
public void testLvalueIsObject() throws Exception
Exception
public void testCurrentDate() throws Exception
Exception
public void testCurrentTime() throws Exception
Exception
public void testCurrentTimestamp() throws Exception
Exception
public void testObjectKey() throws Exception
Exception
public void testNullValue() throws Exception
Exception
public void testNullValueNotEqual() throws Exception
Exception
public void testNullValueAltNotEqual() throws Exception
Exception
public void testIsNull() throws Exception
Exception
public void testIsNotNull() throws Exception
Exception
public void testSubselect() throws Exception
Exception
public void testLike() throws Exception
Exception
public void testLikeWithEscape() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void testLikeWithEscapeOracle() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void testLikeIgnoreCase() throws Exception
Exception
public void testLikeIgnoreCaseNoWildcard() throws Exception
Exception
public void testLikeInteger() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void testNotLike() throws Exception
Exception
public void testNotLikeIgnoreCase() throws Exception
Exception
public void testNotLikeIgnoreCaseNoWildcard() throws Exception
Exception
public void testIlike() throws Exception
Exception
public void testNotIlike() throws Exception
Exception
public void testLvalueString() throws Exception
Exception
public void testLvalueNull() throws Exception
Exception
public void testLvalueCriteria() throws Exception
Exception
public void testInArray() throws Exception
Exception
public void testInArrayIgnoreCase() throws Exception
Exception
public void testInList() throws Exception
Exception
public void testInListIgnoreCase() throws Exception
Exception
public void testNotInList() throws Exception
Exception
public void testInLargeArray() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void testInString() throws Exception
Exception
public void testFromElementsSetExplicitly() throws Exception
Exception
public void testFromElementsSetExplicitlyAsString() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |