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

Quick Search    Search Deep

org.hibernate.test.connections
Class CurrentSessionConnectionTest  view CurrentSessionConnectionTest download CurrentSessionConnectionTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.hibernate.test.TestCase
              extended byorg.hibernate.test.connections.ConnectionManagementTestCase
                  extended byorg.hibernate.test.connections.AggressiveReleaseTest
                      extended byorg.hibernate.test.connections.CurrentSessionConnectionTest
All Implemented Interfaces:
junit.framework.Test

public class CurrentSessionConnectionTest
extends AggressiveReleaseTest

Implementation of CurrentSessionConnectionTest.


Field Summary
 
Fields inherited from class org.hibernate.test.TestCase
SKIP_LOG
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
CurrentSessionConnectionTest(java.lang.String name)
           
 
Method Summary
protected  org.hibernate.Session getSessionUnderTest()
          Used to get a session configured based on the config scenario being tested.
protected  void release(org.hibernate.Session session)
          Used to release a fixture session 55 .
static junit.framework.Test suite()
           
 
Methods inherited from class org.hibernate.test.connections.AggressiveReleaseTest
configure, done, prepare, reconnect, testBorrowedConnections, testConnectionMaintanenceDuringFlush, testQueryIteration, testQueryScrolling, testSerializationFailsOnAfterStatementAggressiveReleaseWithOpenResources, testSerializationOnAfterStatementAggressiveRelease, testSuppliedConnection
 
Methods inherited from class org.hibernate.test.connections.ConnectionManagementTestCase
checkDeserializedState, checkSerializedState, getMappings, testBasicSessionUsage, testConnectedSerialization, testManualDisconnectChain, testManualDisconnectedSerialization, testManualDisconnectWithOpenResources, testSessionClosedProtections
 
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

CurrentSessionConnectionTest

public CurrentSessionConnectionTest(java.lang.String name)
Method Detail

suite

public static junit.framework.Test suite()

getSessionUnderTest

protected org.hibernate.Session getSessionUnderTest()
                                             throws java.lang.Throwable
Description copied from class: ConnectionManagementTestCase
Used to get a session configured based on the config scenario being tested.

Overrides:
getSessionUnderTest in class AggressiveReleaseTest

release

protected void release(org.hibernate.Session session)
Description copied from class: ConnectionManagementTestCase
Used to release a fixture session 55 . Overridden to perform session releasing/testing specific to the given config scenario being tested.

Overrides:
release in class ConnectionManagementTestCase