org.kuali.rice.krad.data.jpa.eclipselink
Class KradEclipseLinkEntityManagerFactoryBeanTest

java.lang.Object
  extended by org.kuali.rice.krad.data.jpa.eclipselink.KradEclipseLinkEntityManagerFactoryBeanTest

public class KradEclipseLinkEntityManagerFactoryBeanTest
extends Object

Tests the KradEclipseLinkEntityManagerFactoryBean.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
static class KradEclipseLinkEntityManagerFactoryBeanTest.TestEntity1
           
static class KradEclipseLinkEntityManagerFactoryBeanTest.TestEntity2
           
static class KradEclipseLinkEntityManagerFactoryBeanTest.TestEntity3
           
static class KradEclipseLinkEntityManagerFactoryBeanTest.TestEntity4
           
static class KradEclipseLinkEntityManagerFactoryBeanTest.TestEntity5
           
static class KradEclipseLinkEntityManagerFactoryBeanTest.TestPersistenceUnitPostProcessor
           
 
Constructor Summary
KradEclipseLinkEntityManagerFactoryBeanTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testFull()
           
 void testGetDataSource()
           
 void testInvalidDataSourceConfiguration()
          Verifies that it's not permitted to configure with both a JTA and Non-JTA datasource.
 void testJta()
           
 void testLoadTimeWeaving()
           
 void testMinimal()
           
 void testVariousGetters()
          Just tests some of the getters to ensure they are delegating down to the internal factory bean and the PersistenceUnitManager appropriately.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KradEclipseLinkEntityManagerFactoryBeanTest

public KradEclipseLinkEntityManagerFactoryBeanTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testMinimal

public void testMinimal()
                 throws Exception
Throws:
Exception

testFull

public void testFull()
              throws Exception
Throws:
Exception

testJta

public void testJta()
             throws Exception
Throws:
Exception

testLoadTimeWeaving

public void testLoadTimeWeaving()
                         throws Exception
Throws:
Exception

testInvalidDataSourceConfiguration

public void testInvalidDataSourceConfiguration()
                                        throws Exception
Verifies that it's not permitted to configure with both a JTA and Non-JTA datasource.

Throws:
Exception

testGetDataSource

public void testGetDataSource()
                       throws Exception
Throws:
Exception

testVariousGetters

public void testVariousGetters()
                        throws Exception
Just tests some of the getters to ensure they are delegating down to the internal factory bean and the PersistenceUnitManager appropriately.

Throws:
Exception


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.