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

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.objectweb.jonas.jtests.util.JTestCase
                    |
                    +--org.objectweb.jonas.jtests.clients.entity.A_Relation
                          |
                          +--org.objectweb.jonas.jtests.clients.entity.F_Relation_s3pkcompEC2
All Implemented Interfaces:
junit.framework.Test

public class F_Relation_s3pkcompEC2
extends A_Relation

For testing one-to-many unidirectional relationships

Author:
Helene Joanin

Field Summary
protected static AHomeRemote ahome
           
protected static BHomeRemote bhome
           
 
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase
ictx, isInit, jonasName, msgerror, testtorun, utx
 
Constructor Summary
F_Relation_s3pkcompEC2(java.lang.String name)
           
 
Method Summary
 void _testFindAllA(int tx)
          Test the calling of the ahome.findAll() method
static void main(java.lang.String[] args)
           
protected  void setUp()
          common setUp routine, used for every test.
static junit.framework.Test suite()
           
 void testEmpty()
          Not really a test, just to verify the checkIsInitialState() method.
 void testFindAllATxCall()
           
 void testFindAllATxNo()
           
 void testFindAllATxRb()
           
 
Methods inherited from class org.objectweb.jonas.jtests.clients.entity.A_Relation
getIntAfterDash, getStringBeforeDash
 
Methods inherited from class org.objectweb.jonas.jtests.util.JTestCase
debug, getDBEnv, random, sleep, tearDown, 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
 

Field Detail

ahome

protected static AHomeRemote ahome

bhome

protected static BHomeRemote bhome
Constructor Detail

F_Relation_s3pkcompEC2

public F_Relation_s3pkcompEC2(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

testEmpty

public void testEmpty()
               throws java.lang.Exception
Not really a test, just to verify the checkIsInitialState() method.
Overrides:
testEmpty in class JTestCase

_testFindAllA

public void _testFindAllA(int tx)
                   throws java.lang.Exception
Test the calling of the ahome.findAll() method

testFindAllATxNo

public void testFindAllATxNo()
                      throws java.lang.Exception

testFindAllATxCall

public void testFindAllATxCall()
                        throws java.lang.Exception

testFindAllATxRb

public void testFindAllATxRb()
                      throws java.lang.Exception

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)