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

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

public abstract class A_EtypeOlong
extends JTestCase

This set of test are common to CMP version 1 and CMP version 2 These are tests about java.lang.Long field of entity bean . Beans used: etype/olong

Author:
Helene Joanin

Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase
ictx, isInit, jonasName, msgerror, testtorun, utx
 
Constructor Summary
A_EtypeOlong(java.lang.String name)
           
 
Method Summary
abstract  OlongHome getHome()
          Return OlongHome, 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 testFindByPk()
          findByPrimaryKey() test
 void testGetF1()
          getF1() test
 void testGetF1Null()
          getF1Null() test: f1 with a 'null' value
 void testRemove()
          remove() test
 void testSetF1()
          setF1() test
 void testSetF1Null()
          setF1Null() test: f1 with a 'null' value
 
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_EtypeOlong

public A_EtypeOlong(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 OlongHome getHome()
Return OlongHome, 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

testGetF1

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

testGetF1Null

public void testGetF1Null()
                   throws java.lang.Exception
getF1Null() test: f1 with a 'null' value

testSetF1

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

testSetF1Null

public void testSetF1Null()
                   throws java.lang.Exception
setF1Null() test: f1 with a 'null' value

testCreate

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

testRemove

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