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

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

public abstract class A_BasicHomeInterfaceEC
extends A_BasicHomeInterface

This set of test are basic tests on CMP entity home interface. Only specific tests to CMP are here, all tests common to CMP and BMP are in the inherited class A_BasicHomeInterface.

Author:
Philippe Coq, Philippe Durieux, Helene Joanin. (jonas team)

Fields inherited from class org.objectweb.jonas.jtests.clients.entity.A_BasicHomeInterface
home
 
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase
ictx, isInit, jonasName, msgerror, testtorun, utx
 
Constructor Summary
A_BasicHomeInterfaceEC(java.lang.String name)
           
 
Method Summary
 void testFinderBetween()
          testFinderBetween verify a finder method that return a Enumeration whith a where clause : where ?
 void testFinderEqualOne()
          testFinderEqualOne verify a finder method that return a Enumeration whith a where clause : where c_info = ?
 void testFinderEqualTwo()
          testFinderEqualTwo verify a finder method that return a Enumeration whith a where clause : where c_info = ?
 
Methods inherited from class org.objectweb.jonas.jtests.clients.entity.A_BasicHomeInterface
essaiA1, essaiA1C, essaiA2, essaiA2C, essaiC1, essaiC2, essaiF1, essaiF2, essaiR1, essaiR1C, essaiR2, essaiR2C, getHome, setUp, testCreateFindUserTx, testCreateNewEntity, testCreateRolledBack, testFindByPK, testFinderCollection, testFinderEnum, testFinderEnumObjNotFound, testFindUnexistingPK, testHomeRemoveCommitted, testHomeRemoveRolledBack, testOtherFinder, testRemoveByPKTwice, testRemoveInsideTransaction, testRemoveInTransaction, testRemoveRolledBack, testRemoveTwice, testRemoveViaEJBHome, testRemoveViaEJBObject
 
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_BasicHomeInterfaceEC

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

testFinderBetween

public void testFinderBetween()
                       throws java.lang.Exception
testFinderBetween verify a finder method that return a Enumeration whith a where clause : where ?1 <= c_info and c_info <= ?2 and ?1 <= c_numtest and c_numtest <= ?2 the purpose of this test is to verify the correct interpretation of parameters ?1 ?2

testFinderEqualOne

public void testFinderEqualOne()
                        throws java.lang.Exception
testFinderEqualOne verify a finder method that return a Enumeration whith a where clause : where c_info = ?1 and c_numtest = ?1 the object of this test is to verify the correct interpretation of parameters ?1 ?2

testFinderEqualTwo

public void testFinderEqualTwo()
                        throws java.lang.Exception
testFinderEqualTwo verify a finder method that return a Enumeration whith a where clause : where c_info = ? and c_numtest = ? the object of this test is to verify the correct interpretation of parameters ?1 ?2