|
|||||||||||
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.jdo.tck.JDO_Test
org.apache.jdo.tck.api.persistencemanager.fetchplan.AbstractFetchPlanTest
This class is an abstract superclass for the fetch plan tests. It contains methods useful for testing the behavior of the fetch plan.
Field Summary | |
protected java.lang.String[] |
bothGroup
|
protected java.lang.String[] |
defaultGroup
The String arrays used for setting fetch groups. |
protected PCPoint |
lowerRight
|
protected java.lang.String[] |
lowerRightGroup
|
protected java.lang.Object |
lowerRightoid
|
protected PCRect |
pcrect
|
protected java.lang.Object |
pcrectoid
|
protected PCPoint |
upperLeft
The persistent instances used in the test. |
protected java.lang.String[] |
upperLeftGroup
|
protected java.lang.Object |
upperLeftoid
The oids of the persistent instances used in the test. |
Fields inherited from class org.apache.jdo.tck.JDO_Test |
APPLICATION_IDENTITY, cleanupData, closePMFAfterEachTest, DATASTORE_IDENTITY, debug, DETACHED_CLEAN, DETACHED_DIRTY, HOLLOW, identitytype, ILLEGAL_STATE, logger, messages, NL, NUM_STATES, PERSISTENT_CLEAN, PERSISTENT_DELETED, PERSISTENT_DIRTY, PERSISTENT_NEW, PERSISTENT_NEW_DELETED, PERSISTENT_NONTRANSACTIONAL, PERSISTENT_NONTRANSACTIONAL_DIRTY, pm, pmf, PMFProperties, PMFPropertiesObject, states, testSucceeded, TRANSIENT, TRANSIENT_CLEAN, TRANSIENT_DIRTY |
Constructor Summary | |
AbstractFetchPlanTest()
|
Method Summary | |
protected void |
checkBothLoaded(java.lang.String location,
PCRect pcrect)
|
protected void |
checkGroups(java.lang.String location,
javax.jdo.FetchPlan fetchPlan,
java.lang.String[] groups)
|
protected void |
checkLowerRightLoaded(java.lang.String location,
PCRect pcrect)
|
protected void |
checkUpperLeftLoaded(java.lang.String location,
PCRect pcrect)
|
protected void |
localSetUp()
Subclasses may override this method to allocate any data and resources that they need in order to successfully execute this testcase. |
protected void |
setBothGroup()
Set the default plus both fields as the fetch group. |
protected void |
setDefaultGroup()
Set the default plus upper left field as the fetch group. |
protected void |
setLowerRightGroup()
Set the default plus lower right field as the fetch group. |
protected void |
setUpperLeftGroup()
Set the default plus upper left field as the fetch group. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, 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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected PCPoint upperLeft
protected PCPoint lowerRight
protected PCRect pcrect
protected java.lang.Object upperLeftoid
protected java.lang.Object lowerRightoid
protected java.lang.Object pcrectoid
protected java.lang.String[] defaultGroup
protected java.lang.String[] upperLeftGroup
protected java.lang.String[] lowerRightGroup
protected java.lang.String[] bothGroup
Constructor Detail |
public AbstractFetchPlanTest()
Method Detail |
protected void localSetUp()
JDO_Test
localSetUp
in class JDO_Test
JDO_Test.localSetUp()
protected void setDefaultGroup()
protected void setUpperLeftGroup()
protected void setLowerRightGroup()
protected void setBothGroup()
protected void checkBothLoaded(java.lang.String location, PCRect pcrect)
protected void checkUpperLeftLoaded(java.lang.String location, PCRect pcrect)
protected void checkLowerRightLoaded(java.lang.String location, PCRect pcrect)
protected void checkGroups(java.lang.String location, javax.jdo.FetchPlan fetchPlan, java.lang.String[] groups)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |