org.openejb.test.stateful
Class StatefulJndiEncTests

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

public class StatefulJndiEncTests
extends StatefulTestClient

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

Author:
David Blevins, Richard Monson-Haefel

Field Summary
protected  EncStatefulHome ejbHome
           
protected  EncStatefulObject ejbObject
           
 
Fields inherited from class org.openejb.test.stateful.StatefulTestClient
ejbHandle, ejbHomeHandle, ejbMetaData, ejbPrimaryKey, initialContext
 
Fields inherited from class org.openejb.test.NamedTestCase
testName
 
Fields inherited from class org.openejb.test.NumberedTestCase
standardPrefix
 
Constructor Summary
StatefulJndiEncTests()
           
 
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_lookupEntityBean()
           
 void test10_lookupStatefulBean()
           
 void test11_lookupStatelessBean()
           
 void test12_lookupResource()
           
 
Methods inherited from class org.openejb.test.NamedTestCase
name
 
Methods inherited from class org.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
 
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

StatefulJndiEncTests

public StatefulJndiEncTests()
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_lookupEntityBean

public void test09_lookupEntityBean()

test10_lookupStatefulBean

public void test10_lookupStatefulBean()

test11_lookupStatelessBean

public void test11_lookupStatelessBean()

test12_lookupResource

public void test12_lookupResource()


Copyright © 1999-2011 OpenEJB. All Rights Reserved.