org.apache.openejb.test.stateful
Class StatefulContextLookupTests

java.lang.Object
  extended by junit.framework.Assert
      extended by org.apache.openejb.test.NumberedTestCase
          extended by org.apache.openejb.test.NamedTestCase
              extended by org.apache.openejb.test.TestClient
                  extended by org.apache.openejb.test.stateful.StatefulTestClient
                      extended by org.apache.openejb.test.stateful.StatefulContextLookupTests
All Implemented Interfaces:
junit.framework.Test

public class StatefulContextLookupTests
extends StatefulTestClient

[4] Should be run as the fourth test suite of the StatefulTestClients

Author:
David Blevins, Richard Monson-Haefel

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.openejb.test.NumberedTestCase
NumberedTestCase.NamedTest, NumberedTestCase.TestSetup, NumberedTestCase.TestTearDown
 
Field Summary
protected  EncStatefulHome ejbHome
           
protected  EncStatefulObject ejbObject
           
 
Fields inherited from class org.apache.openejb.test.TestClient
ejbHandle, ejbHomeHandle, ejbMetaData, ejbPrimaryKey, initialContext
 
Fields inherited from class org.apache.openejb.test.NamedTestCase
testName
 
Fields inherited from class org.apache.openejb.test.NumberedTestCase
standardPrefix
 
Constructor Summary
StatefulContextLookupTests()
           
 
Method Summary
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void test01_lookupStringEntry()
           
 void test02_lookupDoubleEntry()
           
 void test03_lookupLongEntry()
           
 void test04_lookupFloatEntry()
           
 void test05_lookupIntegerEntry()
           
 void test06_lookupShortEntry()
           
 void test07_lookupBooleanEntry()
           
 void test08_lookupByteEntry()
           
 void test09_lookupCharacterEntry()
           
 void test10_lookupEntityBean()
           
 void test11_lookupStatefulBean()
           
 void test12_lookupStatelessBean()
           
 void test13_lookupResource()
           
 void test14_lookupPersistenceUnit()
           
 void test15_lookupPersistenceContext()
           
 void test18_lookupSessionContext()
           
 void test23_lookupJMSConnectionFactory()
           
 
Methods inherited from class org.apache.openejb.test.TestClient
cast, processFieldInjections, processSetterInjections
 
Methods inherited from class org.apache.openejb.test.NamedTestCase
name
 
Methods inherited from class org.apache.openejb.test.NumberedTestCase
countTestCases, createTest, createTestName, removePrefix, removePrefix, run, run, runTestMethod, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ejbHome

protected EncStatefulHome ejbHome

ejbObject

protected EncStatefulObject ejbObject
Constructor Detail

StatefulContextLookupTests

public StatefulContextLookupTests()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: StatefulTestClient
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides:
setUp in class StatefulTestClient
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.

Overrides:
tearDown in class NumberedTestCase
Throws:
java.lang.Exception

test01_lookupStringEntry

public void test01_lookupStringEntry()

test02_lookupDoubleEntry

public void test02_lookupDoubleEntry()

test03_lookupLongEntry

public void test03_lookupLongEntry()

test04_lookupFloatEntry

public void test04_lookupFloatEntry()

test05_lookupIntegerEntry

public void test05_lookupIntegerEntry()

test06_lookupShortEntry

public void test06_lookupShortEntry()

test07_lookupBooleanEntry

public void test07_lookupBooleanEntry()

test08_lookupByteEntry

public void test08_lookupByteEntry()

test09_lookupCharacterEntry

public void test09_lookupCharacterEntry()

test10_lookupEntityBean

public void test10_lookupEntityBean()

test11_lookupStatefulBean

public void test11_lookupStatefulBean()

test12_lookupStatelessBean

public void test12_lookupStatelessBean()

test13_lookupResource

public void test13_lookupResource()

test14_lookupPersistenceUnit

public void test14_lookupPersistenceUnit()

test15_lookupPersistenceContext

public void test15_lookupPersistenceContext()

test18_lookupSessionContext

public void test18_lookupSessionContext()

test23_lookupJMSConnectionFactory

public void test23_lookupJMSConnectionFactory()


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.