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

Quick Search    Search Deep

org.hibernate.test.ejb3.proxy
Class Ejb3ProxyTest  view Ejb3ProxyTest download Ejb3ProxyTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.hibernate.test.TestCase
              extended byorg.hibernate.test.ejb3.proxy.Ejb3ProxyTest
All Implemented Interfaces:
junit.framework.Test

public class Ejb3ProxyTest
extends org.hibernate.test.TestCase

Test relation between proxies and get()/load() processing and make sure the interactions match the ejb3 expectations


Nested Class Summary
private static class Ejb3ProxyTest.Ejb3EntityNotFoundDelegate
           
private static class Ejb3ProxyTest.EntityNotFoundException
           
 
Field Summary
 
Fields inherited from class org.hibernate.test.TestCase
SKIP_LOG
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
Ejb3ProxyTest(java.lang.String name)
           
 
Method Summary
protected  void configure(org.hibernate.cfg.Configuration cfg)
           
protected  java.lang.String[] getMappings()
           
static junit.framework.Test suite()
           
 void testEjb3ProxyUsage()
           
 void testGetSemantics()
          The ejb3 find() method maps to the Hibernate get() method
 
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

Ejb3ProxyTest

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

suite

public static junit.framework.Test suite()

testEjb3ProxyUsage

public void testEjb3ProxyUsage()

testGetSemantics

public void testGetSemantics()
The ejb3 find() method maps to the Hibernate get() method


configure

protected void configure(org.hibernate.cfg.Configuration cfg)

getMappings

protected java.lang.String[] getMappings()