org.objectweb.jonas.jtests.clients.entity
Class A_EtypePlong

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.objectweb.jonas.jtests.util.JTestCase
                    |
                    +--org.objectweb.jonas.jtests.clients.entity.A_EtypePlong
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
F_EtypePlongEC, F_EtypePlongEC2

public abstract class A_EtypePlong
extends JTestCase

This set of test are common to CMP version 1 and CMP version 2 These are tests about 'long' field of entity bean . Beans used: etype/plong

Author:
Helene Joanin

Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase
ictx, isInit, jonasName, msgerror, testtorun, utx
 
Constructor Summary
A_EtypePlong(java.lang.String name)
           
 
Method Summary
abstract  PlongHome getHome()
          Return PlongHome, that can be either CMP version 1 or CMP version 2 bean.
protected  void setUp()
          common setUp routine, used for every test.
 void testCreate()
          create() test
 void testFindByF1()
          findByF1() test
 void testFindByF1Literal5()
          findByF1Literal5() test
 void testFindByPk()
          findByPrimaryKey() test
 void testGetF1()
          getF1() test
 void testRemove()
          remove() test
 void testSetF1()
          setF1() test
 
Methods inherited from class org.objectweb.jonas.jtests.util.JTestCase
debug, getDBEnv, random, sleep, tearDown, testEmpty, unloadBeans, useBeans
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

A_EtypePlong

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

setUp

protected void setUp()
Description copied from class: JTestCase
common setUp routine, used for every test.
Overrides:
setUp in class JTestCase

getHome

public abstract PlongHome getHome()
Return PlongHome, that can be either CMP version 1 or CMP version 2 bean.

testFindByPk

public void testFindByPk()
                  throws java.lang.Exception
findByPrimaryKey() test

testFindByF1

public void testFindByF1()
                  throws java.lang.Exception
findByF1() test

testFindByF1Literal5

public void testFindByF1Literal5()
                          throws java.lang.Exception
findByF1Literal5() test

testGetF1

public void testGetF1()
               throws java.lang.Exception
getF1() test

testSetF1

public void testSetF1()
               throws java.lang.Exception
setF1() test

testCreate

public void testCreate()
                throws java.lang.Exception
create() test

testRemove

public void testRemove()
                throws java.lang.Exception
remove() test