|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.ojb.odmg.OQLTest
Nested Class Summary | |
static class |
OQLTest.AbstractAnimal
|
static class |
OQLTest.Fish
|
static class |
OQLTest.Gourmet
|
static interface |
OQLTest.InterfaceAnimal
|
static interface |
OQLTest.InterfaceFood
|
static class |
OQLTest.Mammal
|
static class |
OQLTest.Reptile
|
static class |
OQLTest.Salad
|
class |
OQLTest.Zoo
|
Constructor Summary | |
OQLTest(java.lang.String name)
|
Method Summary | |
void |
_testFunctions()
|
void |
_testSubQuery1()
test Subquery get all articles with price > avg(price) PROBLEM: avg(price) is NOT extent aware !! test may fail if db does not support sub queries |
static void |
main(java.lang.String[] args)
|
void |
setUp()
Insert the method's description here. |
void |
tearDown()
Insert the method's description here. |
void |
testGetWithLiteral()
test the following conditions: != support literal support at binding. |
void |
testInListQuery()
|
void |
testInterfaceQuery()
|
void |
testPrefetchQuery()
|
void |
testQueryBetween()
|
void |
testQueryIn()
|
void |
testQueryNotNull()
|
void |
testQueryNull()
|
void |
testReportQueryGroupBy()
ReportQuery returning rows with summed stock and price per article group |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OQLTest(java.lang.String name)
Method Detail |
public static void main(java.lang.String[] args)
public void setUp()
public void tearDown()
public void testGetWithLiteral() throws java.lang.Exception
java.lang.Exception
public void testQueryIn() throws java.lang.Exception
java.lang.Exception
public void testQueryNull() throws java.lang.Exception
java.lang.Exception
public void testQueryNotNull() throws java.lang.Exception
java.lang.Exception
public void testQueryBetween() throws java.lang.Exception
java.lang.Exception
public void testInListQuery() throws java.lang.Exception
java.lang.Exception
public void testPrefetchQuery() throws java.lang.Exception
java.lang.Exception
public void testInterfaceQuery() throws java.lang.Exception
java.lang.Exception
public void _testFunctions() throws java.lang.Exception
java.lang.Exception
public void testReportQueryGroupBy() throws java.lang.Exception
java.lang.Exception
public void _testSubQuery1() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |