Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.test.legacy
Class FooBarTest  view FooBarTest download FooBarTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.hibernate.test.TestCase
              extended byorg.hibernate.test.legacy.LegacyTestCase
                  extended byorg.hibernate.test.legacy.FooBarTest
All Implemented Interfaces:
junit.framework.Test

public class FooBarTest
extends LegacyTestCase


Field Summary
 
Fields inherited from class org.hibernate.test.legacy.LegacyTestCase
USE_ANTLR_PARSER_PROP
 
Fields inherited from class org.hibernate.test.TestCase
SKIP_LOG
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
FooBarTest(java.lang.String arg)
           
 
Method Summary
protected  void configure(org.hibernate.cfg.Configuration cfg)
           
protected  java.lang.String[] getMappings()
           
private  boolean isOuterJoinFetchingDisabled()
           
static void main(java.lang.String[] args)
           
 void ntestAssociationId()
           
static junit.framework.Test suite()
           
 void testAfterDelete()
           
 void testAny()
           
 void testArraysOfTimes()
           
 void testAutoFlush()
           
 void testAutoFlushCollections()
           
 void testAutosaveChildren()
           
 void testBagMultipleElements()
           
 void testBagOneToMany()
           
 void testBatchLoad()
           
 void testCache()
           
 void testCachedCollection()
           
 void testCallback()
           
 void testCascadeDeleteDetached()
           
 void testCascadeSave()
           
 void testCollectionCache()
           
 void testCollectionOfSelf()
           
 void testCollectionsInSelect()
           
 void testCollectionWhere()
           
 void testComplicatedQuery()
           
 void testComponentParent()
           
 void testComponents()
           
 void testCreate()
           
 void testCreateUpdate()
           
 void testCriteriaCollection()
           
 void testCustom()
           
 void testDeleteRecursive()
           
 void testDeleteTransient()
           
 void testDeleteUpdatedTransient()
           
 void testDereferenceLazyCollection()
           
 void testDisconnect()
           
 void testDyna()
           
 void testEmbeddedCompositeID()
           
 void testEmptyCollection()
           
 void testFetchInitializedCollection()
           
 void testFetchInitializedCollectionDupe()
           
 void testFetchList()
           
 void testFind()
           
 void testFindByCriteria()
           
 void testFindLoad()
           
 void testForceOuterJoin()
           
 void testForCertain()
           
 void testForeignKeys()
           
 void testIdBag()
           
 void testIterators()
           
 void testJoin()
           
 void testLateCollectionAdd()
           
 void testLazyCollections()
           
 void testLimit()
           
 void testListRemove()
           
 void testLoad()
           
 void testLoadAfterDelete()
           
 void testManyToManyBag()
           
 void testManyToOne()
           
 void testMoveLazyCollection()
           
 void testMultiColumnQueries()
           
 void testNamedParams()
           
 void testNewFlushing()
           
 void testNewSessionLifecycle()
           
 void testNoForeignKeyViolations()
           
 void testNonlazyCollection()
           
 void testObjectType()
           
 void testOnCascadeDelete()
           
 void testOneToOneGenerator()
           
 void testOrderBy()
           
 void testOrphanDelete()
           
 void testParameterCheck()
           
 void testPersistCollections()
           
 void testPersistentLifecycle()
           
 void testPolymorphism()
           
 void testPropertyRef()
           
 void testProxiesInCollections()
           
 void testProxyArray()
           
 void testPSCache()
           
 void testQuery()
           
 void testQueryCollectionOfValues()
           
 void testQueryLockMode()
           
 void testReachability()
           
 void testRecursiveLoad()
           
 void testRefresh()
           
 void testRefreshProxy()
           
 void testRemoveContains()
           
 void testRemoveFromIdbag()
           
 void testReuseDeletedCollection()
           
 void testSaveAddDelete()
           
 void testSaveDelete()
           
 void testSaveFlush()
           
 void testSaveOrUpdateCopyAny()
           
 void testScrollableIterator()
           
 void testSerializableType()
           
 void testService()
           
 void testSortables()
           
 void testTransientOrphanDelete()
           
 void testUpdate()
           
 void testUpdateCollections()
           
 void testUpdateFromTransient()
           
 void testUpdateOrder()
           
 void testUserProvidedConnection()
           
 void testVersionedCollections()
           
 void testVersioning()
           
 void testVeto()
           
 void testWierdSession()
           
 
Methods inherited from class org.hibernate.test.legacy.LegacyTestCase
extractFromSystem
 
Methods inherited from class org.hibernate.test.TestCase
afterSessionFactoryBuilt, appliesTo, assertClassAssignability, assertElementTypeAssignability, dialectIsCaseSensitive, dialectSupportsEmptyInList, dropAfterFailure, fullTestName, getBaseForMappings, getCacheConcurrencyStrategy, getCfg, getDialect, getExtraProperties, getSessions, openSession, openSession, overrideCacheStrategy, readCommittedIsolationMaintained, recreateSchema, reportSkip, reportSkip, runTest, setCfg, setUp, sfi
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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

FooBarTest

public FooBarTest(java.lang.String arg)
Method Detail

testSaveOrUpdateCopyAny

public void testSaveOrUpdateCopyAny()
                             throws java.lang.Exception

testRefreshProxy

public void testRefreshProxy()
                      throws java.lang.Exception

testOnCascadeDelete

public void testOnCascadeDelete()
                         throws java.lang.Exception

testRemoveFromIdbag

public void testRemoveFromIdbag()
                         throws java.lang.Exception

testLoad

public void testLoad()
              throws java.lang.Exception

testJoin

public void testJoin()
              throws java.lang.Exception

testDereferenceLazyCollection

public void testDereferenceLazyCollection()
                                   throws java.lang.Exception

testMoveLazyCollection

public void testMoveLazyCollection()
                            throws java.lang.Exception

testCriteriaCollection

public void testCriteriaCollection()
                            throws java.lang.Exception

testQuery

public void testQuery()
               throws java.lang.Exception

testCascadeDeleteDetached

public void testCascadeDeleteDetached()
                               throws java.lang.Exception

testForeignKeys

public void testForeignKeys()
                     throws java.lang.Exception

testNonlazyCollection

public void testNonlazyCollection()
                           throws java.lang.Exception

testReuseDeletedCollection

public void testReuseDeletedCollection()
                                throws java.lang.Exception

testPropertyRef

public void testPropertyRef()
                     throws java.lang.Exception

testQueryCollectionOfValues

public void testQueryCollectionOfValues()
                                 throws java.lang.Exception

testBatchLoad

public void testBatchLoad()
                   throws java.lang.Exception

testFetchInitializedCollection

public void testFetchInitializedCollection()
                                    throws java.lang.Exception

testLateCollectionAdd

public void testLateCollectionAdd()
                           throws java.lang.Exception

testUpdate

public void testUpdate()
                throws java.lang.Exception

testListRemove

public void testListRemove()
                    throws java.lang.Exception

testFetchInitializedCollectionDupe

public void testFetchInitializedCollectionDupe()
                                        throws java.lang.Exception

testSortables

public void testSortables()
                   throws java.lang.Exception

testFetchList

public void testFetchList()
                   throws java.lang.Exception

testBagOneToMany

public void testBagOneToMany()
                      throws java.lang.Exception

testQueryLockMode

public void testQueryLockMode()
                       throws java.lang.Exception

testManyToManyBag

public void testManyToManyBag()
                       throws java.lang.Exception

testIdBag

public void testIdBag()
               throws java.lang.Exception

isOuterJoinFetchingDisabled

private boolean isOuterJoinFetchingDisabled()

testForceOuterJoin

public void testForceOuterJoin()
                        throws java.lang.Exception

testEmptyCollection

public void testEmptyCollection()
                         throws java.lang.Exception

testOneToOneGenerator

public void testOneToOneGenerator()
                           throws java.lang.Exception

testLimit

public void testLimit()
               throws java.lang.Exception

testCustom

public void testCustom()
                throws java.lang.Exception

testSaveAddDelete

public void testSaveAddDelete()
                       throws java.lang.Exception

testNamedParams

public void testNamedParams()
                     throws java.lang.Exception

testParameterCheck

public void testParameterCheck()
                        throws org.hibernate.HibernateException

testDyna

public void testDyna()
              throws java.lang.Exception

testFindByCriteria

public void testFindByCriteria()
                        throws java.lang.Exception

testAfterDelete

public void testAfterDelete()
                     throws java.lang.Exception

testCollectionWhere

public void testCollectionWhere()
                         throws java.lang.Exception

testComponentParent

public void testComponentParent()
                         throws java.lang.Exception

testCollectionCache

public void testCollectionCache()
                         throws java.lang.Exception

ntestAssociationId

public void ntestAssociationId()
                        throws java.lang.Exception

testCascadeSave

public void testCascadeSave()
                     throws java.lang.Exception

testCollectionsInSelect

public void testCollectionsInSelect()
                             throws java.lang.Exception

testNewFlushing

public void testNewFlushing()
                     throws java.lang.Exception

testPersistCollections

public void testPersistCollections()
                            throws java.lang.Exception

testSaveFlush

public void testSaveFlush()
                   throws java.lang.Exception

testCreateUpdate

public void testCreateUpdate()
                      throws java.lang.Exception

testUpdateCollections

public void testUpdateCollections()
                           throws java.lang.Exception

testCreate

public void testCreate()
                throws java.lang.Exception

testCallback

public void testCallback()
                  throws java.lang.Exception

testPolymorphism

public void testPolymorphism()
                      throws java.lang.Exception

testRemoveContains

public void testRemoveContains()
                        throws java.lang.Exception

testCollectionOfSelf

public void testCollectionOfSelf()
                          throws java.lang.Exception

testFind

public void testFind()
              throws java.lang.Exception

testDeleteRecursive

public void testDeleteRecursive()
                         throws java.lang.Exception

testReachability

public void testReachability()
                      throws java.lang.Exception

testPersistentLifecycle

public void testPersistentLifecycle()
                             throws java.lang.Exception

testIterators

public void testIterators()
                   throws java.lang.Exception

testVersioning

public void testVersioning()
                    throws java.lang.Exception

testVersionedCollections

public void testVersionedCollections()
                              throws java.lang.Exception

testRecursiveLoad

public void testRecursiveLoad()
                       throws java.lang.Exception

testScrollableIterator

public void testScrollableIterator()
                            throws java.lang.Exception

testMultiColumnQueries

public void testMultiColumnQueries()
                            throws java.lang.Exception

testDeleteTransient

public void testDeleteTransient()
                         throws java.lang.Exception

testDeleteUpdatedTransient

public void testDeleteUpdatedTransient()
                                throws java.lang.Exception

testUpdateOrder

public void testUpdateOrder()
                     throws java.lang.Exception

testUpdateFromTransient

public void testUpdateFromTransient()
                             throws java.lang.Exception

testArraysOfTimes

public void testArraysOfTimes()
                       throws java.lang.Exception

testComponents

public void testComponents()
                    throws java.lang.Exception

testNoForeignKeyViolations

public void testNoForeignKeyViolations()
                                throws java.lang.Exception

testLazyCollections

public void testLazyCollections()
                         throws java.lang.Exception

testNewSessionLifecycle

public void testNewSessionLifecycle()
                             throws java.lang.Exception

testDisconnect

public void testDisconnect()
                    throws java.lang.Exception

testOrderBy

public void testOrderBy()
                 throws java.lang.Exception

testManyToOne

public void testManyToOne()
                   throws java.lang.Exception

testSaveDelete

public void testSaveDelete()
                    throws java.lang.Exception

testProxyArray

public void testProxyArray()
                    throws java.lang.Exception

testCache

public void testCache()
               throws java.lang.Exception

testFindLoad

public void testFindLoad()
                  throws java.lang.Exception

testRefresh

public void testRefresh()
                 throws java.lang.Exception

testAutoFlush

public void testAutoFlush()
                   throws java.lang.Exception

testVeto

public void testVeto()
              throws java.lang.Exception

testSerializableType

public void testSerializableType()
                          throws java.lang.Exception

testAutoFlushCollections

public void testAutoFlushCollections()
                              throws java.lang.Exception

testUserProvidedConnection

public void testUserProvidedConnection()
                                throws java.lang.Exception

testCachedCollection

public void testCachedCollection()
                          throws java.lang.Exception

testComplicatedQuery

public void testComplicatedQuery()
                          throws java.lang.Exception

testLoadAfterDelete

public void testLoadAfterDelete()
                         throws java.lang.Exception

testObjectType

public void testObjectType()
                    throws java.lang.Exception

testAny

public void testAny()
             throws java.lang.Exception

testEmbeddedCompositeID

public void testEmbeddedCompositeID()
                             throws java.lang.Exception

testAutosaveChildren

public void testAutosaveChildren()
                          throws java.lang.Exception

testOrphanDelete

public void testOrphanDelete()
                      throws java.lang.Exception

testTransientOrphanDelete

public void testTransientOrphanDelete()
                               throws java.lang.Exception

testProxiesInCollections

public void testProxiesInCollections()
                              throws java.lang.Exception

testService

public void testService()
                 throws java.lang.Exception

testPSCache

public void testPSCache()
                 throws java.lang.Exception

testForCertain

public void testForCertain()
                    throws java.lang.Exception

testBagMultipleElements

public void testBagMultipleElements()
                             throws java.lang.Exception

testWierdSession

public void testWierdSession()
                      throws java.lang.Exception

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception

configure

protected void configure(org.hibernate.cfg.Configuration cfg)
Overrides:
configure in class LegacyTestCase

getMappings

protected java.lang.String[] getMappings()