|
|||||||||||
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.persistencecapable.AbstractPersistenceCapableTest
org.apache.jdo.tck.api.persistencecapable.CopyKeyFieldsFromObjectId
Title:CopyKeyFieldsFromObjectId of PersistenceCapable
Keywords: persistencecapable
Assertion IDs: A7.12-25
Assertion Description:
A7.12-25
public void jdoCopyKeyFieldsFromObjectId(ObjectIdFieldConsumer fc, Object oid);
This method copies fields to the field manager instance
from the second parameter instance.
Field Summary |
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 | |
CopyKeyFieldsFromObjectId()
|
Method Summary | |
protected void |
assertPersistenceCapable(java.lang.Object o)
|
protected boolean |
isTestToBePerformed()
Returns true if the implementation under test
supports all JDO options contained in system property
jdo.tck.requiredOptions . |
static void |
main(java.lang.String[] args)
The main is called when the class
is directly executed from the command line. |
protected java.lang.Object |
makePersistent(java.lang.Object pc)
Makes the given object persistent, adds it as tear down instance, and returns its object id. |
void |
testSingleFieldIdentitybyte()
|
void |
testSingleFieldIdentityByte()
|
void |
testSingleFieldIdentitychar()
|
void |
testSingleFieldIdentityCharacter()
|
void |
testSingleFieldIdentityDate()
|
void |
testSingleFieldIdentityint()
|
void |
testSingleFieldIdentityInteger()
|
void |
testSingleFieldIdentitylong()
|
void |
testSingleFieldIdentityLong()
|
void |
testSingleFieldIdentityshort()
|
void |
testSingleFieldIdentityShort()
|
void |
testSingleFieldIdentityString()
|
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 |
Constructor Detail |
public CopyKeyFieldsFromObjectId()
Method Detail |
public static void main(java.lang.String[] args)
main
is called when the class
is directly executed from the command line.
args
- The arguments passed to the program.public void testSingleFieldIdentitybyte()
public void testSingleFieldIdentityByte()
public void testSingleFieldIdentitychar()
public void testSingleFieldIdentityCharacter()
public void testSingleFieldIdentityint()
public void testSingleFieldIdentityInteger()
public void testSingleFieldIdentitylong()
public void testSingleFieldIdentityLong()
public void testSingleFieldIdentityshort()
public void testSingleFieldIdentityShort()
public void testSingleFieldIdentityString()
public void testSingleFieldIdentityDate()
protected java.lang.Object makePersistent(java.lang.Object pc)
pc
- the transient instance to be made persistent
protected boolean isTestToBePerformed()
JDO_Test
true
if the implementation under test
supports all JDO options contained in system property
jdo.tck.requiredOptions
.
isTestToBePerformed
in class JDO_Test
true
if the implementation under test
supports all JDO options contained in system property
jdo.tck.requiredOptions
protected void assertPersistenceCapable(java.lang.Object o)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |