|
||||||||||
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.criteria.CriterionTest
public class CriterionTest
Test for the Criterion class.
Field Summary |
---|
Fields inherited from class org.apache.torque.BaseTestCase |
---|
CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, tableMap |
Constructor Summary | |
---|---|
CriterionTest()
|
Method Summary | |
---|---|
void |
testCopyConstructorCompositeCriterion()
Tests that a criterion is copied when being added as top level criterion using where (also tests and). |
void |
testCopyConstructorSimpleCriterion()
Tests that a criterion is copied when being added as top level criterion using where (also tests and). |
void |
testCopyConstructorSqlCriterion()
Tests that a criterion is copied when being added as top level criterion using where (also tests and). |
void |
testCriterionAndedToCriterionGetsCopied()
Tests that a criterion is copied when being anded to a top level criterion. |
void |
testCriterionAndedToTopLevelCriterionGetsCopied()
Tests that a criterion is copied when being anded to a top level criterion. |
void |
testCriterionOredToCriterionGetsCopied()
Tests that a criterion is copied when being ored to a top level criterion. |
void |
testCriterionOredToTopLevelCriterionGetsCopied()
Tests that a criterion is copied when being ored to a top level criterion. |
void |
testHashCodeAndEquals()
|
void |
testToStringCompositeCriterion()
|
void |
testToStringSingleCriterion()
|
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 CriterionTest()
Method Detail |
---|
public void testHashCodeAndEquals()
public void testToStringSingleCriterion()
public void testToStringCompositeCriterion()
public void testCriterionAndedToTopLevelCriterionGetsCopied()
public void testCriterionOredToTopLevelCriterionGetsCopied()
public void testCriterionAndedToCriterionGetsCopied()
public void testCriterionOredToCriterionGetsCopied()
public void testCopyConstructorSimpleCriterion()
public void testCopyConstructorCompositeCriterion()
public void testCopyConstructorSqlCriterion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |