org.apache.openejb.test.entity.cmp2
Class EjbqlLocalTest

java.lang.Object
  extended by junit.framework.Assert
      extended by org.apache.openejb.test.NumberedTestCase
          extended by org.apache.openejb.test.NamedTestCase
              extended by org.apache.openejb.test.entity.cmp2.Cmp2TestClient
                  extended by org.apache.openejb.test.entity.cmp2.EjbqlLocalTest
All Implemented Interfaces:
junit.framework.Test

public class EjbqlLocalTest
extends Cmp2TestClient


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.openejb.test.NumberedTestCase
NumberedTestCase.NamedTest, NumberedTestCase.TestSetup, NumberedTestCase.TestTearDown
 
Field Summary
 
Fields inherited from class org.apache.openejb.test.entity.cmp2.Cmp2TestClient
ejbHandle, ejbHomeHandle, ejbMetaData, ejbPrimaryKey, initialContext
 
Fields inherited from class org.apache.openejb.test.NamedTestCase
testName
 
Fields inherited from class org.apache.openejb.test.NumberedTestCase
standardPrefix
 
Constructor Summary
EjbqlLocalTest()
           
 
Method Summary
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
           
 void testSelectCollectionBooleanField()
          Select a collection boolean field
 void testSelectCollectionByteField()
          Select a collection byte field
 void testSelectCollectionCharField()
          Select a collection char field
 void testSelectCollectionDoubleField()
          Select a collection double field
 void testSelectCollectionFloatField()
          Select a collection float field
 void testSelectCollectionIntField()
          Select a collection int field
 void testSelectCollectionLocalEjb()
          Select a collection local ejb
 void testSelectCollectionLongField()
          Select a collection long field
 void testSelectCollectionRemoteEjb()
          Select a collection remote ejb
 void testSelectCollectionShortField()
          Select a collection short field
 void testSelectCollectionStringField()
          Select a collection string field
 void testSelectSingleBooleanField()
          Select a single boolean field
 void testSelectSingleByteField()
          Select a single byte field
 void testSelectSingleCharField()
          Select a single char field
 void testSelectSingleDoubleField()
          Select a single double field
 void testSelectSingleFloatField()
          Select a single float field
 void testSelectSingleIntField()
          Select a single int field
 void testSelectSingleLocalEjb()
          Select a single local ejb
 void testSelectSingleLongField()
          Select a single long field
 void testSelectSingleRemoteEjb()
          Select a single remote ejb
 void testSelectSingleShortField()
          Select a single short field
 void testSelectSingleStringField()
          Select a single string field
 
Methods inherited from class org.apache.openejb.test.NamedTestCase
name
 
Methods inherited from class org.apache.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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EjbqlLocalTest

public EjbqlLocalTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: Cmp2TestClient
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides:
setUp in class Cmp2TestClient
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class Cmp2TestClient
Throws:
java.lang.Exception

testSelectSingleStringField

public void testSelectSingleStringField()
                                 throws java.lang.Exception
Select a single string field

Throws:
java.lang.Exception

testSelectSingleBooleanField

public void testSelectSingleBooleanField()
                                  throws java.lang.Exception
Select a single boolean field

Throws:
java.lang.Exception

testSelectSingleCharField

public void testSelectSingleCharField()
                               throws java.lang.Exception
Select a single char field

Throws:
java.lang.Exception

testSelectSingleByteField

public void testSelectSingleByteField()
                               throws java.lang.Exception
Select a single byte field

Throws:
java.lang.Exception

testSelectSingleShortField

public void testSelectSingleShortField()
                                throws java.lang.Exception
Select a single short field

Throws:
java.lang.Exception

testSelectSingleIntField

public void testSelectSingleIntField()
                              throws java.lang.Exception
Select a single int field

Throws:
java.lang.Exception

testSelectSingleLongField

public void testSelectSingleLongField()
                               throws java.lang.Exception
Select a single long field

Throws:
java.lang.Exception

testSelectSingleFloatField

public void testSelectSingleFloatField()
                                throws java.lang.Exception
Select a single float field

Throws:
java.lang.Exception

testSelectSingleDoubleField

public void testSelectSingleDoubleField()
                                 throws java.lang.Exception
Select a single double field

Throws:
java.lang.Exception

testSelectCollectionStringField

public void testSelectCollectionStringField()
                                     throws java.lang.Exception
Select a collection string field

Throws:
java.lang.Exception

testSelectCollectionBooleanField

public void testSelectCollectionBooleanField()
                                      throws java.lang.Exception
Select a collection boolean field

Throws:
java.lang.Exception

testSelectCollectionCharField

public void testSelectCollectionCharField()
                                   throws java.lang.Exception
Select a collection char field

Throws:
java.lang.Exception

testSelectCollectionByteField

public void testSelectCollectionByteField()
                                   throws java.lang.Exception
Select a collection byte field

Throws:
java.lang.Exception

testSelectCollectionShortField

public void testSelectCollectionShortField()
                                    throws java.lang.Exception
Select a collection short field

Throws:
java.lang.Exception

testSelectCollectionIntField

public void testSelectCollectionIntField()
                                  throws java.lang.Exception
Select a collection int field

Throws:
java.lang.Exception

testSelectCollectionLongField

public void testSelectCollectionLongField()
                                   throws java.lang.Exception
Select a collection long field

Throws:
java.lang.Exception

testSelectCollectionFloatField

public void testSelectCollectionFloatField()
                                    throws java.lang.Exception
Select a collection float field

Throws:
java.lang.Exception

testSelectCollectionDoubleField

public void testSelectCollectionDoubleField()
                                     throws java.lang.Exception
Select a collection double field

Throws:
java.lang.Exception

testSelectSingleLocalEjb

public void testSelectSingleLocalEjb()
                              throws java.lang.Exception
Select a single local ejb

Throws:
java.lang.Exception

testSelectSingleRemoteEjb

public void testSelectSingleRemoteEjb()
                               throws java.lang.Exception
Select a single remote ejb

Throws:
java.lang.Exception

testSelectCollectionLocalEjb

public void testSelectCollectionLocalEjb()
                                  throws java.lang.Exception
Select a collection local ejb

Throws:
java.lang.Exception

testSelectCollectionRemoteEjb

public void testSelectCollectionRemoteEjb()
                                   throws java.lang.Exception
Select a collection remote ejb

Throws:
java.lang.Exception


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.