org.hibernate.ejb.criteria.basic
Class ExpressionsTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
          extended by org.hibernate.ejb.metamodel.AbstractMetamodelSpecificTest
              extended by org.hibernate.ejb.criteria.basic.ExpressionsTest

public class ExpressionsTest
extends org.hibernate.ejb.metamodel.AbstractMetamodelSpecificTest

Tests that various expressions operate as expected


Field Summary
 
Fields inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
NO_CLASSES, NO_MAPPINGS
 
Constructor Summary
ExpressionsTest()
           
 
Method Summary
 void cleanupTestData()
           
 void prepareTestData()
           
 void testDiff()
           
 void testDiffWithQuotient()
           
 void testEmptyConjunction()
           
 void testEmptyConjunctionIsFalse()
           
 void testEmptyConjunctionIsTrue()
           
 void testEmptyDisjunction()
           
 void testEmptyDisjunctionIsFalse()
           
 void testEmptyDisjunctionIsTrue()
           
 void testInExplicitTupleList()
           
 void testInExplicitTupleListVarargs()
           
 void testInExpressionVarargs()
           
 void testJoinedElementCollectionValuesInTupleList()
           
 void testParameterReuse()
           
 void testQuotientAndMultiply()
           
 void testSumWithQuotient()
           
 
Methods inherited from class org.hibernate.ejb.metamodel.AbstractMetamodelSpecificTest
getAnnotatedClasses
 
Methods inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
addConfigOptions, addMappings, afterConfigurationBuilt, afterEntityManagerFactoryBuilt, applyServices, buildConfiguration, buildEntityManagerFactory, constructConfiguration, createEntityManager, createIsolatedEntityManager, createIsolatedEntityManager, createSchema, entityManagerFactory, getCachedClasses, getCachedCollections, getConfig, getDialect, getEjb3DD, getMappings, getOrCreateEntityManager, releaseResources, serviceRegistry
 
Methods inherited from class org.hibernate.testing.junit4.BaseUnitTestCase
releaseTransactions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionsTest

public ExpressionsTest()
Method Detail

prepareTestData

public void prepareTestData()

cleanupTestData

public void cleanupTestData()

testEmptyConjunction

public void testEmptyConjunction()

testEmptyConjunctionIsTrue

public void testEmptyConjunctionIsTrue()

testEmptyConjunctionIsFalse

public void testEmptyConjunctionIsFalse()

testEmptyDisjunction

public void testEmptyDisjunction()

testEmptyDisjunctionIsTrue

public void testEmptyDisjunctionIsTrue()

testEmptyDisjunctionIsFalse

public void testEmptyDisjunctionIsFalse()

testDiff

public void testDiff()

testDiffWithQuotient

public void testDiffWithQuotient()

testSumWithQuotient

public void testSumWithQuotient()

testQuotientAndMultiply

public void testQuotientAndMultiply()

testParameterReuse

public void testParameterReuse()

testInExplicitTupleList

public void testInExplicitTupleList()

testInExplicitTupleListVarargs

public void testInExplicitTupleListVarargs()

testInExpressionVarargs

public void testInExpressionVarargs()

testJoinedElementCollectionValuesInTupleList

public void testJoinedElementCollectionValuesInTupleList()


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.