org.hibernate.ejb.criteria.basic
Class PredicateTest

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.PredicateTest

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

Test the various predicates.


Field Summary
 
Fields inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
NO_CLASSES, NO_MAPPINGS
 
Constructor Summary
PredicateTest()
           
 
Method Summary
 void prepareTestData()
           
 void testByteArray()
          Check predicate for field which has simple char array type (byte[]).
 void testCharArray()
          Check predicate for field which has simple char array type (char[]).
 void testComplicatedNotAnd()
          Check complicated not.
 void testComplicatedNotOr()
          Check complicated not.
 void testEmptyConjunction()
           
 void testEmptyDisjunction()
           
 void testNotMultipleOr()
          Check complicated not.
 void testQuotientConversion()
           
 void testSimpleNot()
          Check simple not.
 
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

PredicateTest

public PredicateTest()
Method Detail

prepareTestData

public void prepareTestData()

testEmptyConjunction

public void testEmptyConjunction()

testEmptyDisjunction

public void testEmptyDisjunction()

testSimpleNot

public void testSimpleNot()
Check simple not.


testComplicatedNotOr

public void testComplicatedNotOr()
Check complicated not.


testNotMultipleOr

public void testNotMultipleOr()
Check complicated not.


testComplicatedNotAnd

public void testComplicatedNotAnd()
Check complicated not.


testCharArray

public void testCharArray()
Check predicate for field which has simple char array type (char[]).


testByteArray

public void testByteArray()
Check predicate for field which has simple char array type (byte[]).


testQuotientConversion

public void testQuotientConversion()


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